Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 29bedbcd authored by Jing-yan, Jang's avatar Jing-yan, Jang Committed by Android (Google) Code Review
Browse files

Merge "LockSettingsService: Move down onAuthTokenKnownForUser()" into rvc-qpr-dev

parents 8ca51bde ff129bbc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
    }