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

Commit eebebc9f authored by alanv's avatar alanv
Browse files

Ensure WebViewClassic calls super.onHoverEvent()

Bug: 6679763
Change-Id: I9b182f25fa1c4050ea3a046c896e82ffbb4651ad
parent 137bfad2
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1686,6 +1686,10 @@ public class WebView extends AbsoluteLayout
            WebView.super.computeScroll();
        }

        public boolean super_onHoverEvent(MotionEvent event) {
            return WebView.super.onHoverEvent(event);
        }

        public boolean super_performAccessibilityAction(int action, Bundle arguments) {
            return WebView.super.performAccessibilityAction(action, arguments);
        }
+1 −0
Original line number Diff line number Diff line
@@ -5711,6 +5711,7 @@ public final class WebViewClassic implements WebViewProvider, WebViewProvider.Sc
        int x = viewToContentX((int) event.getX() + getScrollX());
        int y = viewToContentY((int) event.getY() + getScrollY());
        mWebViewCore.sendMessage(EventHub.SET_MOVE_MOUSE, x, y);
        mWebViewPrivate.super_onHoverEvent(event);
        return true;
    }