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

Commit 8f74732a authored by Piotr Wilczyński's avatar Piotr Wilczyński
Browse files

Use screen off brightness sensor when screen is off due to proximity

When the screen is off due to proximity, the policy isn't POLICY_OFF. By looking at the display state instead we can keep the sensor on.

Bug: 362940418
Flag: EXEMPT bugfix
Test: AutoBrightnessFallbackStrategyTest, DisplayPowerControllerTest
Change-Id: I78da47341e1727b976f57f46b10cf7e74ec0e56e
parent 34f9f07e
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