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

Commit 68b82ed4 authored by android-build-team Robot's avatar android-build-team Robot
Browse files

Snap for 6664315 from 9759f12e to sc-release

Change-Id: Ibaf02f226e9e0634b8d5ec43440b554910e47eba
parents 1695ed71 9759f12e
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();