Skip to content
Snippets Groups Projects
Commit 46a6aee0 authored by Howard Chen's avatar Howard Chen Committed by Automerger Merge Worker
Browse files

Merge "Add a mutability flag to the PendingIntent in...

Merge "Add a mutability flag to the PendingIntent in DynamicSystemInstallationService" am: dc0b992c am: 5107e438

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1479478

Change-Id: I78b38fdf4bd8ddad4eb6abf9ddf89c15e6537093
parents a88adc48 5107e438
No related branches found
No related tags found
No related merge requests found
......@@ -422,7 +422,7 @@ public class DynamicSystemInstallationService extends Service
private PendingIntent createPendingIntent(String action) {
Intent intent = new Intent(this, DynamicSystemInstallationService.class);
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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment