Merge "Drain any pending touch events immediately if possible" into jb-dev

This commit is contained in:
John Reck
2012-05-07 10:05:00 -07:00
committed by Android (Google) Code Review

View File

@@ -5753,6 +5753,7 @@ public final class WebViewClassic implements WebViewProvider, WebViewProvider.Sc
if (mInputDispatcher.postPointerEvent(ev, getScrollX(),
getScrollY() - getTitleHeight(), mZoomManager.getInvScale())) {
mInputDispatcher.dispatchUiEvents();
return true;
} else {
Log.w(LOGTAG, "mInputDispatcher rejected the event!");