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

Commit 13c46575 authored by Yohei Yukawa's avatar Yohei Yukawa Committed by Android (Google) Code Review
Browse files

Merge "Remove the dependency on IMM#isActive() from SearchView" into main

parents a0d12c9c 60ff4b44
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2109,7 +2109,7 @@ public class SearchView extends LinearLayout implements CollapsibleActionView {
                return;
            }

            if (imm.isActive(this)) {
            if (imm.hasActiveInputConnection(this)) {
                // This means that SearchAutoComplete is already connected to the IME.
                // InputMethodManager#showSoftInput() is guaranteed to pass client-side focus check.
                mHasPendingShowSoftInputRequest = false;