summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStreetwalrus Einstein <streetwalrus@codewalr.us>2015-11-28 16:11:29 +0200
committerGerrit Code Review <gerrit@cyanogenmod.org>2016-01-04 11:25:01 -0800
commit96c0a85631b6b65938739e4251504e49c8bf813c (patch)
treeede5d9b680bd9b39413a3c3d7edef0e1fe10ef9a
parent42fc97444e33fba2ea7c0b2d489a990b6b213d87 (diff)
mako: enable doze mode
Change-Id: Ib98b8e6f5ba4c7ac33cc581ff2dc7b919e1f96fc
-rw-r--r--overlay/frameworks/base/core/res/res/values/config.xml9
1 files changed, 9 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 20c5f8e..6c68c1d 100644
--- a/overlay/frameworks/base/core/res/res/values/config.xml
+++ b/overlay/frameworks/base/core/res/res/values/config.xml
@@ -312,4 +312,13 @@
<integer name="config_multiuserMaximumUsers">4</integer>
<!-- Whether Multiuser UI should be shown -->
<bool name="config_enableMultiUserUI">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
+ (such as to be able to deliver an instant message to the device even when it is
+ dozing). This should be enabled if you have such services and expect apps to
+ correctly use them when installed on your device. Otherwise, keep this disabled
+ so that applications can still use their own mechanisms. -->
+ <bool name="config_enableAutoPowerModes">true</bool>
</resources>