Skip to content
Snippets Groups Projects
Forked from Dhina17 / platform_frameworks_base
Source project has a limited visibility.
user avatar
Piotr Wilczyński authored
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
a3e0371d
History
Name Last commit Last update