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 ...`
Merged-In: Id793ac39a4dfb022fc5e4c0c1230a3da77bf41c6
(cherry picked from commit f3a0386b74)
Change-Id: I758270b8fd18756d02eff4f18f1e450cbc3367cc
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user