Merge "Generate auth token when unlocking from reboot escrow"

This commit is contained in:
Rubin Xu
2020-09-21 10:30:17 +00:00
committed by Android (Google) Code Review

View File

@@ -3501,6 +3501,9 @@ public class LockSettingsService extends ILockSettings.Stub {
SyntheticPasswordManager.AuthenticationToken
authToken = new SyntheticPasswordManager.AuthenticationToken(spVersion);
authToken.recreateDirectly(syntheticPassword);
synchronized (mSpManager) {
mSpManager.verifyChallenge(getGateKeeperService(), authToken, 0L, userId);
}
onCredentialVerified(authToken, loadPasswordMetrics(authToken, userId), userId);
}
}