Merge "--apex implies --staged."

This commit is contained in:
Dario Freni
2019-01-09 10:54:01 +00:00
committed by Android (Google) Code Review

View File

@@ -2293,9 +2293,7 @@ class PackageManagerShellCommand extends ShellCommand {
break;
case "--apex":
sessionParams.installFlags |= PackageManager.INSTALL_APEX;
// TODO(b/118865310): APEX packages should always imply
// sessionParams.isStaged(). Enforce this when the staged
// install workflow is complete.
sessionParams.setStaged();
break;
case "--multi-package":
sessionParams.setMultiPackage();