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

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

Initial doze brightness for offload

Use the last observed lux and the doze curve to set the initial doze brightness before the offload session takes over.

Rely on the policy rather than the state - in the first doze power request, the policy is doze but the state is still ON.

Switch to doze auto-brightness mode immediately rather than posting on the handler - we need this so that we get the correct brightness value.

Bug: 325627091
Test: atest AutomaticBrightnessControllerTest
Test: atest BrightnessEventTest
Test: atest BrightnessReasonTest
Test: atest AutomaticBrightnessStrategyTest
Test: atest DisplayPowerControllerTest
Change-Id: I9aaaa1d8b5bb09d5ce5dbe53453bcd28aae2dd8f
parent 62c2e3f7
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