summaryrefslogtreecommitdiffstats
path: root/cmds/pm
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2009-05-08 12:06:44 -0700
committerDianne Hackborn <hackbod@google.com>2009-05-08 15:15:36 -0700
commit851a54143c15a1c33361efae2db3f7f45059b472 (patch)
treec9e6ced5424530ff9a40f5471afb969e15cac35e /cmds/pm
parented3b804f2cc61029cf2969cbfa499ea230c22bb0 (diff)
downloadframeworks_base-851a54143c15a1c33361efae2db3f7f45059b472.zip
frameworks_base-851a54143c15a1c33361efae2db3f7f45059b472.tar.gz
frameworks_base-851a54143c15a1c33361efae2db3f7f45059b472.tar.bz2
Implement targetSdkVersion and maxSdkVersion, plus version code names.
This adds new attributes for specifying a targetSdkVersion and maxSdkVersion. There is a new ApplicationInfo flag that is set if the application has set its targetSdkVersion to the current platform or later. Also you can now use a string for minSdkVersion and targetSdkVerion, to indicate you are building against a development tree instead of an official platform.
Diffstat (limited to 'cmds/pm')
-rw-r--r--cmds/pm/src/com/android/commands/pm/Pm.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmds/pm/src/com/android/commands/pm/Pm.java b/cmds/pm/src/com/android/commands/pm/Pm.java
index 161bb46..04e69e3 100644
--- a/cmds/pm/src/com/android/commands/pm/Pm.java
+++ b/cmds/pm/src/com/android/commands/pm/Pm.java
@@ -537,6 +537,9 @@ public final class Pm {
case PackageManager.INSTALL_FAILED_CONFLICTING_PROVIDER:
s = "INSTALL_FAILED_CONFLICTING_PROVIDER";
break;
+ case PackageManager.INSTALL_FAILED_NEWER_SDK:
+ s = "INSTALL_FAILED_NEWER_SDK";
+ break;
case PackageManager.INSTALL_PARSE_FAILED_NOT_APK:
s = "INSTALL_PARSE_FAILED_NOT_APK";
break;