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

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

Fix auto-brightness in doze

- AutomaticBrightnessController was incorrectly disabling auto-brightness in doze even if the config allowed it.

- We should rely on the policy and not the display state - when we enter doze, the first power request has policy DOZE but the display state is still ON.

Bug: 322974128
Bug: 304339170
Test: atest DisplayPowerControllerTest
Test: atest AutomaticBrightnessStrategyTest
Test: atest AutomaticBrightnessControllerTest
Change-Id: Ie04184b6cca91c9a96c360d72fbbf59cfb8ecf59
parent f320e4b5
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