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

Commit 419e76b0 authored by android-build-team Robot's avatar android-build-team Robot
Browse files

Snap for 6663666 from 06d80c29 to rvc-qpr1-release

Change-Id: I0edef27c529b8a665cf49a550b5676bf34c650fa
parents 2e03b3a0 06d80c29
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -72,7 +72,7 @@ public class SearchFragment extends Fragment{

    public static void dismissFragment(FragmentManager fm) {
        SearchFragment fragment = get(fm);
        if (fragment != null) {
        if (fragment != null && fragment.getActivity() != null) {
            fragment.dismiss();
        }
    }
@@ -154,6 +154,11 @@ public class SearchFragment extends Fragment{
    }

    private void dismiss() {
        if (getActivity() == null) {
            // Fragment has already been detached from activity.
            return;
        }

        updateDirectoryVisibility(View.VISIBLE);

        FragmentTransaction ft = getParentFragmentManager().beginTransaction();