davinci: overlay: Enable suspend when screen off due to proximity

Change-Id: I693a9ed7a86a9026b4319d22476431d7d99207b7
This commit is contained in:
Arian
2020-04-30 18:43:17 +02:00
parent e0b46fcb33
commit 7717128b72

View File

@@ -204,6 +204,13 @@
<integer name="config_autoBrightnessBrighteningLightDebounce">1000</integer>
<integer name="config_autoBrightnessDarkeningLightDebounce">2000</integer>
<!-- Indicate whether to allow the device to suspend when the screen is off
due to the proximity sensor. This resource should only be set to true
if the sensor HAL correctly handles the proximity sensor as a wake-up source.
Otherwise, the device may fail to wake out of suspend reliably.
The default is false. -->
<bool name="config_suspendWhenScreenOffDueToProximity">true</bool>
<!-- Control whether the always on display mode is available. This should only be enabled on
devices where the display has been tuned to be power efficient in DOZE and/or DOZE_SUSPEND
states. -->