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

Skip to content
Commit 8deb9fbc authored by Piotr Wilczyński's avatar Piotr Wilczyński
Browse files

Switch to doze auto-brightness mode based on screen state

When the device is in doze and a tilt-to-wake gesture is performed, the screen state changes to ON but the policy is still DOZE. In that situation, we should use the default brightness curve, not the doze one.

Bug: 328092771
Test: adb logcat | grep -i "brightnessEvent"
Test: atest DisplayPowerControllerTest
Change-Id: Ib3ec248f8559b7cdaf546489e1006fee53d6e710
parent d0658959
Loading
Loading
Loading
Loading
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