summaryrefslogtreecommitdiffstats
path: root/core/java/android/provider
diff options
context:
space:
mode:
authorJon Miranda <jonmiranda@google.com>2014-08-11 12:32:26 -0700
committerJon Miranda <jonmiranda@google.com>2014-08-18 18:32:53 -0700
commit836c0a8b949d71293c996761691e065f0651acef (patch)
tree93763acf0cf757820d200e67b7e12dfb147779ad /core/java/android/provider
parentf6040e9c116e8723b3312499987c370d2e9ee7c7 (diff)
downloadframeworks_base-836c0a8b949d71293c996761691e065f0651acef.zip
frameworks_base-836c0a8b949d71293c996761691e065f0651acef.tar.gz
frameworks_base-836c0a8b949d71293c996761691e065f0651acef.tar.bz2
Exposes style and theme data, adds developer option.
Adds support for a String[] return type in ViewDebug; and in addition to that, the hasAdjacentMapping method can use the String array as means to map a key to its value. Adds DEBUG_VIEW_ATTRIBUTES to Settings so that the heavy per-view computations only affect those who opt in. This setting is used in CoreSettingsObserver to avoid impacting start time. Change-Id: I8f507e4e5361414c30d247e8d9815205feb5e91f
Diffstat (limited to 'core/java/android/provider')
-rw-r--r--core/java/android/provider/Settings.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/core/java/android/provider/Settings.java b/core/java/android/provider/Settings.java
index 20e26e6..9e0e618 100644
--- a/core/java/android/provider/Settings.java
+++ b/core/java/android/provider/Settings.java
@@ -5183,6 +5183,12 @@ public final class Settings {
public static final String ADB_ENABLED = "adb_enabled";
/**
+ * Whether Views are allowed to save their attribute data.
+ * @hide
+ */
+ public static final String DEBUG_VIEW_ATTRIBUTES = "debug_view_attributes";
+
+ /**
* Whether assisted GPS should be enabled or not.
* @hide
*/