Fix bug where LoaderManager instances were not being removed.

Change-Id: Ic8385ff60623ecd3e9fe8ff4360aef2c3b11f24f
This commit is contained in:
Dianne Hackborn
2010-07-13 18:38:46 -07:00
parent 46c076d193
commit ef69fb82db

View File

@@ -316,6 +316,7 @@ public class FragmentManager {
throw new SuperNotCalledException("Fragment " + f
+ " did not call through to super.onDetach()");
}
f.mActivity.mAllLoaderManagers.remove(f.mIndex);
f.mActivity = null;
}
}