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

Commit 35574dd2 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Scrolling search results and autorotate cause crash" am: d1a2bef2 am:...

Merge "Scrolling search results and autorotate cause crash" am: d1a2bef2 am: e68c1cdc am: 72dd8534 am: e323190e am: 9523d4cb

Change-Id: I8b46e1504a59c6d17b4908853eb4b314bc1e3823
parents 7a5220b6 9523d4cb
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -344,10 +344,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();