Loading src/com/android/launcher3/shortcuts/DeepShortcutsContainer.java +3 −1 Original line number Diff line number Diff line Loading @@ -427,8 +427,10 @@ public class DeepShortcutsContainer extends AbstractFloatingView public boolean onLongClick(View v) { // Return early if this is not initiated from a touch or not the correct view if (!v.isInTouchMode() || !(v.getParent() instanceof DeepShortcutView)) return false; // Return if global dragging is not enabled // Return early if global dragging is not enabled if (!mLauncher.isDraggingEnabled()) return false; // Return early if an item is already being dragged (e.g. when long-pressing two shortcuts) if (mLauncher.getDragController().isDragging()) return false; // Long clicked on a shortcut. mDeferContainerRemoval = true; Loading Loading
src/com/android/launcher3/shortcuts/DeepShortcutsContainer.java +3 −1 Original line number Diff line number Diff line Loading @@ -427,8 +427,10 @@ public class DeepShortcutsContainer extends AbstractFloatingView public boolean onLongClick(View v) { // Return early if this is not initiated from a touch or not the correct view if (!v.isInTouchMode() || !(v.getParent() instanceof DeepShortcutView)) return false; // Return if global dragging is not enabled // Return early if global dragging is not enabled if (!mLauncher.isDraggingEnabled()) return false; // Return early if an item is already being dragged (e.g. when long-pressing two shortcuts) if (mLauncher.getDragController().isDragging()) return false; // Long clicked on a shortcut. mDeferContainerRemoval = true; Loading