Added comment

This commit is contained in:
M66B 2020-06-15 17:08:01 +02:00
parent 8f1e90802b
commit 29e2f9a6d0
1 changed files with 5 additions and 0 deletions

View File

@ -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;