去掉长按菜单

This commit is contained in:
2020-11-03 16:11:05 +08:00
parent 76f6b7bfd1
commit a0d3205fbf
2 changed files with 2 additions and 2 deletions

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
// the screen.
OptionsPopupView.showDefaultOptions(this, -1, -1);
// OptionsPopupView.showDefaultOptions(this, -1, -1);
}
return true;
}

View File

@@ -175,7 +175,7 @@ public class WorkspaceTouchListener extends GestureDetector.SimpleOnGestureListe
mLauncher.getUserEventDispatcher().logActionOnContainer(Action.Touch.LONGPRESS,
Action.Direction.NONE, ContainerType.WORKSPACE,
mWorkspace.getCurrentPage());
OptionsPopupView.showDefaultOptions(mLauncher, mTouchDownPoint.x, mTouchDownPoint.y);
// OptionsPopupView.showDefaultOptions(mLauncher, mTouchDownPoint.x, mTouchDownPoint.y);
} else {
cancelLongPress();
}