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

Commit 63bca498 authored by Beverly's avatar Beverly
Browse files

Rescan face when user preses empty space on LS

For both bypass + non-bypass face auth.

Test: manual
Fixes: 194866908
Change-Id: I22014fb5dc2913c70a405ea41850719e03353a80
parent 10bff88e
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -3242,7 +3242,10 @@ public class NotificationPanelViewController extends PanelViewController {
        switch (mBarState) {
            case KEYGUARD:
                if (!mDozingOnDown) {
                    if (mKeyguardBypassController.getBypassEnabled()) {
                    if (mUpdateMonitor.isFaceEnrolled()
                            && !mUpdateMonitor.isFaceDetectionRunning()
                            && !mUpdateMonitor.getUserCanSkipBouncer(
                                    KeyguardUpdateMonitor.getCurrentUser())) {
                        mUpdateMonitor.requestFaceAuth(true);
                    } else {
                        mLockscreenGestureLogger.write(MetricsEvent.ACTION_LS_HINT,