aboutsummaryrefslogtreecommitdiffstats
path: root/eclipse
diff options
context:
space:
mode:
authorTor Norbye <tnorbye@google.com>2012-10-29 10:07:07 -0700
committerTor Norbye <tnorbye@google.com>2012-11-05 10:10:15 -0800
commit3c0791b9e5e0e85f19becd991bd8b7823871d575 (patch)
tree1f13460f533d34eed5a712a3d456cf826ae34f88 /eclipse
parent9d4d9820022556b4e41fbb93bdf4d9b0e478481a (diff)
downloadsdk-3c0791b9e5e0e85f19becd991bd8b7823871d575.zip
sdk-3c0791b9e5e0e85f19becd991bd8b7823871d575.tar.gz
sdk-3c0791b9e5e0e85f19becd991bd8b7823871d575.tar.bz2
Update known version names constants
Change-Id: Ib6b09a1ff85c45b4fc6c407e3404a8a58c6f84ea
Diffstat (limited to 'eclipse')
-rw-r--r--eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/AdtUtils.java4
-rw-r--r--eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/testdata/manifest-expected-completion69.txt1
2 files changed, 4 insertions, 1 deletions
diff --git a/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/AdtUtils.java b/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/AdtUtils.java
index e45e68e..af42989 100644
--- a/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/AdtUtils.java
+++ b/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/AdtUtils.java
@@ -840,8 +840,9 @@ public class AdtUtils {
case 14: return "ICE_CREAM_SANDWICH"; //$NON-NLS-1$
case 15: return "ICE_CREAM_SANDWICH_MR1"; //$NON-NLS-1$
case 16: return "JELLY_BEAN"; //$NON-NLS-1$
+ case 17: return "JELLY_BEAN_MR1"; //$NON-NLS-1$
// If you add more versions here, also update #getAndroidName and
- // LintConstants#HIGHEST_KNOWN_API
+ // SdkConstants#HIGHEST_KNOWN_API
}
return null;
@@ -990,6 +991,7 @@ public class AdtUtils {
case 14: return "API 14: Android 4.0 (IceCreamSandwich)";
case 15: return "API 15: Android 4.0.3 (IceCreamSandwich)";
case 16: return "API 16: Android 4.1 (Jelly Bean)";
+ case 17: return "API 17: Android 4.2 (Jelly Bean)";
// If you add more versions here, also update #getBuildCodes and
// SdkConstants#HIGHEST_KNOWN_API
diff --git a/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/testdata/manifest-expected-completion69.txt b/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/testdata/manifest-expected-completion69.txt
index 0cc2abe..1cd2f93 100644
--- a/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/testdata/manifest-expected-completion69.txt
+++ b/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/testdata/manifest-expected-completion69.txt
@@ -1,4 +1,5 @@
Code completion in manifest.xml for <uses-sdk android:minSdkVersion="^11" />:
+17 : API 17: Android 4.2 (Jelly Bean)
16 : API 16: Android 4.1 (Jelly Bean)
15 : API 15: Android 4.0.3 (IceCreamSandwich)
14 : API 14: Android 4.0 (IceCreamSandwich)