Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 78386ab1 authored by Beverly's avatar Beverly Committed by Beverly Tai
Browse files

AOD: selectively register sensors that use prox

Allow some devices to only register sensors that use prox when
the display state is off or in doze on certain devices to
avoid white prox dot behind display.

The delay shouldn't be perceptible - when the device isn't in low-power
mode yet, we rely on regular touch from the display.

Test: manual, atest DozeSensorsTest, atest DozeTriggersTests
Fixes: 181835575
Change-Id: Ib62ed0ca3150e0a3939c8d9f0c5ae700fd6a61d7
parent d19254d3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment