summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorAdam Powell <adamp@google.com>2017-01-31 14:54:07 -0800
committerAdam Powell <adamp@google.com>2017-01-31 14:58:17 -0800
commitadfd62c484f6d888cc9339e79619ccf72c3b133f (patch)
treea246d19cbe9959a6a0ed0572e19e0d93b40d2cd1 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent2591ce4d9fb834568b0a5fe3e7d1d8f9368eb56b (diff)
Fragment grab bag!
* Fragment#isStateSaved: report whether a given fragment has been through state save within its given FragmentManager. This will additionally echo the state of its child FragmentManager, indicating whether it is safe to perform transactions without losing state. * Fragment#setArguments can now be called at any time before a fragment's state is saved, not just before an internal index is assigned. This fixes an issue with assigning arguments during fragment inflation in some code paths. * FragmentTransaction#postOnCommit: Add a Runnable to a FragmentTransaction that will be executed once the operations in the transaction have been fully executed. Transaction optimization may mean that other transaction ops could run before this is executed, or that specific operations from this transaction were optimized out. (e.g. a fragment in this transaction was added, but then removed in a subsequent transaction before pending operations were executed.) This may not be used for transactions added to the back stack, as we cannot persist the runnable for later to guarantee running it when the transaction is reversed. Test: CTS Change-Id: I4eb90588135e30f287c6487aa62ebda231f3dad3
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions