Loading libraries/adb/src/commands/subprocess/protocols/none.ts +3 −3 Original line number Diff line number Diff line Loading @@ -19,9 +19,9 @@ export class AdbSubprocessNoneProtocol implements AdbSubprocessProtocol { } public static async raw(adb: Adb, command: string) { // Native ADB client doesn't allow none protocol + raw mode, // But ADB daemon supports it. return new AdbSubprocessNoneProtocol(await adb.createSocket(`shell,raw:${command}`)); // `shell,raw:${command}` also triggers raw mode, // But is not supported before Android 7. return new AdbSubprocessNoneProtocol(await adb.createSocket(`exec:${command}`)); } private readonly socket: AdbSocket; Loading Loading
libraries/adb/src/commands/subprocess/protocols/none.ts +3 −3 Original line number Diff line number Diff line Loading @@ -19,9 +19,9 @@ export class AdbSubprocessNoneProtocol implements AdbSubprocessProtocol { } public static async raw(adb: Adb, command: string) { // Native ADB client doesn't allow none protocol + raw mode, // But ADB daemon supports it. return new AdbSubprocessNoneProtocol(await adb.createSocket(`shell,raw:${command}`)); // `shell,raw:${command}` also triggers raw mode, // But is not supported before Android 7. return new AdbSubprocessNoneProtocol(await adb.createSocket(`exec:${command}`)); } private readonly socket: AdbSocket; Loading