去掉长按菜单
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user