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

Commit a4b23164 authored by John Reck's avatar John Reck Committed by Android Git Automerger
Browse files

am 13934c2d: Merge "Prevent SET_SCROLL_OFFSET spam from clogging tubes" into honeycomb

* commit '13934c2d':
  Prevent SET_SCROLL_OFFSET spam from clogging tubes
parents 0cc515b4 13934c2d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2506,6 +2506,7 @@ public class WebView extends AbsoluteLayout
        // Rect.equals() checks for null input.
        if (!rect.equals(mLastVisibleRectSent)) {
            Point pos = new Point(rect.left, rect.top);
            mWebViewCore.removeMessages(EventHub.SET_SCROLL_OFFSET);
            mWebViewCore.sendMessage(EventHub.SET_SCROLL_OFFSET,
                    nativeMoveGeneration(), mUserScroll ? 1 : 0, pos);
            mLastVisibleRectSent = rect;