diff --git a/src/android/ForegroundService.java b/src/android/ForegroundService.java index 806c9568..7728a8e2 100644 --- a/src/android/ForegroundService.java +++ b/src/android/ForegroundService.java @@ -222,7 +222,7 @@ private Notification makeNotification (JSONObject settings) intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP | Intent.FLAG_ACTIVITY_SINGLE_TOP); PendingIntent contentIntent = PendingIntent.getActivity( context, NOTIFICATION_ID, intent, - PendingIntent.FLAG_UPDATE_CURRENT); + PendingIntent.FLAG_IMMUTABLE); notification.setContentIntent(contentIntent);