Merge "Fixing empty screen created at the end, even when dragging the last item on the last screen." into ub-launcher3-burnaby
This commit is contained in:
commit
63aa46531a
1 file changed
+4
-4
@@ -2319,14 +2319,14 @@ public class Workspace extends PagedView
|
||||
throw new IllegalStateException(msg);
|
||||
}
|
||||
|
||||
DragView dv = mDragController.startDrag(b, dragLayerX, dragLayerY, source, child.getTag(),
|
||||
DragController.DRAG_ACTION_MOVE, dragVisualizeOffset, dragRect, scale, accessible);
|
||||
dv.setIntrinsicIconScaleFactor(source.getIntrinsicIconScaleFactor());
|
||||
|
||||
if (child.getParent() instanceof ShortcutAndWidgetContainer) {
|
||||
mDragSourceInternal = (ShortcutAndWidgetContainer) child.getParent();
|
||||
}
|
||||
|
||||
DragView dv = mDragController.startDrag(b, dragLayerX, dragLayerY, source, child.getTag(),
|
||||
DragController.DRAG_ACTION_MOVE, dragVisualizeOffset, dragRect, scale, accessible);
|
||||
dv.setIntrinsicIconScaleFactor(source.getIntrinsicIconScaleFactor());
|
||||
|
||||
b.recycle();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user