summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Dianne Hackborn <hackbod@google.com> 2011-03-17 18:34:48 -0700
committer Dianne Hackborn <hackbod@google.com> 2011-03-17 18:34:48 -0700
commitedf1fc6ce642c8d0f675795635d223b26d9f825c (patch)
tree6c6fe44bace79b645e4fd663e8a682f91a014f16
parent5dbd0978cd7f2d3ff1e28bbfdef2f757de28e1bc (diff)
Whoops, forgot the HONEYCOMB_MR1 constant. :(
It shouldn't be a problem to put this in -- it is a static final so it doesn't actually need to be in the on-device system image. This is important for the SDK. Change-Id: Iaa086247d0d65fe708c40fbab506aa60cd3e1396
-rw-r--r--api/current.xml11
-rw-r--r--core/java/android/os/Build.java9
2 files changed, 18 insertions, 2 deletions
diff --git a/api/current.xml b/api/current.xml
index 8c5d4fc569b7..b8b11fe91fc8 100644
--- a/api/current.xml
+++ b/api/current.xml
@@ -143854,6 +143854,17 @@
visibility="public"
>
</field>
+<field name="HONEYCOMB_MR1"
+ type="int"
+ transient="false"
+ volatile="false"
+ value="12"
+ static="true"
+ final="true"
+ deprecated="not deprecated"
+ visibility="public"
+>
+</field>
</class>
<class name="Bundle"
extends="java.lang.Object"
diff --git a/core/java/android/os/Build.java b/core/java/android/os/Build.java
index 8d2607a435f0..3bb082100444 100644
--- a/core/java/android/os/Build.java
+++ b/core/java/android/os/Build.java
@@ -202,12 +202,12 @@ public class Build {
public static final int GINGERBREAD = 9;
/**
- * Almost newest version of Android, version 2.3.3.
+ * February 2011: Android 2.3.3.
*/
public static final int GINGERBREAD_MR1 = 10;
/**
- * Newest version of Android, version 3.0.
+ * February 2011: Android 3.0.
*
* <p>Applications targeting this or a later release will get these
* new changes in behavior:</p>
@@ -225,6 +225,11 @@ public class Build {
* </ul>
*/
public static final int HONEYCOMB = 11;
+
+ /**
+ * Newest version of Android, version 3.1.
+ */
+ public static final int HONEYCOMB_MR1 = 12;
}
/** The type of build, like "user" or "eng". */