mirror of
https://github.com/yume-chan/ya-webadb.git
synced 2025-10-03 01:39:21 +02:00
fix(bin): let DemoMode pass apiLevel to ActivityManager
This commit is contained in:
parent
f596807df1
commit
d938ce0bbd
1 changed files with 2 additions and 2 deletions
|
@ -56,9 +56,9 @@ export class DemoMode extends AdbServiceBase {
|
|||
#am: ActivityManager;
|
||||
#settings: Settings;
|
||||
|
||||
constructor(adb: Adb) {
|
||||
constructor(adb: Adb, apiLevel?: number) {
|
||||
super(adb);
|
||||
this.#am = new ActivityManager(adb);
|
||||
this.#am = new ActivityManager(adb, apiLevel);
|
||||
this.#settings = new Settings(adb);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue