Merge "Fix 3300849: Illegal state exception during dragging." into honeycomb
diff --git a/src/com/android/launcher2/Workspace.java b/src/com/android/launcher2/Workspace.java
index 8e0308c..3f3088f 100644
--- a/src/com/android/launcher2/Workspace.java
+++ b/src/com/android/launcher2/Workspace.java
@@ -1622,10 +1622,8 @@
}
mDragInfo = cellInfo;
- mDragInfo.screen = mCurrentPage;
- CellLayout current = getCurrentDropLayout();
-
+ CellLayout current = (CellLayout) getChildAt(cellInfo.screen);
current.onDragChild(child);
child.clearFocus();