Snap for 7506386 from a1dfded1eb9334bd272755b20da8c28438e69e06 to sc-release

Change-Id: I2100234a76a417eae3046857bf5991d6822c4749
diff --git a/RotaryPlayground/src/com/android/car/rotaryplayground/HeadsUpNotificationFragment.java b/RotaryPlayground/src/com/android/car/rotaryplayground/HeadsUpNotificationFragment.java
index 0744ac0..97c676e 100644
--- a/RotaryPlayground/src/com/android/car/rotaryplayground/HeadsUpNotificationFragment.java
+++ b/RotaryPlayground/src/com/android/car/rotaryplayground/HeadsUpNotificationFragment.java
@@ -62,7 +62,8 @@
      */
     private Notification createNotification() {
         Intent intent = new Intent(getContext(), RotaryActivity.class);
-        PendingIntent pendingIntent = PendingIntent.getActivity(getContext(), 0, intent, 0);
+        PendingIntent pendingIntent =
+                PendingIntent.getActivity(getContext(), 0, intent, PendingIntent.FLAG_IMMUTABLE);
         return new Notification.Builder(getContext(), NOTIFICATION_CHANNEL_ID)
                 .setContentTitle("Example heads-up notification")
                 .setContentText("Try nudging up to HUN")