summaryrefslogtreecommitdiff
path: root/libs/hwui/FrameInfoVisualizer.cpp
diff options
context:
space:
mode:
author Piotr Wilczyński <wilczynskip@google.com> 2024-02-23 14:41:43 +0000
committer Piotr Wilczyński <wilczynskip@google.com> 2024-02-26 14:41:59 +0000
commitd039a763d95884958c46e44510a47731d667f305 (patch)
treef99a70225a1903366cbe6a18828223eaa6da01f5 /libs/hwui/FrameInfoVisualizer.cpp
parent62c2e3f7bc0b470739c80e2ab8fd8cd028c9af2f (diff)
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
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions