Rescan face when user preses empty space on LS
For both bypass + non-bypass face auth. Test: manual Fixes: 194866908 Change-Id: I22014fb5dc2913c70a405ea41850719e03353a80
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user