Files
frameworks_base/core/java/android
Adam Powell 371a809179 Inflate fragments from layout into child FragmentManagers
Previously, if an app inflated a layout in a Fragment's onCreateView
that itself had fragments included, those fragments would be added to
the Activity-level FragmentManager and would not share the same
lifecycle with the fragment it was inflated for. This led to some
nasty management headaches.

If an app targets L or above, add the fragment to the child
FragmentManager of the current fragment when inflated using the
LayoutInflater passed to the parent fragment.

Bug 12763389

Change-Id: Iad4ed7d5df602aea9579bf1503e206fa894630c1
2014-06-24 12:29:32 -07:00
..
2014-05-28 09:13:45 +02:00
2014-06-06 13:33:16 -07:00
2014-06-06 13:33:16 -07:00
2014-06-13 13:43:26 +01:00
2014-06-20 15:16:47 -07:00