Merge "Generating a long-press even only when it's expected" into ub-launcher3-rvc-dev
This commit is contained in:
commit
7839eaa9b7
1 file changed
+1
-1
@@ -167,8 +167,8 @@ public class WorkspaceTouchListener extends GestureDetector.SimpleOnGestureListe
|
||||
|
||||
@Override
|
||||
public void onLongPress(MotionEvent event) {
|
||||
TestLogging.recordEvent(TestProtocol.SEQUENCE_MAIN, "Workspace.longPress");
|
||||
if (mLongPressState == STATE_REQUESTED) {
|
||||
TestLogging.recordEvent(TestProtocol.SEQUENCE_MAIN, "Workspace.longPress");
|
||||
if (canHandleLongPress()) {
|
||||
mLongPressState = STATE_PENDING_PARENT_INFORM;
|
||||
mWorkspace.getParent().requestDisallowInterceptTouchEvent(true);
|
||||
|
||||
Reference in new issue
Block a user