From 4b7dcd38641fe916fa287c4b3362ffe3e3fb00e6 Mon Sep 17 00:00:00 2001 From: Demon000 Date: Mon, 6 Apr 2020 16:24:03 +0200 Subject: veux: 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 --- .../frameworks/base/packages/SystemUI/res/values/config.xml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 overlay-lineage/frameworks/base/packages/SystemUI/res/values/config.xml (limited to 'overlay-lineage/frameworks') diff --git a/overlay-lineage/frameworks/base/packages/SystemUI/res/values/config.xml b/overlay-lineage/frameworks/base/packages/SystemUI/res/values/config.xml new file mode 100644 index 0000000..8785469 --- /dev/null +++ b/overlay-lineage/frameworks/base/packages/SystemUI/res/values/config.xml @@ -0,0 +1,12 @@ + + + + + + false + + -- cgit v1.2.3