summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Haamel <haamel@google.com>2010-02-22 22:25:33 +0100
committerTobias Haamel <haamel@google.com>2010-02-22 22:27:41 +0100
commit29274dc363229a3a4f18c7341f90bd04e39c2c07 (patch)
tree23e8796bc12bdbaa7ac519da38f87ef2e8aee67f
parentb09cc2cde25d02f668b8bc2115a9479425f48703 (diff)
downloadframeworks_base-29274dc363229a3a4f18c7341f90bd04e39c2c07.zip
frameworks_base-29274dc363229a3a4f18c7341f90bd04e39c2c07.tar.gz
frameworks_base-29274dc363229a3a4f18c7341f90bd04e39c2c07.tar.bz2
Also fix the API description file after UI_MODE_SERVICE rename.
-rw-r--r--api/current.xml4
-rw-r--r--core/java/android/app/UiModeManager.java2
2 files changed, 3 insertions, 3 deletions
diff --git a/api/current.xml b/api/current.xml
index 7c0f4da..2729ff4 100644
--- a/api/current.xml
+++ b/api/current.xml
@@ -23748,7 +23748,7 @@
>
<parameter name="parcel" type="android.os.Parcel">
</parameter>
-<parameter name="flagz" type="int">
+<parameter name="flags" type="int">
</parameter>
</method>
<field name="CREATOR"
@@ -34626,7 +34626,7 @@
visibility="public"
>
</field>
-<field name="UIMODE_SERVICE"
+<field name="UI_MODE_SERVICE"
type="java.lang.String"
transient="false"
volatile="false"
diff --git a/core/java/android/app/UiModeManager.java b/core/java/android/app/UiModeManager.java
index eea9257..aca8ab4 100644
--- a/core/java/android/app/UiModeManager.java
+++ b/core/java/android/app/UiModeManager.java
@@ -12,7 +12,7 @@ import android.util.Log;
*
* <p>You do not instantiate this class directly; instead, retrieve it through
* {@link android.content.Context#getSystemService
- * Context.getSystemService(Context.UIMODE_SERVICE)}.
+ * Context.getSystemService(Context.UI_MODE_SERVICE)}.
*/
public class UiModeManager {
private static final String TAG = "UiModeManager";