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

Commit 75445668 authored by Rubin Xu's avatar Rubin Xu Committed by Android (Google) Code Review
Browse files

Merge "Generate auth token when unlocking from reboot escrow"

parents 5ea8ea4d 57ce2983
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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);
        }
    }