mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-06-05 21:49:48 +02:00
Merge pull request #489 from hackoder/master
Show K9 message body in notifications
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user