From 2367d260c0a48d5d74819c9e7c8563e76e6ee2b0 Mon Sep 17 00:00:00 2001 From: M66B Date: Sat, 25 Jul 2020 19:48:31 +0200 Subject: [PATCH] Added logging --- app/src/main/java/eu/faircode/email/Core.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/Core.java b/app/src/main/java/eu/faircode/email/Core.java index d2055a77e1..3912aa5d91 100644 --- a/app/src/main/java/eu/faircode/email/Core.java +++ b/app/src/main/java/eu/faircode/email/Core.java @@ -3198,8 +3198,10 @@ class Core { String channelId = message.getNotificationChannelId(); if (channelId != null) { NotificationChannel channel = nm.getNotificationChannel(channelId); - if (channel != null && channel.getImportance() == NotificationManager.IMPORTANCE_NONE) + if (channel != null && channel.getImportance() == NotificationManager.IMPORTANCE_NONE) { + Log.i("Notify disabled=" + message.id + " channel=" + channelId); continue; + } } }