1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-30 14:02:56 +01:00

Ignore summary information for k9 mail

(#373)
This commit is contained in:
Andreas Shimokawa 2017-01-09 18:34:22 +01:00
parent 8c0f5599a1
commit fda317671a

View File

@ -253,6 +253,10 @@ public class NotificationListener extends NotificationListenerService {
notificationSpec.type = AppNotificationType.getInstance().get(source); notificationSpec.type = AppNotificationType.getInstance().get(source);
if (source.equals("com.fsck.k9")) { if (source.equals("com.fsck.k9")) {
// we dont want group summaries at all for k9
if ((notification.flags & Notification.FLAG_GROUP_SUMMARY) == Notification.FLAG_GROUP_SUMMARY) {
return;
}
preferBigText = true; preferBigText = true;
} }