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

Commit 5ee5ec2d authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Add FLAG_IMMUTABLE for telephony pending intents."

parents d0400f07 e416fd3a
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)