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

Commit ff22b182 authored by Android (Google) Code Review's avatar Android (Google) Code Review
Browse files

Merge change 25401 into eclair

* changes:
  Add a null checking to avoid crash.
parents 4b6a278c b641abf6
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -2908,6 +2908,8 @@ public class WebView extends AbsoluteLayout
                getContext().getSystemService(Context.INPUT_METHOD_SERVICE);
                getContext().getSystemService(Context.INPUT_METHOD_SERVICE);


        if (isTextView) {
        if (isTextView) {
            if (mWebTextView == null) return;

            imm.showSoftInput(mWebTextView, 0);
            imm.showSoftInput(mWebTextView, 0);
            // Now we need to fake a touch event to place the cursor where the
            // Now we need to fake a touch event to place the cursor where the
            // user touched.
            // user touched.