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

Commit 62ad1a67 authored by Kevin Chyn's avatar Kevin Chyn Committed by android-build-merger
Browse files

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

am: 8618ea96

Change-Id: I8f00661426682a3a7150a3074b81fa8ad02807a2
parents e74a6b06 8618ea96
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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