Remove obsolete argument from help output

Forward locked installs have been deprecated for several
releases and completely removed in Q. Don't mention it in
the help output.

Bug: 139965909
Test: Manual. It builds and runs
Change-Id: I658cbf240c95772906e4f5e2f377fa5a7a2899b7
This commit is contained in:
Todd Kennedy
2019-08-26 10:10:59 -07:00
parent d9c0c15c96
commit c7616170aa

View File

@@ -3097,7 +3097,7 @@ class PackageManagerShellCommand extends ShellCommand {
pw.println(" [--user USER_ID] INTENT");
pw.println(" Prints all broadcast receivers that can handle the given INTENT.");
pw.println("");
pw.println(" install [-lrtsfdgw] [-i PACKAGE] [--user USER_ID|all|current]");
pw.println(" install [-rtsfdgw] [-i PACKAGE] [--user USER_ID|all|current]");
pw.println(" [-p INHERIT_PACKAGE] [--install-location 0/1/2]");
pw.println(" [--install-reason 0/1/2/3/4] [--originating-uri URI]");
pw.println(" [--referrer URI] [--abi ABI_NAME] [--force-sdk]");
@@ -3108,7 +3108,6 @@ class PackageManagerShellCommand extends ShellCommand {
pw.println(" [PATH|-]");
pw.println(" Install an application. Must provide the apk data to install, either as a");
pw.println(" file path or '-' to read from stdin. Options are:");
pw.println(" -l: forward lock application");
pw.println(" -R: disallow replacement of existing application");
pw.println(" -t: allow test packages");
pw.println(" -i: specify package name of installer owning the app");