Merge "LockSettingsService: Move down onAuthTokenKnownForUser()" into rvc-qpr-dev am: 29bedbcd95
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12509266 Change-Id: Ifca958847a60c77deab947370be970225eb21907
This commit is contained in:
@@ -2620,7 +2620,6 @@ public class LockSettingsService extends ILockSettings.Stub {
|
||||
Slog.i(TAG, "Initialize SyntheticPassword for user: " + userId);
|
||||
final AuthenticationToken auth = mSpManager.newSyntheticPasswordAndSid(
|
||||
getGateKeeperService(), credentialHash, credential, userId);
|
||||
onAuthTokenKnownForUser(userId, auth);
|
||||
if (auth == null) {
|
||||
Slog.wtf(TAG, "initializeSyntheticPasswordLocked returns null auth token");
|
||||
return null;
|
||||
@@ -2643,6 +2642,7 @@ public class LockSettingsService extends ILockSettings.Stub {
|
||||
}
|
||||
fixateNewestUserKeyAuth(userId);
|
||||
setSyntheticPasswordHandleLocked(handle, userId);
|
||||
onAuthTokenKnownForUser(userId, auth);
|
||||
return auth;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user