Merge "Refactoring ItemInfo" into ub-launcher3-master

This commit is contained in:
Sunny Goyal
2015-07-07 06:06:58 +00:00
committed by Android (Google) Code Review
22 changed files with 92 additions and 178 deletions

View File

@@ -517,7 +517,7 @@ public class AllAppsContainerView extends BaseContainerView implements DragSourc
int currentScreen = mLauncher.getCurrentWorkspaceScreen();
Workspace workspace = (Workspace) target;
CellLayout layout = (CellLayout) workspace.getChildAt(currentScreen);
ItemInfo itemInfo = (ItemInfo) d.dragInfo;
ItemInfo itemInfo = d.dragInfo;
if (layout != null) {
layout.calculateSpans(itemInfo);
showOutOfSpaceMessage =