mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-12-25 18:15:49 +01:00
Merge pull request #489 from hackoder/master
Show K9 message body in notifications
This commit is contained in:
commit
380e3b3640
@ -252,6 +252,10 @@ public class NotificationListener extends NotificationListenerService {
|
|||||||
|
|
||||||
notificationSpec.type = AppNotificationType.getInstance().get(source);
|
notificationSpec.type = AppNotificationType.getInstance().get(source);
|
||||||
|
|
||||||
|
if (source.equals("com.fsck.k9")) {
|
||||||
|
preferBigText = true;
|
||||||
|
}
|
||||||
|
|
||||||
if (notificationSpec.type == null) {
|
if (notificationSpec.type == null) {
|
||||||
notificationSpec.type = NotificationType.UNKNOWN;
|
notificationSpec.type = NotificationType.UNKNOWN;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user