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

Commit 7489271c authored by Tim Kilbourn's avatar Tim Kilbourn Committed by Android Git Automerger
Browse files

am c405bae9: am 7071786e: Clear child FragmentManagers when destroying Fragments.

* commit 'c405bae9':
  Clear child FragmentManagers when destroying Fragments.
parents d8ccf8b7 c405bae9
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1402,6 +1402,7 @@ public class Fragment implements ComponentCallbacks2, OnCreateContextMenuListene
        mRestored = false;
        mBackStackNesting = 0;
        mFragmentManager = null;
        mChildFragmentManager = null;
        mActivity = null;
        mFragmentId = 0;
        mContainerId = 0;
+1 −0
Original line number Diff line number Diff line
@@ -1026,6 +1026,7 @@ final class FragmentManagerImpl extends FragmentManager {
                                    f.mActivity = null;
                                    f.mParentFragment = null;
                                    f.mFragmentManager = null;
                                    f.mChildFragmentManager = null;
                                }
                            }
                        }