Merge "Reset lockout for correct profile/user" into qt-r1-dev

This commit is contained in:
Kevin Chyn
2019-06-18 17:31:32 +00:00
committed by Android (Google) Code Review

View File

@@ -1290,6 +1290,7 @@ public class LockSettingsService extends ILockSettings.Stub {
final BiometricManager bm = mContext.getSystemService(BiometricManager.class);
final PackageManager pm = mContext.getPackageManager();
for (int i = 0; i < resetLockouts.size(); i++) {
bm.setActiveUser(resetLockouts.get(i).mUserId);
bm.resetLockout(resetLockouts.get(i).mHAT);
}
if (challengeType == CHALLENGE_INTERNAL