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

Commit efc224d9 authored by Hall Liu's avatar Hall Liu Committed by Automerger Merge Worker
Browse files

Merge "Set PendingIntent in RespondViaSmsManager as immutable" am: 12996252 am: 44092bb6

Original change: https://android-review.googlesource.com/c/platform/packages/services/Telecomm/+/1656492

Change-Id: Iad2d80864dfa589ff64cc445d81ff22216a35f3f
parents 1e304eb3 44092bb6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -204,7 +204,7 @@ public class RespondViaSmsManager extends CallsManagerListenerBase {
            for (int i = 0; i < messageParts.size(); i++) {
                Intent intent = new Intent(ACTION_MESSAGE_SENT);
                PendingIntent pendingIntent = PendingIntent.getBroadcast(context, i, intent,
                        PendingIntent.FLAG_ONE_SHOT);
                        PendingIntent.FLAG_ONE_SHOT | PendingIntent.FLAG_IMMUTABLE);
                sentIntents.add(pendingIntent);
            }
            MessageSentReceiver receiver = new MessageSentReceiver(