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

Commit 261f42d6 authored by Leon Scroggins's avatar Leon Scroggins
Browse files

Dismiss IME when pressing Next or Previous.

Bug:3267230

Change-Id: If4ea2f589c42f7346685a7ce754298dd8e5a00b5
parent c948d07b
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -182,6 +182,11 @@ class FindActionModeCallback implements ActionMode.Callback, TextWatcher,

    @Override
    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) {
            findAll();
            return true;