summaryrefslogtreecommitdiff
path: root/core/java
diff options
context:
space:
mode:
authorJerome Poichet <jpoichet@google.com>2014-05-14 12:04:43 -0700
committerJerome Poichet <jpoichet@google.com>2014-05-14 15:50:46 -0700
commit7974cb36aeaf710304d7027d36e6b7d789e85a67 (patch)
tree25dd04f585227ec31d16bb3d350b422b940d8211 /core/java
parent9e317da9364bae6a7d40c94cd46748b2255c7e1e (diff)
Adding Activity Action entry
In L we're bringing the notion of a device name, which centralizes a concept that has been used in different part of the system already (bluetooth and WifiP2p among others) The settings entry has already been created, but there is no centralized UI for setting the name yet. This CL would define the activity action that would have to be implemented to set the device name. b/14970370 - Global Device Name Change-Id: I6876e4ca1ad887fdea1bc88890ddfad547145011
Diffstat (limited to 'core/java')
-rw-r--r--core/java/android/provider/Settings.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/core/java/android/provider/Settings.java b/core/java/android/provider/Settings.java
index 3cf51b4c88ba..977a14b315b8 100644
--- a/core/java/android/provider/Settings.java
+++ b/core/java/android/provider/Settings.java
@@ -769,6 +769,17 @@ public final class Settings {
public static final String
ACTION_SHOW_REGULATORY_INFO = "android.settings.SHOW_REGULATORY_INFO";
+ /**
+ * Activity Action: Show Device Name Settings.
+ * <p>
+ * In some cases, a matching Activity may not exist, so ensure you safeguard
+ * against ithis.
+ *
+ * @hide
+ */
+ @SdkConstant(SdkConstantType.ACTIVITY_INTENT_ACTION)
+ public static final String DEVICE_NAME_SETTINGS = "android.settings.DEVICE_NAME";
+
// End of Intent actions for Settings
/**