Merge "Perform onDestroy when FragmentController is torn down."
This commit is contained in:
committed by
Android (Google) Code Review
commit
42875e6cf6
@@ -1233,9 +1233,9 @@ final class FragmentManagerImpl extends FragmentManager implements LayoutInflate
|
||||
int nextState = mCurState;
|
||||
if (f.mRemoving) {
|
||||
if (f.isInBackStack()) {
|
||||
nextState = Fragment.CREATED;
|
||||
nextState = Math.min(nextState, Fragment.CREATED);
|
||||
} else {
|
||||
nextState = Fragment.INITIALIZING;
|
||||
nextState = Math.min(nextState, Fragment.INITIALIZING);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user