Unifying various model update callbacks into one
Making the BubbleTextView.applyItem stateless so that it does not depend on the order of events
Bug: 390572144
Flag: EXEMPT refactor
Test: atest LauncherBindableItemsContainerTest
atest BubbleTextViewTest
Change-Id: Ib9c0ac6c330d6f4e08c3db5772d35787fa056b65
This commit is contained in:
1 parent
1809cb6ff3
commit
36c3112abf
19 files changed
+442
-370
No files matched your search
@@ -99,8 +99,7 @@ public class PackageInstallStateChangedTask implements ModelUpdateTask {
|
||||
});
|
||||
|
||||
if (!updates.isEmpty()) {
|
||||
taskController.scheduleCallbackTask(
|
||||
callbacks -> callbacks.bindRestoreItemsChange(updates));
|
||||
taskController.bindUpdatedWorkspaceItems(updates);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user