Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e666b10d authored by John Reck's avatar John Reck
Browse files

Drain any pending touch events immediately if possible

 Bug: 6317798

Change-Id: Id343801cf80817f587414224cc67c13d34efed04
parent d7247c76
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -5754,6 +5754,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!");