From 380c63afedd60bbb9c293787419bbe28f61c4f21 Mon Sep 17 00:00:00 2001 From: Kevin Chyn Date: Thu, 26 Mar 2020 15:55:20 -0700 Subject: [PATCH] Report userPresent when credential is verified Note that this is likely duplicated between Keyguard, ConfirmDeviceCredential, and here. We should consolidate these to be done in LockSettingsService but this is the least risky for now. Bug: 151481740 Test: none Change-Id: I97b399209a94510911b3ef04fda1c465e4897e27 --- .../src/com/android/systemui/biometrics/AuthCredentialView.java | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/SystemUI/src/com/android/systemui/biometrics/AuthCredentialView.java b/packages/SystemUI/src/com/android/systemui/biometrics/AuthCredentialView.java index b006bc1351a32..573b9b77fe32d 100644 --- a/packages/SystemUI/src/com/android/systemui/biometrics/AuthCredentialView.java +++ b/packages/SystemUI/src/com/android/systemui/biometrics/AuthCredentialView.java @@ -284,6 +284,7 @@ public abstract class AuthCredentialView extends LinearLayout { if (matched) { mClearErrorRunnable.run(); + mLockPatternUtils.userPresent(mEffectiveUserId); mCallback.onCredentialMatched(attestation); } else { if (timeoutMs > 0) {