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

Commit 52a9587a authored by Lucas Dupin's avatar Lucas Dupin
Browse files

Keep animating bouncer when fingerprint

Before we wouldn't update the bouncer expansion after being unlocked,
this leads to a border case where the bouncer would be stuck if the user
authenticates with fingerprint while dragging up.

Change-Id: I7395ecd400957c656671640c7510fb279c671af3
Fixes: 78035213
Test: go/sysui-bouncer-tests
parent 60661a6d
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -169,10 +169,10 @@ public class StatusBarKeyguardViewManager implements RemoteInputController.Callb
                || mBouncer.willDismissWithAction()
                || mStatusBar.isFullScreenUserSwitcherState()) {
            mBouncer.setExpansion(0);
        } else if (mShowing && mStatusBar.isKeyguardCurrentlySecure() && !mDozing) {
        } else if (mShowing && !mDozing) {
            mBouncer.setExpansion(expansion);
            if (expansion != 1 && tracking && !mBouncer.isShowing()
                    && !mBouncer.isAnimatingAway()) {
            if (expansion != 1 && tracking && mStatusBar.isKeyguardCurrentlySecure()
                    && !mBouncer.isShowing() && !mBouncer.isAnimatingAway()) {
                mBouncer.show(false /* resetSecuritySelection */, false /* animated */);
            }
        }