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

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

Do not call WebTextView.requestFocus if WebView is not focused.

Bug:3118097
Bug:3039912

Change-Id: I4c43f394c9dc3c9db58fb744d588dfb36f3221f4
parent 2754b4bd
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -3966,8 +3966,10 @@ public class WebView extends AbsoluteLayout
                imm.restartInput(mWebTextView);
            }
        }
        if (isFocused()) {
            mWebTextView.requestFocus();
        }
    }

    /**
     * Tell webkit to put the cursor on screen.