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

Commit af91ab71 authored by Tarandeep Singh's avatar Tarandeep Singh
Browse files

Override checkInputConnectionProxy in SearchView.

SearchView's editor is SearchView#SearchAutoComplete. In order to
correctly determine if SearchView's inner editor has the current
InputConnection, SearchView#SearchAutoComplete must override
check InputConnectionProxy to return true.
Note: this change will also be cherrypicked to jetpack

Bug: 112399521
Test: Manually tested using steps mentioned in bug.
Change-Id: If4d202d0070974cbda4cb3c78febe3049001972b
parent b70f4b51
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -2078,6 +2078,11 @@ public class SearchView extends LinearLayout implements CollapsibleActionView {
            return ic;
        }

        @Override
        public boolean checkInputConnectionProxy(View view) {
            return view == mSearchView;
        }

        private void showSoftInputIfNecessary() {
            if (mHasPendingShowSoftInputRequest) {
                final InputMethodManager imm =