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

Commit acea08d2 authored by Leon Scroggins's avatar Leon Scroggins
Browse files

Prevent a null pointer exception.

Bug 2721268

Change-Id: I3a9e838ed3f2f9dccdf7b4bf42a0dbad58e62e02
parent 9bd8034a
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -3459,8 +3459,10 @@ public class WebView extends AbsoluteLayout
     *  @param  end     End of selection.
     */
    /* package */ void setSelection(int start, int end) {
        if (mWebViewCore != null) {
            mWebViewCore.sendMessage(EventHub.SET_SELECTION, start, end);
        }
    }

    @Override
    public InputConnection onCreateInputConnection(EditorInfo outAttrs) {