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
This commit is contained in:
Kevin Chyn
2020-03-26 15:55:20 -07:00
parent b131e1b746
commit 380c63afed

View File

@@ -284,6 +284,7 @@ public abstract class AuthCredentialView extends LinearLayout {
if (matched) {
mClearErrorRunnable.run();
mLockPatternUtils.userPresent(mEffectiveUserId);
mCallback.onCredentialMatched(attestation);
} else {
if (timeoutMs > 0) {