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

Commit 9a14e203 authored by Beverly Tai's avatar Beverly Tai Committed by Android (Google) Code Review
Browse files

Merge "Suppress msgs from FACE_ERROR_UNABLE_TO_PROCESS" into tm-d1-dev

parents 4d2b1262 5b762c39
Loading
Loading
Loading
Loading
+8 −1
Original line number Original line Diff line number Diff line
@@ -1023,6 +1023,13 @@ public class KeyguardIndicationController {
            }
            }


            if (biometricSourceType == BiometricSourceType.FACE
            if (biometricSourceType == BiometricSourceType.FACE
                    && msgId == FaceManager.FACE_ERROR_UNABLE_TO_PROCESS) {
                // suppress all face UNABLE_TO_PROCESS errors
                if (DEBUG) {
                    Log.d(TAG, "skip showing FACE_ERROR_UNABLE_TO_PROCESS errString="
                            + errString);
                }
            } else if (biometricSourceType == BiometricSourceType.FACE
                    && msgId == FaceManager.FACE_ERROR_TIMEOUT) {
                    && msgId == FaceManager.FACE_ERROR_TIMEOUT) {
                if (mKeyguardUpdateMonitor.getCachedIsUnlockWithFingerprintPossible(
                if (mKeyguardUpdateMonitor.getCachedIsUnlockWithFingerprintPossible(
                        KeyguardUpdateMonitor.getCurrentUser())) {
                        KeyguardUpdateMonitor.getCurrentUser())) {