summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Kevin Chyn <kchyn@google.com> 2020-03-26 15:55:20 -0700
committer Kevin Chyn <kchyn@google.com> 2020-04-15 13:49:34 -0700
commit380c63afedd60bbb9c293787419bbe28f61c4f21 (patch)
tree25a69d57db00e21b13495f1b62f3c92ed35c8084
parentb131e1b7463553f9c8147a9637c57b838542bb2a (diff)
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
-rw-r--r--packages/SystemUI/src/com/android/systemui/biometrics/AuthCredentialView.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/biometrics/AuthCredentialView.java b/packages/SystemUI/src/com/android/systemui/biometrics/AuthCredentialView.java
index b006bc1351a3..573b9b77fe32 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) {