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

Skip to content
Commit a3e0371d authored by Piotr Wilczyński's avatar Piotr Wilczyński
Browse files

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
parent e93875c6
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