summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorAndrii Kulian <akulian@google.com>2018-03-19 21:51:53 -0700
committerAndrii Kulian <akulian@google.com>2018-03-26 23:40:01 -0700
commit914aa7da7f0d74f5de358daa616c50cbf5bd9c30 (patch)
tree8d22c28789e5281e8622f1bbe5ed4ce108936fff /tools/aapt2/java/JavaClassGenerator_test.cpp
parent461a71a5fa05410a1b126a8c177efba6d1a06139 (diff)
Use transaction for local activity relaunch
To know that onPostCreate callback should be executed we should use TransactionExecutor for the entire transaction. It will fill PendingActions object during the launch and the callback will be triggered after onStart. This CL changes local activity relaunch to use Lifecycler infrastructure. We should immediately execute local recreate requests, because if we wait until the scheduled message to be handled, we may already be in a different state and final state request in the scheduled relaunch transaction will already be obsolete. Bug: 72029061 Bug: 64610483 Bug: 76088057 Bug: 73747058 Test: ActivityLifecycleTests Change-Id: Ia53ecd199c83d030932c4493064e58568805f2a5
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions