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

Commit 42982eee authored by Hongming Jin's avatar Hongming Jin Committed by Android (Google) Code Review
Browse files

Merge "Make the pending intent immutable."

parents 1ea87b59 290f1afe
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -400,10 +400,8 @@ public class SystemActions extends SystemUI {
                case INTENT_ACTION_ACCESSIBILITY_SHORTCUT: {
                    Intent intent = new Intent(intentAction);
                    intent.setPackage(context.getPackageName());
                    // TODO(b/173157883) Please replace FLAG_MUTABLE_UNAUDITED below
                    // with either FLAG_IMMUTABLE (recommended) or FLAG_MUTABLE.
                    return PendingIntent.getBroadcast(context, 0, intent,
                            PendingIntent.FLAG_MUTABLE_UNAUDITED);
                            PendingIntent.FLAG_IMMUTABLE);
                }
                default:
                    break;