Merge pull request #489 from hackoder/master

Show K9 message body in notifications
here
Andreas Shimokawa 2017-01-05 17:14:09 +01:00 committed by GitHub
commit 380e3b3640
1 changed files with 4 additions and 0 deletions

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;
}