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

Commit 2c6ea607 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Don't show FP error canceled message" into pi-dev

parents 135a7e97 7319214d
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -79,6 +79,10 @@ public class FingerprintUiHelper extends FingerprintManager.AuthenticationCallba

    @Override
    public void onAuthenticationError(int errMsgId, CharSequence errString) {
        if (errMsgId == FingerprintManager.FINGERPRINT_ERROR_CANCELED) {
            // Only happens if we get preempted by another activity. Ignored.
            return;
        }
        showError(errString);
        setFingerprintIconVisibility(false);
    }