Merge "Fix for the clearing of fling events" into jb-mr1-aah-dev

This commit is contained in:
Justin Koh
2012-10-08 10:52:06 -07:00
committed by Android (Google) Code Review

View File

@@ -132,7 +132,7 @@ class SimulatedTrackball {
mLastMoveX = 0;
mLastMoveY = 0;
// Clear any flings
mHandler.removeMessages(0);
mHandler.removeMessages(FLICK_MSG_ID);
break;
case MotionEvent.ACTION_HOVER_MOVE:
// Determine whether the move is slop or an intentional move