Include MotionEvent on ACTION_MOVE's TouchEventData

Change-Id: Iaf2aa284d0e794d0d9fa430b7c0da2aedd196ce1
This commit is contained in:
John Reck
2012-03-16 19:20:00 -07:00
parent 4513bc0f28
commit 3869fa2294

View File

@@ -6130,6 +6130,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);