diff options
author | Demon000 <demonsingur@gmail.com> | 2020-04-06 16:24:03 +0200 |
---|---|---|
committer | Ramii Ahmed <ramy@ahmedramy.com> | 2022-05-23 17:19:28 +0000 |
commit | 4b7dcd38641fe916fa287c4b3362ffe3e3fb00e6 (patch) | |
tree | 5142c84a5b1503e614ea2f0a8914c56076076efb /overlay-lineage/frameworks/base/packages/SystemUI/res/values | |
parent | 1d3f0e77ce0ee0e0af683540c10da9dab99cf7f7 (diff) |
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
Diffstat (limited to 'overlay-lineage/frameworks/base/packages/SystemUI/res/values')
-rw-r--r-- | overlay-lineage/frameworks/base/packages/SystemUI/res/values/config.xml | 12 |
1 files changed, 12 insertions, 0 deletions
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 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (C) 2021 The LineageOS Project + + SPDX-License-Identifier: Apache-2.0 +--> +<resources> + + <!-- Whether usage of the proximity sensor during doze is supported --> + <bool name="doze_proximity_sensor_supported">false</bool> + +</resources> |