summaryrefslogtreecommitdiff
path: root/tests/RemoteDisplayProvider/src
diff options
context:
space:
mode:
author Piotr Wilczyński <wilczynskip@google.com> 2024-02-06 14:34:47 +0000
committer Piotr Wilczyński <wilczynskip@google.com> 2024-02-29 17:07:08 +0000
commited61a11e80c706dae1b31f7a571aa8fdcf0e8d43 (patch)
treec795c1770a839e9dfecf5a26392a0c7ef2c8505f /tests/RemoteDisplayProvider/src
parentf320e4b552aaed73309b94b318e12c8eb71d5a29 (diff)
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
Diffstat (limited to 'tests/RemoteDisplayProvider/src')
0 files changed, 0 insertions, 0 deletions