From 29e2f9a6d089febfc7bb83668d5e708a0f10399e Mon Sep 17 00:00:00 2001 From: M66B Date: Mon, 15 Jun 2020 17:08:01 +0200 Subject: [PATCH] Added comment --- app/src/main/java/eu/faircode/email/Core.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/src/main/java/eu/faircode/email/Core.java b/app/src/main/java/eu/faircode/email/Core.java index dcc52d7987..b68c3e077b 100644 --- a/app/src/main/java/eu/faircode/email/Core.java +++ b/app/src/main/java/eu/faircode/email/Core.java @@ -3044,6 +3044,11 @@ class Core { // Android 8+ O https://developer.android.com/training/notify-user/channels // Android 7+ N https://android-developers.googleblog.com/2016/06/notifications-in-android-n.html + // Group + // < 0: folder + // = 0: unified + // > 0: account + NotificationManager nm = (NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE); if (messages == null || messages.size() == 0 || nm == null) return notifications;