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

Commit 5b432e94 authored by Lucas Dupin's avatar Lucas Dupin Committed by android-build-merger
Browse files

Merge "Do no play hint animation when retrying auth" into qt-r1-dev

am: dfba8747

Change-Id: I819160e8ac018568db34d917f0bf15057a6dcac4
parents f91d9132 dfba8747
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) {