Merge "LockSettingsService: Move down onAuthTokenKnownForUser()" into rvc-qpr-dev am: 29bedbcd95 am: ba61ec7cb9
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12509266 Change-Id: I3d7a7c7d9e86c5640ae0f85c3f2b63028f8dd311
This commit is contained in:
@@ -2616,7 +2616,6 @@ public class LockSettingsService extends ILockSettings.Stub {
|
||||
|
||||
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;
|
||||
@@ -2639,6 +2638,7 @@ public class LockSettingsService extends ILockSettings.Stub {
|
||||
}
|
||||
fixateNewestUserKeyAuth(userId);
|
||||
setSyntheticPasswordHandleLocked(handle, userId);
|
||||
onAuthTokenKnownForUser(userId, auth);
|
||||
return auth;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user