aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjrior001 <jriordan001@gmail.com>2016-11-20 09:17:12 -0500
committerJason Riordan <jriordan001@gmail.com>2016-11-25 19:00:24 -0800
commit87e899a4b442ce9899d0f4679ac99004ae6afd09 (patch)
tree548a55e0877d0db4a5b59c3a1c4b50478517f25f
parent33567f5f1ef8419db92efde36f491cb2f9cb8f3d (diff)
mofd: update ambinet display configs
Change-Id: Id7d7d33268419fa95cec29403547cc82b7f8def0
-rw-r--r--overlay/frameworks/base/core/res/res/values/config.xml31
1 files changed, 31 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 a82d54f..93a3177 100644
--- a/overlay/frameworks/base/core/res/res/values/config.xml
+++ b/overlay/frameworks/base/core/res/res/values/config.xml
@@ -378,6 +378,37 @@
PDP_FAIL_REGULAR_DEACTIVATION/0x24 -->
<bool name="config_restart_radio_on_pdp_fail_regular_deactivation">true</bool>
+ <!-- Power Management: Specifies whether to decouple the auto-suspend state of the
+ device from the display on/off state.
+ When false, autosuspend_disable() will be called before the display is turned on
+ and autosuspend_enable() will be called after the display is turned off.
+ This mode provides best compatibility for devices using legacy power management
+ features such as early suspend / late resume.
+ When true, autosuspend_display() and autosuspend_enable() will be called
+ independently of whether the display is being turned on or off. This mode
+ enables the power manager to suspend the application processor 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 autosuspend.h for details.
+ -->
+ <bool name="config_powerDecoupleAutoSuspendModeFromDisplay">true</bool>
+
+ <!-- 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">true</bool>
+
<!-- ComponentName of a dream to show whenever the system would otherwise have
gone to sleep. When the PowerManager is asked to go to sleep, it will instead
try to start this dream if possible. The dream should typically call startDozing()