diff options
Diffstat (limited to 'src/com/android/launcher3/Workspace.java')
-rw-r--r-- | src/com/android/launcher3/Workspace.java | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/com/android/launcher3/Workspace.java b/src/com/android/launcher3/Workspace.java index e646dd916..cd1d8d9a2 100644 --- a/src/com/android/launcher3/Workspace.java +++ b/src/com/android/launcher3/Workspace.java @@ -72,7 +72,7 @@ import com.android.launcher3.dragndrop.SpringLoadedDragController; import com.android.launcher3.folder.Folder; import com.android.launcher3.folder.FolderIcon; import com.android.launcher3.graphics.DragPreviewProvider; -import com.android.launcher3.shortcuts.DeepShortcutsContainer; +import com.android.launcher3.popup.PopupContainerWithArrow; import com.android.launcher3.userevent.nano.LauncherLogProto.ContainerType; import com.android.launcher3.userevent.nano.LauncherLogProto.Target; import com.android.launcher3.util.ItemInfoMatcher; @@ -2267,9 +2267,10 @@ public class Workspace extends PagedView } if (child instanceof BubbleTextView) { - DeepShortcutsContainer dsc = DeepShortcutsContainer.showForIcon((BubbleTextView) child); - if (dsc != null) { - dragOptions.preDragCondition = dsc.createPreDragCondition(); + PopupContainerWithArrow popupContainer = PopupContainerWithArrow + .showForIcon((BubbleTextView) child); + if (popupContainer != null) { + dragOptions.preDragCondition = popupContainer.createPreDragCondition(); mLauncher.getUserEventDispatcher().resetElapsedContainerMillis(); } |