summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhao Wei Liew <zhaoweiliew@gmail.com>2016-02-10 20:38:39 +0800
committerZhao Wei Liew <zhaoweiliew@gmail.com>2016-02-15 17:46:56 +0800
commiteb9cd783b8d255ea833c35c6a567e100c131124e (patch)
treeb5c5cda894152f54523e35839e8b9e4b293c3b4f
parentb7eb227066b4614a418fc4a2013dbe89b94e815d (diff)
flo: Enable ambient display
We don't have hardware support in the display HAL, so we are limited to just these few options. Change-Id: Ieb3ddd65fbfc0e9befbaeea22dd4f72c421401a0
-rw-r--r--overlay/frameworks/base/core/res/res/values/config.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml
index a149fee..8876333 100644
--- a/overlay/frameworks/base/core/res/res/values/config.xml
+++ b/overlay/frameworks/base/core/res/res/values/config.xml
@@ -253,6 +253,14 @@
config to 7. -->
<integer name="config_deviceHardwareWakeKeys">64</integer>
+ <!-- Enable doze mode
+ ComponentName of a dream to show whenever the system would otherwise have gone to sleep. -->
+ <string name="config_dozeComponent">com.android.systemui/com.android.systemui.doze.DozeService</string>
+
+ <!-- If true, the doze component is not started until after the screen has been turned off
+ and the screen off animation has been performed. -->
+ <bool name="config_dozeAfterScreenOff">true</bool>
+
<!-- Set this to true to enable the platform's auto-power-save modes like doze and
app standby. These are not enabled by default because they require a standard
cloud-to-device messaging service for apps to interact correctly with the modes