OSDN Git Service

Execute pending transactions after FM state change.
authorGeorge Mount <mount@google.com>
Mon, 17 Apr 2017 22:46:23 +0000 (15:46 -0700)
committerGeorge Mount <mount@google.com>
Mon, 17 Apr 2017 22:48:51 +0000 (15:48 -0700)
commit46d624d0b5542ec37598bc81533246130dc5be10
treef597839b6d270f2867f73f803c94bc0c1cdd7e89
parentd39388219f0d8f0fc2ec1b61a8b339684c610182
Execute pending transactions after FM state change.

Bug 37255517

Because we no longer allow reentrant transactions
during fragment manager state changes, we must
have the pending transactions execute as soon as
the state changes. This allows developers to avoid
calling executePendingTransactions() in lifecycle
calls.

Support Lib: Icdecc018c7cb02f69a694b52c711ba9056469aa5
Test: I269c4c26224c9142d3800a30054f9ddd5b456edb

Change-Id: I849dde6482465e633df33243d99710ebf538cc9a
core/java/android/app/FragmentManager.java