sm6250-common: overlay: decouple interactive mode from display

This commit is contained in:
Demon000 2020-07-11 17:31:04 +03:00
parent 07c1c93f5c
commit 3c193c1865

View File

@ -141,4 +141,23 @@
<item>"0,1"</item>
<item>"7,1"</item>
</string-array>
<!-- Power Management: Specifies whether to decouple the interactive state of the
device from the display on/off state.
When false, setInteractive(..., true) will be called before the display is turned on
and setInteractive(..., false) will be called after the display is turned off.
This mode provides best compatibility for devices that expect the interactive
state to be tied to the display state.
When true, setInteractive(...) will be called independently of whether the display
is being turned on or off. This mode enables the power manager to reduce
clocks and disable the touch controller while the display is on.
This resource should be set to "true" when a doze component has been specified
to maximize power savings but not all devices support it.
Refer to power.h for details.
-->
<bool name="config_powerDecoupleInteractiveModeFromDisplay">false</bool>
</resources>