Fix inconsistency when dropping to hotseat

Change-Id: I0c186f930713bf195b3966ba5cfeac78220370bd
This commit is contained in:
Adam Cohen
2012-07-12 15:43:01 -07:00
parent 7c7c66d3f3
commit bb00ff2666
+1 -1
View File
@@ -2153,7 +2153,7 @@ public class Workspace extends SmoothPagedView
// We want the point to be mapped to the dragTarget.
if (dropTargetLayout != null) {
if (mLauncher.isHotseatLayout(dropTargetLayout)) {
mapPointFromSelfToSibling(mLauncher.getHotseat(), mDragViewVisualCenter);
mapPointFromSelfToHotseatLayout(mLauncher.getHotseat(), mDragViewVisualCenter);
} else {
mapPointFromSelfToChild(dropTargetLayout, mDragViewVisualCenter, null);
}