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

Commit 4d89d990 authored by Josh Tsuji's avatar Josh Tsuji
Browse files

Disable unlocked screen off when the panel is expanded.

This is a partial revert of ag/33149508, but retains that CL's change that allows the screen off animation to run when keyguard is rotated.

This caused an issue when the screen off animation was canceled when the following conditions are met:
- Shade is open
- Screen off animation is cancelled partway through
- Device is not locked on the power button press ('power button locks instantly is disabled', smart unlock keeps device unlocked, etc.)

Doing so returned to GONE but with the notification scrim stuck showing over the unlocked content. Additionally, the first time you pull down the shade, it stutters the entire time until you finish expanding or collapsing it.

I spent two days trying to figure out why it does that (after Rahul spent a week on it) and have not been successful. This is the safest fix since it is a partial revert.

Bug: 414874982
Test: disable 'power button locks instantly', pull down shade, cancel screen off
Flag: EXEMPT bugfix/rollback
Change-Id: Ia33553366aa2dc43302fe24bc612a3de3ba81046
parent fc17ba01
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment