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

Skip to content
Commit df83af61 authored by Beverly's avatar Beverly Committed by Beverly Tai
Browse files

Cancel touches on the unlocked animation

On the lock screen, users are able to drag
their finger to the UDFPS location which can leave
the panel expansion in a transition state while
the device is being transioned to the home screen.
therefore, we need to:

* on unlock, instantCollapse notification panel if it's already in the
middle of being flung away so there aren't overriding animators.

* don't expand the bouncer if the device is unlocking

* cancel launch transition end runnables on going to sleep
in case the user presses the power button quickly after
unlocking, before the launch transition end runnable gets
to run. We don't end up in a bad state where we hide the
keyguard (due to the launchTransitionEndRunnable) when we
actually wanted to show it

* don't update the UNLOCKED scrim when the device is
updating the panel expansion during the unlock animation

Fixes: 222324260
Test: atest SystemUITests
Test: manually authenticate UDFPS from dragging finger
from diagonally above/right of UDFPS (and from below)

Change-Id: I8f0b50c01544c3cf206bb764b2c5e5554dcd256d
parent c3cf5216
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