mirror of
https://github.com/yume-chan/ya-webadb.git
synced 2025-10-03 09:49:24 +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;
|
#am: ActivityManager;
|
||||||
#settings: Settings;
|
#settings: Settings;
|
||||||
|
|
||||||
constructor(adb: Adb) {
|
constructor(adb: Adb, apiLevel?: number) {
|
||||||
super(adb);
|
super(adb);
|
||||||
this.#am = new ActivityManager(adb);
|
this.#am = new ActivityManager(adb, apiLevel);
|
||||||
this.#settings = new Settings(adb);
|
this.#settings = new Settings(adb);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue