summaryrefslogtreecommitdiffstats
path: root/core/java/android/provider/Settings.java
diff options
context:
space:
mode:
authorJerome Poichet <jpoichet@google.com>2014-05-12 18:13:27 -0700
committerJerome Poichet <jpoichet@google.com>2014-05-13 12:06:52 -0700
commit147b4d75e1d4ca795d45ffe51d83efd19a754cf2 (patch)
treed9a39dd8ef4b4c3ca407a7bb59b190c0d5e386b6 /core/java/android/provider/Settings.java
parent4cf7965767e102e6f5a20437c58cc56619da10ff (diff)
downloadframeworks_base-147b4d75e1d4ca795d45ffe51d83efd19a754cf2.zip
frameworks_base-147b4d75e1d4ca795d45ffe51d83efd19a754cf2.tar.gz
frameworks_base-147b4d75e1d4ca795d45ffe51d83efd19a754cf2.tar.bz2
Adding device name
A new global settings to name a device. This will centralize the notion of device name/nickname and should be used by Cast, Bluetooth, TV Remote and other advertising applications/services. Change-Id: I2294deb5c0d1002fb2fc158f62a2d5643d90d749
Diffstat (limited to 'core/java/android/provider/Settings.java')
-rw-r--r--core/java/android/provider/Settings.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/core/java/android/provider/Settings.java b/core/java/android/provider/Settings.java
index e1fd46e..3cf51b4 100644
--- a/core/java/android/provider/Settings.java
+++ b/core/java/android/provider/Settings.java
@@ -6147,6 +6147,13 @@ public final class Settings {
/** @hide */ public static final int HEADS_UP_ON = 1;
/**
+ * The name of the device
+ *
+ * @hide
+ */
+ public static final String DEVICE_NAME = "device_name";
+
+ /**
* Settings to backup. This is here so that it's in the same place as the settings
* keys and easy to update.
*