diff options
| author | 2024-06-04 10:51:56 +0000 | |
|---|---|---|
| committer | 2024-06-05 16:24:29 +0000 | |
| commit | dbff91526bf71c67169c4ec3fea6524cda30e991 (patch) | |
| tree | 2224cf135f977e069d7e5dd7c797f0a596eefb39 /api/api.go | |
| parent | 7e725e0696eb2e17c559e076391305fa0a781e62 (diff) | |
Use offload session flag for setting allowAutoBrightnessWhileDozing flag
We recently added support to use the value from the offload session when
deciding if autobrightness is to be enabled while dozing in ag/26443561.
However it was not appropriately set via the DPC refactor route, which led to
autobrightness not being disabled when the device goes to doze suspend
Bug: 341027020
Test: atest com.android.server.display.brightness
Test: Manually verifying the light sensor is disabled when in doze
suspend
Change-Id: Iacaf3e7389d94aa79949252c03587b22739bc703
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions