Merge "Set host when restoring a fragment" into mnc-dr-dev

This commit is contained in:
Todd Kennedy
2015-10-19 22:52:27 +00:00
committed by Android (Google) Code Review

View File

@@ -2221,6 +2221,7 @@ final class FragmentManagerImpl extends FragmentManager implements LayoutInflate
// This fragment was retained from a previous instance; get it
// going now.
fragment.mInLayout = true;
fragment.mHost = mHost;
// If this fragment is newly instantiated (either right now, or
// from last saved state), then give it the attributes to
// initialize itself.