summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorRiddle Hsu <riddlehsu@google.com>2021-08-13 01:10:30 +0800
committerRiddle Hsu <riddlehsu@google.com>2021-08-13 01:10:30 +0800
commit747432f31f76fd05af08a98c759a2515cdb4b808 (patch)
tree843906268b68f920690e70196e7bc42490a13d0d /tools/aapt2/java/JavaClassGenerator_test.cpp
parent7e62af128aa98af72d6473dd2694540940758aa2 (diff)
Avoid canceling WaitInfo by trampoline activity
An invisible trampoline activity may not animate, so it may be destroyed earlier than the next activity launched by the trampoline. If the WaitInfo aborts by matching the component name of the trampoline when it is destroyed, the launch time becomes unknown. The case happens when the trampoline activity and the next main activity are in different tasks. Because both the activity and its parent are not animating, it will be scheduled to destroy. Also keep invisible initializing pending drawn records when the transition is started, because it depends on the drawn time of starting window, the next activity may not yet update visibility. Bug: 193112389 Test: AmStartOptionsTests ActivityTaskSupervisorTests# \ testReportWaitingActivityLaunched ActivityMetricsLaunchObserverTests# \ testDoNotCountInvisibleActivityToBeDrawn Change-Id: I53c2aa6fd604bb12d539176296663a40ba762d22
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions