Loading src/com/android/settings/intelligence/search/SearchFragment.java +5 −3 Original line number Diff line number Diff line Loading @@ -359,10 +359,12 @@ public class SearchFragment extends Fragment implements SearchView.OnQueryTextLi final Activity activity = getActivity(); if (activity != null) { View view = activity.getCurrentFocus(); if (view != null) { InputMethodManager imm = (InputMethodManager) activity.getSystemService(Context.INPUT_METHOD_SERVICE); imm.hideSoftInputFromWindow(view.getWindowToken(), 0); } } if (mResultsRecyclerView != null) { mResultsRecyclerView.requestFocus(); Loading Loading
src/com/android/settings/intelligence/search/SearchFragment.java +5 −3 Original line number Diff line number Diff line Loading @@ -359,10 +359,12 @@ public class SearchFragment extends Fragment implements SearchView.OnQueryTextLi final Activity activity = getActivity(); if (activity != null) { View view = activity.getCurrentFocus(); if (view != null) { InputMethodManager imm = (InputMethodManager) activity.getSystemService(Context.INPUT_METHOD_SERVICE); imm.hideSoftInputFromWindow(view.getWindowToken(), 0); } } if (mResultsRecyclerView != null) { mResultsRecyclerView.requestFocus(); Loading