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

Commit 84c14218 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Remove hack that was added in place of FaceManager fix" into udc-qpr-dev

parents eb41e340 80a6ca11
Loading
Loading
Loading
Loading
+0 −15
Original line number Diff line number Diff line
@@ -1461,14 +1461,6 @@ public class KeyguardUpdateMonitor implements TrustManager.TrustListener, Dumpab
                        ErrorAuthenticationStatus error = (ErrorAuthenticationStatus) status;
                        handleFaceError(error.getMsgId(), error.getMsg());
                    } else if (status instanceof FailedAuthenticationStatus) {
                        if (isFaceLockedOut()) {
                            // TODO b/270090188: remove this hack when biometrics fixes this issue.
                            // FailedAuthenticationStatus is emitted after ErrorAuthenticationStatus
                            // for lockout error is received
                            mLogger.d("onAuthenticationFailed called after"
                                    + " face has been locked out");
                            return;
                        }
                        handleFaceAuthFailed();
                    } else if (status instanceof HelpAuthenticationStatus) {
                        HelpAuthenticationStatus helpMsg = (HelpAuthenticationStatus) status;
@@ -1977,13 +1969,6 @@ public class KeyguardUpdateMonitor implements TrustManager.TrustListener, Dumpab

                @Override
                public void onAuthenticationFailed() {
                    if (isFaceLockedOut()) {
                        // TODO b/270090188: remove this hack when biometrics fixes this issue.
                        // onAuthenticationFailed is called after onAuthenticationError
                        // for lockout error is received
                        mLogger.d("onAuthenticationFailed called after face has been locked out");
                        return;
                    }
                    handleFaceAuthFailed();
                }