Merge "Set host when restoring a fragment" into mnc-dr-dev am: 986d4b482d am: d419d86952
am: e9c7512147
* commit 'e9c751214715f3d136ae07fe9f553c488d01f352':
Set host when restoring a fragment
This commit is contained in:
@@ -2221,6 +2221,7 @@ final class FragmentManagerImpl extends FragmentManager implements LayoutInflate
|
|||||||
// This fragment was retained from a previous instance; get it
|
// This fragment was retained from a previous instance; get it
|
||||||
// going now.
|
// going now.
|
||||||
fragment.mInLayout = true;
|
fragment.mInLayout = true;
|
||||||
|
fragment.mHost = mHost;
|
||||||
// If this fragment is newly instantiated (either right now, or
|
// If this fragment is newly instantiated (either right now, or
|
||||||
// from last saved state), then give it the attributes to
|
// from last saved state), then give it the attributes to
|
||||||
// initialize itself.
|
// initialize itself.
|
||||||
|
|||||||
Reference in New Issue
Block a user