Merge "Add latency instrumentation for face and fingerprint unlock" into tm-dev

This commit is contained in:
Vincent Wang
2022-03-21 01:42:55 +00:00
committed by Android (Google) Code Review

View File

@@ -357,7 +357,7 @@ public class BiometricUnlockController extends KeyguardUpdateMonitorCallback imp
}
Trace.beginSection("BiometricUnlockController#onBiometricAcquired");
releaseBiometricWakeLock();
if (isWakeAndUnlock()) {
if (mStatusBarStateController.isDozing()) {
if (mLatencyTracker.isEnabled()) {
int action = LatencyTracker.ACTION_FINGERPRINT_WAKE_AND_UNLOCK;
if (biometricSourceType == BiometricSourceType.FACE) {