Merge changes from topic "revert-20479526-revert-20427045-258023561-BPDASTWITO-FBDWZBDEFC" into tm-qpr-dev
* changes: Fixing the revert by not continuing the reorder if the solution is null. Revert "Revert "Reorder widgets no longer overlaps when no space..."
This commit is contained in:
commit
691c6e511f
3 files changed
+36
-22
No files matched your search
@@ -2616,7 +2616,6 @@ public class Workspace<T extends View & PageIndicator> extends PagedView<T>
|
||||
setDragMode(DRAG_MODE_REORDER);
|
||||
}
|
||||
|
||||
boolean resize = resultSpan[0] != spanX || resultSpan[1] != spanY;
|
||||
mDragTargetLayout.visualizeDropLocation(mTargetCell[0], mTargetCell[1],
|
||||
resultSpan[0], resultSpan[1], dragObject);
|
||||
}
|
||||
@@ -2973,7 +2972,7 @@ public class Workspace<T extends View & PageIndicator> extends PagedView<T>
|
||||
*/
|
||||
@Thunk int[] findNearestArea(int pixelX, int pixelY,
|
||||
int spanX, int spanY, CellLayout layout, int[] recycle) {
|
||||
return layout.findNearestArea(
|
||||
return layout.findNearestAreaIgnoreOccupied(
|
||||
pixelX, pixelY, spanX, spanY, recycle);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user