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
Loading
Please register or sign in to comment