Merge "Not create context menu when mouse right click outside list/grid items" into klp-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
890db42b0d
@@ -3485,7 +3485,8 @@ public abstract class AbsListView extends AdapterView<ListAdapter> implements Te
|
|||||||
mLastY = Integer.MIN_VALUE;
|
mLastY = Integer.MIN_VALUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (performButtonActionOnTouchDown(ev) && (mTouchMode == TOUCH_MODE_DOWN)) {
|
if (mTouchMode == TOUCH_MODE_DOWN && mMotionPosition != INVALID_POSITION
|
||||||
|
&& performButtonActionOnTouchDown(ev)) {
|
||||||
removeCallbacks(mPendingCheckForTap);
|
removeCallbacks(mPendingCheckForTap);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user