Merge "Prevent duplicate loader onLoadFinished calls on config change" into nyc-dev

This commit is contained in:
Adam Powell
2016-04-11 22:57:45 +00:00
committed by Android (Google) Code Review

View File

@@ -318,7 +318,7 @@ class LoaderManagerImpl extends LoaderManager {
if (mStarted) {
if (mReportNextStart) {
mReportNextStart = false;
if (mHaveData) {
if (mHaveData && !mRetaining) {
callOnLoadFinished(mLoader, mData);
}
}