Removing listeners from FolderInfo
Folder and FolderIcon are UI objects and can talk to each other directly. FolderInfo changes are already propogated via model callbacks, and doesn't need a separate listener pattern. Bug: 398791288 Flag: EXEMPT bugfix Test: atest FolderTest Change-Id: Iefd47b8ea12a8ecaf34211a3d908220a0e999187
This commit is contained in:
1 parent
a29ec52cce
commit
1ac78b6ec6
14 files changed
+193
-368
No files matched your search
@@ -229,7 +229,7 @@ public class ModelWriter {
|
||||
}).executeOnModelThread();
|
||||
}
|
||||
|
||||
private void notifyItemModified(ItemInfo item) {
|
||||
public void notifyItemModified(ItemInfo item) {
|
||||
notifyOtherCallbacks(c -> c.bindItemsModified(Collections.singletonList(item)));
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user