diff options
| author | 2024-03-08 19:28:09 +0000 | |
|---|---|---|
| committer | 2024-03-18 11:07:24 +0000 | |
| commit | a3e0371da76ef31b4ef44fbcd1839d081f3e454e (patch) | |
| tree | 9b2dad9af0c416c610811c9a2e327283bf30dca5 /libs/androidfw/StringPool.cpp | |
| parent | e93875c68d05a5d44fb37b289c0820ed6cc5d057 (diff) | |
Fix Wear brightness after tilt-to-wake
When performing a tilt-to-wake gesture on a Wear device, if the offload session fails, the policy is POLICY_DOZE but the screen state is STATE_ON.
The doze scale factor shouldn't be applied if the screen is on.
The initial doze brightness or the default doze brightness shouldn't be used if the screen is on.
Bug: 328490718
Bug: 328797653
Test: adb logcat | grep -i "brightnessEvent"
Test: atest AutomaticBrightnessControllerTest
Test: atest AutomaticBrightnessStrategyTest
Test: atest DisplayPowerControllerTest
Change-Id: Ic223bb73a5f5ded28c8be3a8e73c1d494be78a29
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions