Skip to content
Snippets Groups Projects
Commit 4bb27d86 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Add missing calls to key sync task in LockSettingsService"

parents 2010a7ed f899bff7
No related branches found
No related tags found
No related merge requests found
......@@ -1581,6 +1581,8 @@ public class LockSettingsService extends ILockSettings.Stub {
userId, progressCallback);
// The user employs synthetic password based credential.
if (response != null) {
mRecoverableKeyStoreManager.lockScreenSecretAvailable(credentialType, credential,
userId);
return response;
}
......@@ -1705,6 +1707,9 @@ public class LockSettingsService extends ILockSettings.Stub {
/* TODO(roosa): keep the same password quality */, userId);
if (!hasChallenge) {
notifyActivePasswordMetricsAvailable(credential, userId);
// Use credentials to create recoverable keystore snapshot.
mRecoverableKeyStoreManager.lockScreenSecretAvailable(
storedHash.type, credential, userId);
return VerifyCredentialResponse.OK;
}
// Fall through to get the auth token. Technically this should never happen,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment