Skip to content
Snippets Groups Projects
Commit 52dc9e5d authored by Demon000's avatar Demon000 Committed by FlowerSea0208
Browse files

mars: overlay-lineage: Disable proximity usage during doze

When the proximity sensor is in use, the smp2p_sleepstate
IRQ is fired multiple times a second, with each one
holding a 200ms wakelock. This is probably a bug in the
DSP firmware. To fix this, avoid using the proximity sensor
in doze mode, because sleep is preferred to turning off the
screen.

Change-Id: I5c54643b3d6d6ea4e5f847870a5266bb96342583
parent 5a038ea4
No related branches found
No related tags found
No related merge requests found
...@@ -13,4 +13,7 @@ ...@@ -13,4 +13,7 @@
1 - LOCAL HBM 1 - LOCAL HBM
--> -->
<integer name="config_udfpsHbmType">1</integer> <integer name="config_udfpsHbmType">1</integer>
<!-- Whether usage of the proximity sensor during doze is supported -->
<bool name="doze_proximity_sensor_supported">false</bool>
</resources> </resources>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment