Don't pass HardwareAuthToken to unlockUser() in non-SP verifyCredential am: 665b5f9228 am: 753693671d
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2021757 Change-Id: Icd56688b2769fdca1aeabbefecec79dfa0d47cf2
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user