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

Commit 1e0f6630 authored by Ashwini Oruganti's avatar Ashwini Oruganti Committed by Android (Google) Code Review
Browse files

Merge "SystemActions: Mark unaudited PendingIntents with FLAG_MUTABLE_UNAUDITED"

parents 1216f9e9 43e663a3
Loading
Loading
Loading
Loading
+4 −1
Original line number Original line Diff line number Diff line
@@ -400,7 +400,10 @@ public class SystemActions extends SystemUI {
                case INTENT_ACTION_ACCESSIBILITY_SHORTCUT: {
                case INTENT_ACTION_ACCESSIBILITY_SHORTCUT: {
                    Intent intent = new Intent(intentAction);
                    Intent intent = new Intent(intentAction);
                    intent.setPackage(context.getPackageName());
                    intent.setPackage(context.getPackageName());
                    return PendingIntent.getBroadcast(context, 0, intent, 0);
                    // 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);
                }
                }
                default:
                default:
                    break;
                    break;