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

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

Bring up the soft keyboard when touching a focused textfield.

Fix for http://b/issue?id=2118333

Change-Id: Ifa540de139b35548dde2b714b628ca1879a605c5
parent dd817492
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -4885,6 +4885,9 @@ public class WebView extends AbsoluteLayout
        }
        int x = viewToContentX((int) event.getX() + mWebTextView.getLeft());
        int y = viewToContentY((int) event.getY() + mWebTextView.getTop());
        // In case the soft keyboard has been dismissed, bring it back up.
        InputMethodManager.getInstance(getContext()).showSoftInput(mWebTextView,
                0);
        nativeTextInputMotionUp(x, y);
    }