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: If2eeaaebb3137bbfe9ba71f47e8b1efdcff14197
This commit is contained in:
Adrian Salido 2021-04-05 18:52:41 +00:00
parent aeaf942d49
commit 2aaf5916ce

View file

@ -90,6 +90,12 @@
<!-- Disable AOD by default --> <!-- Disable AOD by default -->
<bool name="config_dozeAlwaysOnEnabled">false</bool> <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. --> <!-- Radius of the software rounded corners. -->
<dimen name="rounded_corner_radius">157px</dimen> <dimen name="rounded_corner_radius">157px</dimen>