Merge "Never play face errors for co-ex" into tm-d1-dev am: 4d2b126284 am: 9001f5545f
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18868864 Change-Id: I0ac6dd3225c2c80ab8d138da1f186cbf24904e5c Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -676,7 +676,10 @@ public class BiometricUnlockController extends KeyguardUpdateMonitorCallback imp
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (biometricSourceType == BiometricSourceType.FACE) {
|
// Suppress all face auth errors if fingerprint can be used to authenticate
|
||||||
|
if (biometricSourceType == BiometricSourceType.FACE
|
||||||
|
&& !mUpdateMonitor.getCachedIsUnlockWithFingerprintPossible(
|
||||||
|
KeyguardUpdateMonitor.getCurrentUser())) {
|
||||||
vibrateError();
|
vibrateError();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -703,10 +706,6 @@ public class BiometricUnlockController extends KeyguardUpdateMonitorCallback imp
|
|||||||
UI_EVENT_LOGGER.log(BiometricUiEvent.BIOMETRIC_BOUNCER_SHOWN, getSessionId());
|
UI_EVENT_LOGGER.log(BiometricUiEvent.BIOMETRIC_BOUNCER_SHOWN, getSessionId());
|
||||||
}
|
}
|
||||||
|
|
||||||
if (biometricSourceType == BiometricSourceType.FACE) {
|
|
||||||
vibrateError();
|
|
||||||
}
|
|
||||||
|
|
||||||
cleanup();
|
cleanup();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user