OSDN Git Service

Add android.provider.Settings.ACTION_DEVICE_INFO_SETTINGS.
authorDaniel Sandler <dsandler@google.com>
Sat, 23 Jan 2010 01:50:15 +0000 (20:50 -0500)
committerDaniel Sandler <dsandler@google.com>
Tue, 26 Jan 2010 14:59:35 +0000 (09:59 -0500)
Maps to "android.settings.DEVICE_INFO_SETTINGS", which
launches the DeviceInfoSettings activity in Settings.

api/current.xml
core/java/android/provider/Settings.java

index 00213d6..03e20fa 100644 (file)
  visibility="public"
 >
 </field>
+<field name="ACTION_DEVICE_INFO_SETTINGS"
+ type="java.lang.String"
+ transient="false"
+ volatile="false"
+ value="&quot;android.settings.DEVICE_INFO_SETTINGS&quot;"
+ static="true"
+ final="true"
+ deprecated="not deprecated"
+ visibility="public"
+>
+</field>
 <field name="ACTION_DISPLAY_SETTINGS"
  type="java.lang.String"
  transient="false"
index dc40113..8172ac4 100644 (file)
@@ -450,6 +450,21 @@ public final class Settings {
     public static final String ACTION_SEARCH_SETTINGS =
         "android.search.action.SEARCH_SETTINGS";
 
+    /**
+     * Activity Action: Show general device information settings (serial
+     * number, software version, phone number, etc.).
+     * <p>
+     * In some cases, a matching Activity may not exist, so ensure you
+     * safeguard against this.
+     * <p>
+     * Input: Nothing.
+     * <p>
+     * Output: Nothing
+     */
+    @SdkConstant(SdkConstantType.ACTIVITY_INTENT_ACTION)
+    public static final String ACTION_DEVICE_INFO_SETTINGS =
+        "android.settings.DEVICE_INFO_SETTINGS";
+
     // End of Intent actions for Settings
 
     private static final String JID_RESOURCE_PREFIX = "android";