Move update popup header out of BubbleTextView
Now we update from Launcher, which is both more efficient (only run it when badges update, not whenever BubbleTextView applies an ItemInfo) and more logical/cleaner. Change-Id: Ib77433d9489c29e9781b3a48de37de0e07b5ba07
This commit is contained in:
1 parent
0fa96ea2f6
commit
2fe09f24eb
3 files changed
+23
-25
No files matched your search
@@ -1576,6 +1576,11 @@ public class Launcher extends BaseActivity
|
||||
public void run() {
|
||||
mWorkspace.updateIconBadges(updatedBadges);
|
||||
mAppsView.updateIconBadges(updatedBadges);
|
||||
|
||||
PopupContainerWithArrow popup = PopupContainerWithArrow.getOpen(Launcher.this);
|
||||
if (popup != null) {
|
||||
popup.updateNotificationHeader(updatedBadges);
|
||||
}
|
||||
}
|
||||
};
|
||||
if (!waitUntilResume(r)) {
|
||||
|
||||
Reference in new issue
Block a user