Do not shake the padlock until there's an error

We were previously shaking it for help messages, that don't
interrupt scanning.
We should only animate the padlock for hard errors.

Fixes: 139838611
Test: try face auth outside of field of view
Test: try face auth outside with face occluded
Change-Id: I699befc0e748fcc057decfda1c8fc58469695ad8
This commit is contained in:
Lucas Dupin
2019-08-29 15:55:32 -07:00
parent e6e214e227
commit 095d2e7cc4

View File

@@ -650,7 +650,6 @@ public class KeyguardIndicationController implements StateListener,
if (!updateMonitor.isUnlockingWithBiometricAllowed()) {
return;
}
animatePadlockError();
boolean showSwipeToUnlock =
msgId == KeyguardUpdateMonitor.BIOMETRIC_HELP_FACE_NOT_RECOGNIZED;
if (mStatusBarKeyguardViewManager.isBouncerShowing()) {