Merge "Suppress msgs from FACE_ERROR_UNABLE_TO_PROCESS" into tm-d1-dev am: 9a14e20379

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18872709

Change-Id: I9be76fdfb0a9387bb7664097f4208e70a86ea715
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Beverly Tai
2022-06-13 20:58:31 +00:00
committed by Automerger Merge Worker

View File

@@ -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())) {