Merge "Set host when restoring a fragment" into mnc-dr-dev am: 986d4b482d am: d419d86952 am: e9c7512147

am: eede174f7b

* commit 'eede174f7b7ee6fa8f1ad7de237c1d647a5db05f':
  Set host when restoring a fragment
This commit is contained in:
Todd Kennedy
2015-10-20 01:16:19 +00:00
committed by android-build-merger

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.