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

Commit 5917d4b0 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Add FLAG_IMMUTABLE for telephony pending intents." am: 5ee5ec2d

Original change: https://android-review.googlesource.com/c/platform/frameworks/opt/telephony/+/1573020

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I7e61592dee58e680e4c3e7b3f889132e3a227072
parents 783967e7 5ee5ec2d
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1940,7 +1940,8 @@ public class SubscriptionController extends ISub.Stub {
                        // we don't care about the result (hence 0 requestCode and no action
                        // specified on the intent).
                        PendingIntent.getService(
                            mContext, 0 /* requestCode */, new Intent(), 0 /* flags */));
                            mContext, 0 /* requestCode */, new Intent(),
                                PendingIntent.FLAG_IMMUTABLE /* flags */));
            }

            int result = updateDatabase(value, subId, true);
+1 −3
Original line number Diff line number Diff line
@@ -2134,9 +2134,7 @@ public class ImsPhone extends ImsPhoneBase {
                                mContext,
                                0,
                                resultIntent,
                                // Note: Since resultIntent above specifies an explicit class name
                                // we do not need to specify PendingIntent.FLAG_IMMUTABLE here.
                                PendingIntent.FLAG_UPDATE_CURRENT
                                PendingIntent.FLAG_UPDATE_CURRENT | PendingIntent.FLAG_IMMUTABLE
                        );

                final Notification notification = new Notification.Builder(mContext)