summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/allapps/AllAppsStore.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/launcher3/allapps/AllAppsStore.java')
-rw-r--r--src/com/android/launcher3/allapps/AllAppsStore.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/com/android/launcher3/allapps/AllAppsStore.java b/src/com/android/launcher3/allapps/AllAppsStore.java
index dc3489290..cf0f2a3fe 100644
--- a/src/com/android/launcher3/allapps/AllAppsStore.java
+++ b/src/com/android/launcher3/allapps/AllAppsStore.java
@@ -121,12 +121,12 @@ public class AllAppsStore {
mIconContainers.remove(container);
}
- public void updateIconBadges(Set<PackageUserKey> updatedBadges) {
+ public void updateNotificationDots(Set<PackageUserKey> updatedDots) {
updateAllIcons((child) -> {
if (child.getTag() instanceof ItemInfo) {
ItemInfo info = (ItemInfo) child.getTag();
- if (mTempKey.updateFromItemInfo(info) && updatedBadges.contains(mTempKey)) {
- child.applyBadgeState(info, true /* animate */);
+ if (mTempKey.updateFromItemInfo(info) && updatedDots.contains(mTempKey)) {
+ child.applyDotState(info, true /* animate */);
}
}
});