diff --git a/app/src/main/java/com/simplemobiletools/calendar/NotificationPublisher.java b/app/src/main/java/com/simplemobiletools/calendar/NotificationPublisher.java index 28ce15f2d..ebee4d139 100644 --- a/app/src/main/java/com/simplemobiletools/calendar/NotificationPublisher.java +++ b/app/src/main/java/com/simplemobiletools/calendar/NotificationPublisher.java @@ -36,7 +36,7 @@ public class NotificationPublisher extends BroadcastReceiver { private PendingIntent getPendingIntent(Context context, Event event) { final Intent intent = new Intent(context, EventActivity.class); intent.putExtra(Constants.EVENT, event); - return PendingIntent.getActivity(context, event.getId(), intent, 0); + return PendingIntent.getActivity(context, event.getId(), intent, PendingIntent.FLAG_UPDATE_CURRENT); } private Notification getNotification(Context context, PendingIntent pendingIntent, String content) {