Make reset lockout PendingIntent immutable
Fixes: 170159763 Test: Lockout on keyguard, wait 30s, able to auth again Change-Id: I463f4ff194254c6e4692e524af744f4b10d9ed35
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user