Loading
Switch to doze auto-brightness mode based on screen state
When the device is in doze and a tilt-to-wake gesture is performed, the screen state changes to ON but the policy is still DOZE. In that situation, we should use the default brightness curve, not the doze one. Bug: 328092771 Test: adb logcat | grep -i "brightnessEvent" Test: atest DisplayPowerControllerTest Change-Id: Ib3ec248f8559b7cdaf546489e1006fee53d6e710