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

am: d419d86952

* commit 'd419d86952fd962e34011eb3d989f748e678691d':
  Set host when restoring a fragment
This commit is contained in:
Todd Kennedy
2015-10-19 23:31:34 +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.