From a4215ceb86fbae3bcb40c4bd3b924e2b71cf50b6 Mon Sep 17 00:00:00 2001 From: John Spurlock Date: Mon, 4 Aug 2014 14:50:38 -0400 Subject: 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 --- 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 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. -- cgit v1.1