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

Commit 32f038de authored by George Mount's avatar George Mount Committed by Android (Google) Code Review
Browse files

Merge "Check for null mWebViewCore in selectText"

parents 9c6b01a7 07c9e296
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -4677,6 +4677,9 @@ public final class WebViewClassic implements WebViewProvider, WebViewProvider.Sc
     * Select the word at the indicated content coordinates.
     */
    boolean selectText(int x, int y) {
        if (mWebViewCore == null) {
            return false;
        }
        mWebViewCore.sendMessage(EventHub.SELECT_WORD_AT, x, y);
        return true;
    }