diff options
| author | 2024-02-06 14:34:47 +0000 | |
|---|---|---|
| committer | 2024-02-29 17:07:08 +0000 | |
| commit | ed61a11e80c706dae1b31f7a571aa8fdcf0e8d43 (patch) | |
| tree | c795c1770a839e9dfecf5a26392a0c7ef2c8505f /tests/RemoteDisplayProvider/src | |
| parent | f320e4b552aaed73309b94b318e12c8eb71d5a29 (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