Merge "Fix inconsistency when dropping to hotseat"

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