1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-07-09 07:01:33 +02:00

Ignore group summary of k9 notifications

Fixes part of #1336
This commit is contained in:
Andreas Shimokawa 2018-11-14 23:59:26 +01:00
parent d6a06d0c16
commit bd874089d0

View File

@ -239,7 +239,12 @@ public class NotificationListener extends NotificationListenerService {
notificationSpec.type = AppNotificationType.getInstance().get(source);
//FIXME: some quirks lookup table would be the minor evil here
if (source.startsWith("com.fsck.k9")) {
if (NotificationCompat.isGroupSummary(notification)) {
LOG.info("ignore K9 group summary");
return;
}
preferBigText = true;
}