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

Show K9 message body in notifications

This commit is contained in:
Hasan Ammar 2017-01-02 19:03:02 -05:00
parent 507e58922f
commit 0ba377bb42

View File

@ -252,6 +252,10 @@ public class NotificationListener extends NotificationListenerService {
notificationSpec.type = AppNotificationType.getInstance().get(source);
if (source.equals("com.fsck.k9")) {
preferBigText = true;
}
if (notificationSpec.type == null) {
notificationSpec.type = NotificationType.UNKNOWN;
}