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

Commit 75369367 authored by Eric Biggers's avatar Eric Biggers Committed by Automerger Merge Worker
Browse files

Don't pass HardwareAuthToken to unlockUser() in non-SP verifyCredential am: 665b5f92

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2021757

Change-Id: I726c8faa05107c17dbf4ec0ff9349dbb5416d286
parents e024ab71 665b5f92
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -2212,9 +2212,8 @@ public class LockSettingsService extends ILockSettings.Stub {
            setUserPasswordMetrics(credential, userId);
            unlockKeystore(credential.getCredential(), userId);

            Slog.i(TAG, "Unlocking user " + userId + " with token length "
                    + response.getGatekeeperHAT().length);
            unlockUser(userId, response.getGatekeeperHAT(), secretFromCredential(credential));
            Slog.i(TAG, "Unlocking user " + userId);
            unlockUser(userId, null, secretFromCredential(credential));

            if (isManagedProfileWithSeparatedLock(userId)) {
                setDeviceUnlockedForUser(userId);