Added comment

pull/157/head
M66B 5 years ago
parent 9e9c3ccff1
commit a8d18b8bf7

@ -1931,7 +1931,9 @@ class Core {
private static List<Notification> getNotificationUnseen(Context context, String group, List<TupleMessageEx> messages) { private static List<Notification> getNotificationUnseen(Context context, String group, List<TupleMessageEx> messages) {
List<Notification> notifications = new ArrayList<>(); List<Notification> 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); NotificationManager nm = (NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE);
if (messages == null || messages.size() == 0 || nm == null) if (messages == null || messages.size() == 0 || nm == null)

Loading…
Cancel
Save