去掉抽屉,去掉取消按钮
This commit is contained in:
@@ -1511,15 +1511,15 @@ public class Workspace extends PagedView<WorkspacePageIndicator>
|
||||
mDragSourceInternal = (ShortcutAndWidgetContainer) child.getParent();
|
||||
}
|
||||
|
||||
if (child instanceof BubbleTextView && !dragOptions.isAccessibleDrag) {
|
||||
PopupContainerWithArrow popupContainer = PopupContainerWithArrow
|
||||
.showForIcon((BubbleTextView) child);
|
||||
if (popupContainer != null) {
|
||||
dragOptions.preDragCondition = popupContainer.createPreDragCondition();
|
||||
|
||||
mLauncher.getUserEventDispatcher().resetElapsedContainerMillis("dragging started");
|
||||
}
|
||||
}
|
||||
// if (child instanceof BubbleTextView && !dragOptions.isAccessibleDrag) {
|
||||
// PopupContainerWithArrow popupContainer = PopupContainerWithArrow
|
||||
// .showForIcon((BubbleTextView) child);
|
||||
// if (popupContainer != null) {
|
||||
// dragOptions.preDragCondition = popupContainer.createPreDragCondition();
|
||||
//
|
||||
// mLauncher.getUserEventDispatcher().resetElapsedContainerMillis("dragging started");
|
||||
// }
|
||||
// }
|
||||
|
||||
DragView dv = mDragController.startDrag(b, dragLayerX, dragLayerY, source,
|
||||
dragObject, dragVisualizeOffset, dragRect, scale * iconScale, scale, dragOptions);
|
||||
|
||||
Reference in New Issue
Block a user