Skip to content

Commit a576076

Browse files
committed
The change no longer happens
1 parent d8d6868 commit a576076

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

com.unity.mobile.notifications/Runtime/Android/Plugins/com/unity/androidnotifications/UnityNotificationManager.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -402,8 +402,7 @@ private static void performNotificationHousekeeping(Context context, Set<String>
402402

403403
Set<String> invalid = findInvalidNotificationIds(context, ids);
404404
synchronized (UnityNotificationManager.class) {
405-
// list might have changed while we searched
406-
Set<String> currentIds = new HashSet<>(getScheduledNotificationIDs(context));
405+
Set<String> currentIds = new HashSet<>(ids);
407406
for (String id : invalid) {
408407
currentIds.remove(id);
409408
removeScheduledNotification(Integer.valueOf(id));

0 commit comments

Comments
 (0)