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

Commit 34445bb0 authored by Kevin Chyn's avatar Kevin Chyn
Browse files

Make reset lockout PendingIntent immutable

Fixes: 170159763
Test: Lockout on keyguard, wait 30s, able to auth again
Change-Id: I463f4ff194254c6e4692e524af744f4b10d9ed35
parent 1a77a3be
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -135,6 +135,6 @@ public class LockoutFrameworkImpl implements LockoutTracker {
    private PendingIntent getLockoutResetIntentForUser(int userId) {
        return PendingIntent.getBroadcast(mContext, userId,
                new Intent(ACTION_LOCKOUT_RESET).putExtra(KEY_LOCKOUT_RESET_USER, userId),
                PendingIntent.FLAG_UPDATE_CURRENT);
                PendingIntent.FLAG_UPDATE_CURRENT | PendingIntent.FLAG_IMMUTABLE);
    }
}