Fix folder creation bug 5037239
Change-Id: I0e629b186c94ca3ccaa188de94846d2bbbca83a4
This commit is contained in:
@@ -2072,8 +2072,8 @@ public class Workspace extends SmoothPagedView
|
||||
boolean considerTimeout) {
|
||||
View dropOverView = target.getChildAt(targetCell[0], targetCell[1]);
|
||||
|
||||
boolean hasntMoved = mDragInfo != null
|
||||
&& (mDragInfo.cellX == targetCell[0] && mDragInfo.cellY == targetCell[1]);
|
||||
boolean hasntMoved = mDragInfo != null && (mDragInfo.cellX == targetCell[0] &&
|
||||
mDragInfo.cellY == targetCell[1]) && mDragInfo.screen == indexOfChild(target);
|
||||
|
||||
if (dropOverView == null || hasntMoved || (considerTimeout && !mCreateUserFolderOnDrop)) {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user