From 7cf6a594205c1736190b42fb82f4e1006c78a8fb Mon Sep 17 00:00:00 2001 From: Andreas Shimokawa Date: Sat, 17 Nov 2018 16:35:37 +0100 Subject: [PATCH] fix everything --- .../gadgetbridge/externalevents/NotificationListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/externalevents/NotificationListener.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/externalevents/NotificationListener.java index fc01b3e41..39e461b52 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/externalevents/NotificationListener.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/externalevents/NotificationListener.java @@ -342,7 +342,7 @@ public class NotificationListener extends NotificationListenerService { muteAction.type = NotificationSpec.Action.TYPE_SYNTECTIC_MUTE; notificationSpec.attachedActions.add(muteAction); - mNotificationHandleLookup.add(notificationSpec.getId(), sbn.getId()); // for both DISMISS and OPEN + mNotificationHandleLookup.add(notificationSpec.getId(), sbn.getPostTime()); // for both DISMISS and OPEN //getPostTime()); // for both DISMISS and OPEN mPackageLookup.add(notificationSpec.getId(), sbn.getPackageName()); // for MUTE