Merge "Add a mutability flag to the PendingIntent in DynamicSystemInstallationService" am: dc0b992c75
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1479478 Change-Id: Ic30b4a9678e23f390b2138dd21ebf3dccb6a58aa
This commit is contained in:
@@ -422,7 +422,7 @@ public class DynamicSystemInstallationService extends Service
|
|||||||
private PendingIntent createPendingIntent(String action) {
|
private PendingIntent createPendingIntent(String action) {
|
||||||
Intent intent = new Intent(this, DynamicSystemInstallationService.class);
|
Intent intent = new Intent(this, DynamicSystemInstallationService.class);
|
||||||
intent.setAction(action);
|
intent.setAction(action);
|
||||||
return PendingIntent.getService(this, 0, intent, 0);
|
return PendingIntent.getService(this, 0, intent, PendingIntent.FLAG_IMMUTABLE);
|
||||||
}
|
}
|
||||||
|
|
||||||
private Notification buildNotification(int status, int cause) {
|
private Notification buildNotification(int status, int cause) {
|
||||||
|
|||||||
Reference in New Issue
Block a user