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:
Patrick Baumann
2020-01-23 12:49:14 -08:00
parent 38812f345c
commit f3a0386b74

View File

@@ -2601,6 +2601,8 @@ class PackageManagerShellCommand extends ShellCommand {
case "--staged":
sessionParams.setStaged();
break;
case "--force-queryable":
break;
case "--enable-rollback":
if (params.installerPackageName == null) {
// com.android.shell has the TEST_MANAGE_ROLLBACKS