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

Commit 91c70b63 authored by Kevin Chyn's avatar Kevin Chyn
Browse files

Reset lockout for correct profile/user

Fixes: 135038672

Test: Lockout reset properly reset for all users when unified challenge
      is enabled
Change-Id: I61b851c41cd973a4d1c703366949cf25847675a4
parent ad1aefd3
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