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

Commit bfc095df authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "[DO NOT MERGE] Fixing unsafe pending intent in notification" into qt-dev

parents e317818b 7ff5163b
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -399,7 +399,8 @@ public class NavigationModeController implements Dumpable {
                        .setStyle(new Notification.BigTextStyle())
                        .setSmallIcon(R.drawable.ic_info)
                        .setAutoCancel(true)
                        .setContentIntent(PendingIntent.getActivity(context, 0, new Intent(), 0));
                        .setContentIntent(PendingIntent.getActivity(context, 0, new Intent(),
                                PendingIntent.FLAG_IMMUTABLE));
        context.getSystemService(NotificationManager.class).notify(TAG, 0, builder.build());
    }