Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cfc1569f authored by Betty Chang's avatar Betty Chang Committed by Android (Google) Code Review
Browse files

Merge "Change the intent flag to immutable" into tm-qpr-dev

parents 7396023d 09a6899f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -124,7 +124,7 @@ public class MediaVolumePreferenceController extends VolumeSeekBarPreferenceCont
                    getWorker().getActiveLocalMediaController().getPackageName());

            pi = PendingIntent.getBroadcast(context, 0 /* requestCode */, intent,
                    PendingIntent.FLAG_UPDATE_CURRENT | PendingIntent.FLAG_MUTABLE);
                    PendingIntent.FLAG_UPDATE_CURRENT | PendingIntent.FLAG_IMMUTABLE);
        } else {
            final CachedBluetoothDevice bluetoothDevice =
                    ((BluetoothMediaDevice) mMediaDevice).getCachedDevice();
@@ -141,7 +141,7 @@ public class MediaVolumePreferenceController extends VolumeSeekBarPreferenceCont
                    && getWorker().getActiveLocalMediaController() != null);

            pi = PendingIntent.getActivity(context, 0 /* requestCode */, intent,
                    PendingIntent.FLAG_UPDATE_CURRENT | PendingIntent.FLAG_MUTABLE);
                    PendingIntent.FLAG_UPDATE_CURRENT | PendingIntent.FLAG_IMMUTABLE);
        }

        final IconCompat icon = getBroadcastIcon(context);