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

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

Snap for 6664727 from e0fdbab9 to sc-d1-release

Change-Id: Id8ec81833c9136e604764e9f26bd45b6c3bd33eb
parents c8b8671c e0fdbab9
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();