Merge "Correct state loss tracking for FragmentTransaction.commitNow" into nyc-dev am: 55fc649368
am: 3eb3620603
* commit '3eb362060313307f9f1d0961ac9d09c525e58aec':
Correct state loss tracking for FragmentTransaction.commitNow
This commit is contained in:
@@ -1525,7 +1525,7 @@ final class FragmentManagerImpl extends FragmentManager implements LayoutInflate
|
||||
throw new IllegalStateException("Must be called from main thread of fragment host");
|
||||
}
|
||||
|
||||
if (allowStateLoss) {
|
||||
if (!allowStateLoss) {
|
||||
checkStateLoss();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user