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:
Adam Powell
2016-03-01 19:26:16 +00:00
committed by android-build-merger

View File

@@ -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();
}