feat(adb): support delayed ack

This commit is contained in:
Simon Chan 2024-02-01 23:04:21 +08:00
parent 59d78dae20
commit ac6dc1e57c
No known key found for this signature in database
GPG key ID: A8B69F750B9BCEDD
9 changed files with 267 additions and 61 deletions

View file

@ -35,10 +35,10 @@ export class Cmd extends AdbCommandBase {
constructor(adb: Adb) {
super(adb);
this.#supportsShellV2 = adb.supportsFeature(AdbFeature.ShellV2);
this.#supportsCmd = adb.supportsFeature(AdbFeature.Cmd);
this.#supportsAbb = adb.supportsFeature(AdbFeature.Abb);
this.#supportsAbbExec = adb.supportsFeature(AdbFeature.AbbExec);
this.#supportsShellV2 = adb.canUseFeature(AdbFeature.ShellV2);
this.#supportsCmd = adb.canUseFeature(AdbFeature.Cmd);
this.#supportsAbb = adb.canUseFeature(AdbFeature.Abb);
this.#supportsAbbExec = adb.canUseFeature(AdbFeature.AbbExec);
}
async spawn(