Only debuggable packages can be downgraded.

This reflects the change in PackageManager service:
frameworks/base commit 921dd754ab.

Bug: 27327503
Change-Id: Ic13788a3850c4d1a3a566b208853de9a6d2c5237
This commit is contained in:
Alex Klyubin
2016-02-24 16:52:01 -08:00
parent f8fb6d1261
commit 88b42855c9

View File

@@ -1490,7 +1490,7 @@ public final class Pm {
System.err.println(" -i: specify the installer package name");
System.err.println(" -s: install application on sdcard");
System.err.println(" -f: install application on internal flash");
System.err.println(" -d: allow version code downgrade");
System.err.println(" -d: allow version code downgrade (debuggable packages only)");
System.err.println(" -p: partial application install");
System.err.println(" -g: grant all runtime permissions");
System.err.println(" -S: size in bytes of entire session");