Restart fingerprint auth on cancel.
Test: atest FingerprintSettingsFragmentTest Fixes: 336572954 Change-Id: Ie64d509caf052271a141e466f5c840e92f5dc119
This commit is contained in:
committed by
Joshua Mccloskey
parent
1eca5e767d
commit
4efd4c16f9
@@ -352,11 +352,6 @@ public class FingerprintSettings extends SubSettings {
|
||||
*/
|
||||
protected void handleError(int errMsgId, CharSequence msg) {
|
||||
switch (errMsgId) {
|
||||
case FingerprintManager.FINGERPRINT_ERROR_CANCELED:
|
||||
case FingerprintManager.FINGERPRINT_ERROR_USER_CANCELED:
|
||||
// Only happens if we get preempted by another activity, or canceled by the
|
||||
// user (e.g. swipe up to home). Ignored.
|
||||
return;
|
||||
case FingerprintManager.FINGERPRINT_ERROR_LOCKOUT:
|
||||
mInFingerprintLockout = true;
|
||||
// We've been locked out. Reset after 30s.
|
||||
|
||||
Reference in New Issue
Block a user