1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-28 21:06:50 +01:00

Log the flags also when passing the notification to device #456

This commit is contained in:
Daniele Gobbetti 2016-12-18 11:03:54 +01:00
parent 861c655b5d
commit f1965c7b00

View File

@ -258,7 +258,7 @@ public class NotificationListener extends NotificationListenerService {
notificationSpec.type = AppNotificationType.getInstance().get(source); notificationSpec.type = AppNotificationType.getInstance().get(source);
LOG.info("Processing notification from source " + source); LOG.info("Processing notification from source " + source + " with flags: " + notification.flags);
dissectNotificationTo(notification, notificationSpec, preferBigText); dissectNotificationTo(notification, notificationSpec, preferBigText);
notificationSpec.id = (int) sbn.getPostTime(); //FIMXE: a truly unique id would be better notificationSpec.id = (int) sbn.getPostTime(); //FIMXE: a truly unique id would be better