summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorAndrii Kulian <akulian@google.com>2018-01-18 10:46:24 -0800
committerAndrii Kulian <akulian@google.com>2018-02-08 00:05:09 -0800
commitb372da6ef81cd56f681f95d042692922b72b5751 (patch)
tree3547122ab1706d7eeddabff5c0e95b4abab6525d /tools/aapt2/java/JavaClassGenerator.cpp
parent7de730a2a8433a3c3f005b54046fc5243e6c9d51 (diff)
Switch activity relaunch to lifecycler
This is needed to be able to relaunch an activity and eventually bring it to stopped state while it is not visible. Before this relaunch request put activity in resumed state in the end. With lifecycler both relaunch and request to move to stopped state can be done in a single transaction to client. Also fixed extra relaunch request to activity which was sent before it was even started. It happened because we were waiting for another activity to pause before actually scheduling the launch, and in activity-paused callback we were ensuring config first. This led to configuration update for not-yet launched activity and relaunch message was sent first. Bug: 64610483 Test: android.app.servertransaction tests Change-Id: Ib89c20cd0fdff209319d4819023c3cdd641a72c7
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions