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

Commit 6e383881 authored by Lucas Dupin's avatar Lucas Dupin
Browse files

Do no play hint animation when retrying auth

Bug: 130327361
Test: manual
Change-Id: Ie6f6c4c590b3feebb4ad522294cdbc6942e1f788
parent 16f1032a
Loading
Loading
Loading
Loading
+8 −5
Original line number Diff line number Diff line
@@ -2430,7 +2430,6 @@ public class NotificationPanelView extends PanelView implements
            onUnlockHintFinished();
            return;
        }
        mUpdateMonitor.requestFaceAuth();
        super.startUnlockHintAnimation();
    }

@@ -2651,11 +2650,15 @@ public class NotificationPanelView extends PanelView implements
        switch (mBarState) {
            case StatusBarState.KEYGUARD:
                if (!mDozingOnDown) {
                    if (mKeyguardBypassController.getBypassEnabled()) {
                        mUpdateMonitor.requestFaceAuth();
                    } else {
                        mLockscreenGestureLogger.write(
                                MetricsEvent.ACTION_LS_HINT,
                                0 /* lengthDp - N/A */, 0 /* velocityDp - N/A */);
                        startUnlockHintAnimation();
                    }
                }
                return true;
            case StatusBarState.SHADE_LOCKED:
                if (!mQsExpanded) {