diff options
| author | 2016-02-24 16:52:01 -0800 | |
|---|---|---|
| committer | 2016-02-24 16:52:01 -0800 | |
| commit | 88b42855c95779fd6f0817bc2ee9ff5e49f1b37e (patch) | |
| tree | 4c8b772893abca6e95597449fc9af14a2b1ecb7d | |
| parent | f8fb6d1261dd7ee4ee5342766f0f12e1b31080b2 (diff) | |
Only debuggable packages can be downgraded.
This reflects the change in PackageManager service:
frameworks/base commit 921dd754ab49df0cd580ff96503f7616c4c85f4a.
Bug: 27327503
Change-Id: Ic13788a3850c4d1a3a566b208853de9a6d2c5237
| -rw-r--r-- | cmds/pm/src/com/android/commands/pm/Pm.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds/pm/src/com/android/commands/pm/Pm.java b/cmds/pm/src/com/android/commands/pm/Pm.java index 24449d43b350..4025553b7674 100644 --- a/cmds/pm/src/com/android/commands/pm/Pm.java +++ b/cmds/pm/src/com/android/commands/pm/Pm.java @@ -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"); |