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

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

Merge "[RESTRICT AUTOMERGE] Change the intent flag to immutable" into tm-dev

parents b842d569 0dcd6a54
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -120,7 +120,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();
@@ -135,7 +135,7 @@ public class MediaVolumePreferenceController extends VolumeSeekBarPreferenceCont
                    bluetoothDevice.getAddress());

            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);