aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorceltare21 <celtare21@gmail.com>2019-08-22 14:43:51 +0000
committerceltare21 <celtare21@gmail.com>2019-08-24 12:39:06 +0000
commitb193114b187e4b7ca7a9f432d6f3aea626b3bf33 (patch)
tree20e002cffd8714ac1efa5eee776472c8e929e769
parentee246d8d554bc51262d99edc5856622ca0014d2e (diff)
mata: overlay: Enable config_enableAutoPowerModes
Signed-off-by: celtare21 <celtare21@gmail.com>
-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 7f810744..10ca94f2 100644
--- a/overlay/frameworks/base/core/res/res/values/config.xml
+++ b/overlay/frameworks/base/core/res/res/values/config.xml
@@ -517,4 +517,13 @@
<!-- Specify custom blanking delay of the display -->
<integer name="config_screen_off_delay">0</integer>
+ <!-- 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>