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

Commit 72e5a882 authored by Amith Yamasani's avatar Amith Yamasani Committed by Android (Google) Code Review
Browse files

Merge "Restart input when moving to a new textfield."

parents 78737256 5c84bf0a
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -3379,6 +3379,10 @@ public class WebView extends AbsoluteLayout
                text = "";
            }
            mWebTextView.setTextAndKeepSelection(text);
            InputMethodManager imm = InputMethodManager.peekInstance();
            if (imm != null && imm.isActive(mWebTextView)) {
                imm.restartInput(mWebTextView);
            }
        }
        mWebTextView.requestFocus();
    }