DO NOT MERGE: Adds --force-queryable option to adb install
This change adds support for parsing the --force-queryable option from adb install. When implemented will enable test infrastructure to bypass most issues that would be encountered by app enumeration without changes. Bug: 142386643 Test: run `adb install --force-queryable ...` Change-Id: I0b14de9c5fddc60f30868e60ea71151e8da9e413
This commit is contained in:
@@ -2601,6 +2601,8 @@ class PackageManagerShellCommand extends ShellCommand {
|
|||||||
case "--staged":
|
case "--staged":
|
||||||
sessionParams.setStaged();
|
sessionParams.setStaged();
|
||||||
break;
|
break;
|
||||||
|
case "--force-queryable":
|
||||||
|
break;
|
||||||
case "--enable-rollback":
|
case "--enable-rollback":
|
||||||
if (params.installerPackageName == null) {
|
if (params.installerPackageName == null) {
|
||||||
// com.android.shell has the TEST_MANAGE_ROLLBACKS
|
// com.android.shell has the TEST_MANAGE_ROLLBACKS
|
||||||
|
|||||||
Reference in New Issue
Block a user