Merge "Fix inconsistency when dropping to hotseat"

This commit is contained in:
Adam Cohen
2012-07-12 15:55:15 -07:00
committed by Android (Google) Code Review
+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);
}