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

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

Merge "Set PendingIntent in RespondViaSmsManager as immutable" am: 12996252...

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

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

Change-Id: I573f3baf0dd7bc2b8ad0d10527fcd1d6884afa7b
parents bdf07ae8 efc224d9
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(