summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationModeController.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationModeController.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationModeController.java
index 4d7cf2715f9c..5934974b119f 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationModeController.java
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationModeController.java
@@ -399,7 +399,8 @@ public class NavigationModeController implements Dumpable {
.setStyle(new Notification.BigTextStyle())
.setSmallIcon(R.drawable.ic_info)
.setAutoCancel(true)
- .setContentIntent(PendingIntent.getActivity(context, 0, new Intent(), 0));
+ .setContentIntent(PendingIntent.getActivity(context, 0, new Intent(),
+ PendingIntent.FLAG_IMMUTABLE));
context.getSystemService(NotificationManager.class).notify(TAG, 0, builder.build());
}