diff options
author | Robin Lee <rgl@google.com> | 2018-12-11 11:37:28 +0100 |
---|---|---|
committer | Robin Lee <rgl@google.com> | 2018-12-11 14:28:15 +0100 |
commit | a436f5c692b30d61a122a13bb6bbae5eeae16055 (patch) | |
tree | 9b73249e688442a1889cfc395ca364417b588760 | |
parent | 24eaf6c357d3434570d59da9782316605095c9d0 (diff) | |
download | atv-a436f5c692b30d61a122a13bb6bbae5eeae16055.tar.gz |
Enable Doze mode on Android TV by default.
Bug: 111443261
Test: lunch elfin-userdebug; make -j; fastboot flashall -w
Change-Id: I5bc29859ef3c49e23b15f20c710e5e67392d8739
-rw-r--r-- | overlay/frameworks/base/core/res/res/values/config.xml | 4 |
1 files changed, 4 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 b73fa4a..e85e8b0 100644 --- a/overlay/frameworks/base/core/res/res/values/config.xml +++ b/overlay/frameworks/base/core/res/res/values/config.xml @@ -106,4 +106,8 @@ <string-array translatable="false" name="config_allowedManagedServicesOnLowRamDevices"> <item>com.google.android.tvrecommendations</item> </string-array> + + <!-- Enable doze mode --> + <bool name="config_enableAutoPowerModes">true</bool> + <bool name="config_autoPowerModeUseMotionSensor">false</bool> </resources> |