Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 264700a3 authored by Patrick Baumann's avatar Patrick Baumann
Browse files

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 f3a0386b)

Change-Id: I758270b8fd18756d02eff4f18f1e450cbc3367cc
parent e464d16f
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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