diff options
author | John Spurlock <jspurlock@google.com> | 2014-08-04 14:50:38 -0400 |
---|---|---|
committer | John Spurlock <jspurlock@google.com> | 2014-08-04 14:57:06 -0400 |
commit | a4215ceb86fbae3bcb40c4bd3b924e2b71cf50b6 (patch) | |
tree | 224e197a55532aa98abd1d3c555bc19953a4c78b /core/java/android/provider | |
parent | f6b0c2f31b5ff08358f23cd30a743a741f345a1b (diff) | |
download | frameworks_base-a4215ceb86fbae3bcb40c4bd3b924e2b71cf50b6.zip frameworks_base-a4215ceb86fbae3bcb40c4bd3b924e2b71cf50b6.tar.gz frameworks_base-a4215ceb86fbae3bcb40c4bd3b924e2b71cf50b6.tar.bz2 |
Doze: Add a user opt-out setting.
When devices are configured with a doze component, the user
now has the option of disabling doze mode with a secure setting.
Bug:16703536
Change-Id: Ieab6ee8d2acf54580b86fb16e9d77b52080fb3b1
Diffstat (limited to 'core/java/android/provider')
-rw-r--r-- | core/java/android/provider/Settings.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/core/java/android/provider/Settings.java b/core/java/android/provider/Settings.java index 5d5be4a..4b7e615 100644 --- a/core/java/android/provider/Settings.java +++ b/core/java/android/provider/Settings.java @@ -4607,6 +4607,12 @@ public final class Settings { public static final String WAKE_GESTURE_ENABLED = "wake_gesture_enabled"; /** + * Whether the device should doze if configured. + * @hide + */ + public static final String DOZE_ENABLED = "doze_enabled"; + + /** * The current night mode that has been selected by the user. Owned * and controlled by UiModeManagerService. Constants are as per * UiModeManager. |