From 836c0a8b949d71293c996761691e065f0651acef Mon Sep 17 00:00:00 2001 From: Jon Miranda Date: Mon, 11 Aug 2014 12:32:26 -0700 Subject: 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 --- core/java/android/provider/Settings.java | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'core/java/android/provider') 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 */ -- cgit v1.1