Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit dbff9152 authored by Rupesh Bansal's avatar Rupesh Bansal
Browse files

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
parent 7e725e06
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment