Merge "Include MotionEvent on ACTION_MOVE's TouchEventData"

This commit is contained in:
John Reck
2012-03-20 09:57:49 -07:00
committed by Android (Google) Code Review

View File

@@ -6221,6 +6221,7 @@ public final class WebViewClassic implements WebViewProvider, WebViewProvider.Sc
ted.mReprocess = mDeferTouchProcess;
ted.mNativeLayer = mCurrentScrollingLayerId;
ted.mNativeLayerRect.set(mScrollingLayerRect);
ted.mMotionEvent = MotionEvent.obtain(ev);
ted.mSequence = mTouchEventQueue.nextTouchSequence();
mTouchEventQueue.preQueueTouchEventData(ted);
mWebViewCore.sendMessage(EventHub.TOUCH_EVENT, ted);