feat(adb): support ls_v2 and fixed_push_mkdir features

This commit is contained in:
Simon Chan 2022-04-22 23:50:42 +08:00
parent 90b0a82d92
commit 5f1fa1192d
No known key found for this signature in database
GPG key ID: A8B69F750B9BCEDD
14 changed files with 216 additions and 53 deletions

View file

@ -78,12 +78,12 @@ export class Adb {
try {
// https://android.googlesource.com/platform/packages/modules/adb/+/79010dc6d5ca7490c493df800d4421730f5466ca/transport.cpp#1252
// There are more feature constants, but some of them are only used by ADB server, not devices.
// There are some other feature constants, but some of them are only used by ADB server, not devices.
const features = [
'shell_v2',
'cmd',
AdbFeatures.ShellV2,
AdbFeatures.Cmd,
AdbFeatures.StatV2,
'ls_v2',
AdbFeatures.ListV2,
'fixed_push_mkdir',
'apex',
'abb',