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

Commit ef69fb82 authored by Dianne Hackborn's avatar Dianne Hackborn
Browse files

Fix bug where LoaderManager instances were not being removed.

Change-Id: Ic8385ff60623ecd3e9fe8ff4360aef2c3b11f24f
parent 46c076d1
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -316,6 +316,7 @@ public class FragmentManager {
                            throw new SuperNotCalledException("Fragment " + f
                            throw new SuperNotCalledException("Fragment " + f
                                    + " did not call through to super.onDetach()");
                                    + " did not call through to super.onDetach()");
                        }
                        }
                        f.mActivity.mAllLoaderManagers.remove(f.mIndex);
                        f.mActivity = null;
                        f.mActivity = null;
                    }
                    }
            }
            }