去掉长按菜单

This commit is contained in:
tt committed 2020-11-03 16:11:05 +08:00
1 parent 76f6b7bfd1
commit a0d3205fbf
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -2563,7 +2563,7 @@ public class Launcher extends BaseDraggingActivity implements LauncherExterns,
// Setting the touch point to (-1, -1) will show the options popup in the center of // Setting the touch point to (-1, -1) will show the options popup in the center of
// the screen. // the screen.
OptionsPopupView.showDefaultOptions(this, -1, -1); // OptionsPopupView.showDefaultOptions(this, -1, -1);
} }
return true; return true;
} }
@@ -175,7 +175,7 @@ public class WorkspaceTouchListener extends GestureDetector.SimpleOnGestureListe
mLauncher.getUserEventDispatcher().logActionOnContainer(Action.Touch.LONGPRESS, mLauncher.getUserEventDispatcher().logActionOnContainer(Action.Touch.LONGPRESS,
Action.Direction.NONE, ContainerType.WORKSPACE, Action.Direction.NONE, ContainerType.WORKSPACE,
mWorkspace.getCurrentPage()); mWorkspace.getCurrentPage());
OptionsPopupView.showDefaultOptions(mLauncher, mTouchDownPoint.x, mTouchDownPoint.y); // OptionsPopupView.showDefaultOptions(mLauncher, mTouchDownPoint.x, mTouchDownPoint.y);
} else { } else {
cancelLongPress(); cancelLongPress();
} }