diff options
author | xkeita <keita_nya@live.jp> | 2017-05-27 03:34:32 +0000 |
---|---|---|
committer | Max Weffers <rcstar6696@gmail.com> | 2017-06-13 18:10:50 +0000 |
commit | fcaea08edd6e28f8bbb700b923c0a1de23450a6a (patch) | |
tree | eb25f4dff3087886fac64e51341a3522a938e786 /overlay | |
parent | 0db6d2bd9f149f84f0df55cbff731a837284996f (diff) |
shinano-common: Enable Ambient Display
Enable Ambient Display option (this is enabled on Nexus 5 too) for
users so they can decide what's better for them same as in LOS
hammerhead.
Change-Id: I2e8f4bc1688f8e43a3e505c9651d63624bf7f281
Diffstat (limited to 'overlay')
-rw-r--r-- | overlay/frameworks/base/core/res/res/values/config.xml | 45 |
1 files changed, 45 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 2d0519d..5ba61f6 100644 --- a/overlay/frameworks/base/core/res/res/values/config.xml +++ b/overlay/frameworks/base/core/res/res/values/config.xml @@ -30,4 +30,49 @@ <!-- Enable blur support --> <bool name="config_uiBlurEnabled">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() + to put the display into a low power state and allow the application processor + to be suspended. When the dream ends, the system will go to sleep as usual. + Specify the component name or an empty string if none. + Note that doze dreams are not subject to the same start conditions as ordinary dreams. + Doze dreams will run whenever the power manager is in a dozing state. --> + <string name="config_dozeComponent">com.android.systemui/com.android.systemui.doze.DozeService</string> + + <!-- If true, the doze component is not started until after the screen has been + turned off and the screen off animation has been performed. --> + <bool name="config_dozeAfterScreenOff">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> + </resources> |