Merge "Call entry clean up when removing pending entries"

This commit is contained in:
TreeHugger Robot
2020-02-11 19:55:23 +00:00
committed by Android (Google) Code Review

View File

@@ -290,6 +290,9 @@ public class NotificationEntryManager implements
NotificationEntry entry = mPendingNotifications.get(key);
entry.abortTask();
mPendingNotifications.remove(key);
for (NotifCollectionListener listener : mNotifCollectionListeners) {
listener.onEntryCleanUp(entry);
}
mLogger.logInflationAborted(key, "pending", reason);
}
NotificationEntry addedEntry = getActiveNotificationUnfiltered(key);