Loading src/com/android/launcher3/popup/PopupDataProvider.java +3 −0 Original line number Original line Diff line number Diff line Loading @@ -75,6 +75,9 @@ public class PopupDataProvider implements NotificationListener.NotificationsChan notificationWasAddedOrRemoved = shouldBeFilteredOut notificationWasAddedOrRemoved = shouldBeFilteredOut ? badgeInfo.removeNotificationKey(notificationKey) ? badgeInfo.removeNotificationKey(notificationKey) : badgeInfo.addNotificationKeyIfNotExists(notificationKey); : badgeInfo.addNotificationKeyIfNotExists(notificationKey); if (badgeInfo.getNotificationCount() == 0) { mPackageUserToBadgeInfos.remove(postedPackageUserKey); } } } updateLauncherIconBadges(Utilities.singletonHashSet(postedPackageUserKey), updateLauncherIconBadges(Utilities.singletonHashSet(postedPackageUserKey), notificationWasAddedOrRemoved); notificationWasAddedOrRemoved); Loading Loading
src/com/android/launcher3/popup/PopupDataProvider.java +3 −0 Original line number Original line Diff line number Diff line Loading @@ -75,6 +75,9 @@ public class PopupDataProvider implements NotificationListener.NotificationsChan notificationWasAddedOrRemoved = shouldBeFilteredOut notificationWasAddedOrRemoved = shouldBeFilteredOut ? badgeInfo.removeNotificationKey(notificationKey) ? badgeInfo.removeNotificationKey(notificationKey) : badgeInfo.addNotificationKeyIfNotExists(notificationKey); : badgeInfo.addNotificationKeyIfNotExists(notificationKey); if (badgeInfo.getNotificationCount() == 0) { mPackageUserToBadgeInfos.remove(postedPackageUserKey); } } } updateLauncherIconBadges(Utilities.singletonHashSet(postedPackageUserKey), updateLauncherIconBadges(Utilities.singletonHashSet(postedPackageUserKey), notificationWasAddedOrRemoved); notificationWasAddedOrRemoved); Loading