1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-14 22:19:29 +01:00

fix everything

This commit is contained in:
Andreas Shimokawa 2018-11-17 16:35:37 +01:00
parent b228c7b061
commit 7cf6a59420

View File

@ -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