PipNotification: Add FLAG_IMMUTABLE
Fixes breakage caused by b/160794467 Bug: 176870313 Bug: 176912389 Test: SystemUI can start again. Change-Id: Ib726a829f693111fb201e41e0bac870df4280087
This commit is contained in:
@@ -175,7 +175,7 @@ public class PipNotification {
|
||||
}
|
||||
|
||||
private static PendingIntent createPendingIntent(Context context, String action) {
|
||||
return PendingIntent.getBroadcast(context, 0,
|
||||
new Intent(action), PendingIntent.FLAG_CANCEL_CURRENT);
|
||||
return PendingIntent.getBroadcast(context, 0, new Intent(action),
|
||||
PendingIntent.FLAG_CANCEL_CURRENT | PendingIntent.FLAG_IMMUTABLE);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user