diff --git a/app/src/main/java/eu/faircode/email/Core.java b/app/src/main/java/eu/faircode/email/Core.java index b6c97bc40f..3ab02a4226 100644 --- a/app/src/main/java/eu/faircode/email/Core.java +++ b/app/src/main/java/eu/faircode/email/Core.java @@ -1931,7 +1931,9 @@ class Core { private static List getNotificationUnseen(Context context, String group, List messages) { List notifications = new ArrayList<>(); - // https://developer.android.com/training/notify-user/group + + // Android 7+ https://developer.android.com/training/notify-user/group + // Android 8+ https://developer.android.com/training/notify-user/channels NotificationManager nm = (NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE); if (messages == null || messages.size() == 0 || nm == null)