OSDN Git Service

Fix bugs around restoring nested retained instance fragments
authorAdam Powell <adamp@google.com>
Wed, 23 Mar 2016 20:07:27 +0000 (13:07 -0700)
committerAdam Powell <adamp@google.com>
Wed, 23 Mar 2016 20:07:27 +0000 (13:07 -0700)
commiteacacb5989a9ad178694dce8f59767fc9b71ea89
treea18ec12cd78b2eee9bf0221b73cc46ceab657276
parent6266d8c959806a359571b0833702fbe46e9748f9
Fix bugs around restoring nested retained instance fragments

Framework edition

In a few configurations the child fragment state of a
retained-instance fragment would not be preserved correctly, leading
to child fragments not being restored. Clean this up along with live
state management issues that were leading to logged warnings during
normal fragment operation.

Bug 27371492
Bug 27477824

Change-Id: I847ac05b1757392580e008dc20c50c3ef365ca68
core/java/android/app/Fragment.java
core/java/android/app/FragmentManager.java