Merge "Fix bug where add to folder fails even when folder creation animation runs." into ub-launcher3-edmonton-polish
This commit is contained in:
commit
3871e72686
1 file changed
+6
-1
@@ -2387,7 +2387,12 @@ public class Workspace extends PagedView<WorkspacePageIndicator>
|
||||
|
||||
private void manageFolderFeedback(CellLayout targetLayout,
|
||||
int[] targetCell, float distance, DragObject dragObject) {
|
||||
if (distance > mMaxDistanceForFolderCreation) return;
|
||||
if (distance > mMaxDistanceForFolderCreation) {
|
||||
if (mDragMode != DRAG_MODE_NONE) {
|
||||
setDragMode(DRAG_MODE_NONE);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
final View dragOverView = mDragTargetLayout.getChildAt(mTargetCell[0], mTargetCell[1]);
|
||||
ItemInfo info = dragObject.dragInfo;
|
||||
|
||||
Reference in new issue
Block a user