Fix inconsistency when dropping to hotseat
Change-Id: I0c186f930713bf195b3966ba5cfeac78220370bd
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user