mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-01 08:16:49 +00:00
Fixed app shortcut widget
- closes : #5101 - closes : #5056 - closes : #5055
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user