diff --git a/src/android/ForegroundService.java b/src/android/ForegroundService.java index 21c98e0..e345c0d 100644 --- a/src/android/ForegroundService.java +++ b/src/android/ForegroundService.java @@ -177,7 +177,7 @@ public class ForegroundService extends Service { if (intent != null && settings.optBoolean("resume")) { PendingIntent contentIntent = PendingIntent.getActivity( - context, NOTIFICATION_ID, intent, PendingIntent.FLAG_CANCEL_CURRENT); + context, NOTIFICATION_ID, intent, PendingIntent.FLAG_UPDATE_CURRENT); notification.setContentIntent(contentIntent); }