mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-04 06:20:26 +00:00
Added comment
This commit is contained in:
parent
8f1e90802b
commit
29e2f9a6d0
1 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue