commit | 8deb9fbc139a842d4827c58771849bf8e3b3474b | [log] [tgz] |
---|---|---|
author | Piotr Wilczyński <wilczynskip@google.com> | Wed Mar 06 11:26:45 2024 +0000 |
committer | Piotr Wilczyński <wilczynskip@google.com> | Wed Mar 06 11:26:45 2024 +0000 |
tree | c177836dce37cf04ce90891c7308d286b49a595d | |
parent | d0658959ecc48e3d01582df907574cbb0347276b [diff] |
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