Fixed app shortcut widget

- closes : #5101
- closes : #5056
- closes : #5055
This commit is contained in:
MrSluffy
2024-12-26 10:48:38 +08:00
parent eb6e45d7ca
commit c41eb8ac8f
7 changed files with 26 additions and 28 deletions

View File

@@ -137,6 +137,10 @@ public interface WorkspaceLayoutManager {
// Get the canonical child id to uniquely represent this view in this screen
ItemInfo info = (ItemInfo) child.getTag();
if (info == null) {
Log.e(TAG, "Attempted to add null item to workspace");
return;
}
int childId = info.getViewId();
boolean markCellsAsOccupied = !(child instanceof Folder);