summaryrefslogtreecommitdiff
path: root/packages/Shell/src/com/android/shell/HeapDumpReceiver.java
diff options
context:
space:
mode:
Diffstat (limited to 'packages/Shell/src/com/android/shell/HeapDumpReceiver.java')
-rw-r--r--packages/Shell/src/com/android/shell/HeapDumpReceiver.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/Shell/src/com/android/shell/HeapDumpReceiver.java b/packages/Shell/src/com/android/shell/HeapDumpReceiver.java
index 858c521eaed5..7433c3ee37b6 100644
--- a/packages/Shell/src/com/android/shell/HeapDumpReceiver.java
+++ b/packages/Shell/src/com/android/shell/HeapDumpReceiver.java
@@ -180,7 +180,7 @@ public class HeapDumpReceiver extends BroadcastReceiver {
.setContentText(context.getText(
com.android.internal.R.string.dump_heap_notification_detail))
.setContentIntent(PendingIntent.getActivity(context, 2, shareIntent,
- PendingIntent.FLAG_UPDATE_CURRENT));
+ PendingIntent.FLAG_UPDATE_CURRENT | PendingIntent.FLAG_IMMUTABLE));
Log.v(TAG, "Creating share heap dump notification");
NotificationManager.from(context).notify(NOTIFICATION_ID, builder.build());