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

Commit 6b82c266 authored by Leon Scroggins's avatar Leon Scroggins Committed by Android (Google) Code Review
Browse files

Merge "Dismiss IME when pressing Next or Previous."

parents 596913ba 261f42d6
Loading
Loading
Loading
Loading
+5 −0
Original line number Original line Diff line number Diff line
@@ -182,6 +182,11 @@ class FindActionModeCallback implements ActionMode.Callback, TextWatcher,


    @Override
    @Override
    public boolean onActionItemClicked(ActionMode mode, MenuItem item) {
    public boolean onActionItemClicked(ActionMode mode, MenuItem item) {
        if (mWebView == null) {
            throw new AssertionError(
                    "No WebView for FindActionModeCallback::onActionItemClicked");
        }
        mInput.hideSoftInputFromWindow(mWebView.getWindowToken(), 0);
        if (!mMatchesFound) {
        if (!mMatchesFound) {
            findAll();
            findAll();
            return true;
            return true;