am 890db42b: Merge "Not create context menu when mouse right click outside list/grid items" into klp-dev

* commit '890db42b0d4873bf3a19cd784bb7497db2add22e':
  Not create context menu when mouse right click outside list/grid items
This commit is contained in:
Alan Viverette
2013-08-12 14:26:52 -07:00
committed by Android Git Automerger

View File

@@ -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);
} }
} }