Decouple auto-suspend and interactive from display on/off
Without decoupling, PowerManagerService prevents system from going to
suspend when display is in AOD.
Bug: 180896425
Change-Id: I256fddd1bb173b047b4d0d6e03e7cc9ffb50e13d
diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml
index 1e2628a..69938fd 100644
--- a/overlay/frameworks/base/core/res/res/values/config.xml
+++ b/overlay/frameworks/base/core/res/res/values/config.xml
@@ -93,6 +93,12 @@
<!-- Disable AOD by default -->
<bool name="config_dozeAlwaysOnEnabled">false</bool>
+ <!-- Specifies whether to decouple the auto-suspend state of the device from the display on/off state. -->
+ <bool name="config_powerDecoupleAutoSuspendModeFromDisplay">true</bool>
+
+ <!-- Specifies whether to decouple the interactive state of the device from the display on/off state. -->
+ <bool name="config_powerDecoupleInteractiveModeFromDisplay">true</bool>
+
<!-- Radius of the software rounded corners. -->
<dimen name="rounded_corner_radius">157px</dimen>