Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 04030d5a authored by Tony Wickham's avatar Tony Wickham Committed by android-build-merger
Browse files

Merge "Remove badge info from map when count is 0." into ub-launcher3-dorval

am: 0402efba

Change-Id: I4134b0df23339d5c376a31b9e0f9cd8518e62f0e
parents 4eaacc74 0402efba
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -75,6 +75,9 @@ public class PopupDataProvider implements NotificationListener.NotificationsChan
            notificationWasAddedOrRemoved = shouldBeFilteredOut
                    ? badgeInfo.removeNotificationKey(notificationKey)
                    : badgeInfo.addNotificationKeyIfNotExists(notificationKey);
            if (badgeInfo.getNotificationCount() == 0) {
                mPackageUserToBadgeInfos.remove(postedPackageUserKey);
            }
        }
        updateLauncherIconBadges(Utilities.singletonHashSet(postedPackageUserKey),
                notificationWasAddedOrRemoved);