SearchView improvement for IME
- fix IME not closing when not having a SearchableInfo Change-Id: I3e6e168be1e26138fe0ceb967bbd12fa35db0903
This commit is contained in:
@@ -1171,8 +1171,8 @@ public class SearchView extends LinearLayout implements CollapsibleActionView {
|
||||
|| !mOnQueryChangeListener.onQueryTextSubmit(query.toString())) {
|
||||
if (mSearchable != null) {
|
||||
launchQuerySearch(KeyEvent.KEYCODE_UNKNOWN, null, query.toString());
|
||||
setImeVisibility(false);
|
||||
}
|
||||
setImeVisibility(false);
|
||||
dismissSuggestions();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user