summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorRiddle Hsu <riddlehsu@google.com>2021-01-14 18:09:32 +0800
committerRiddle Hsu <riddlehsu@google.com>2021-01-14 22:49:46 +0800
commitdc21a33a80fedffe332e1347bde8c1933dd4f4c2 (patch)
tree09a97420a0a95c3ac27133ebf6d1610948460c5f /tools/aapt2/java/JavaClassGenerator_test.cpp
parent8af09844db7025a935a49ade256c437f95434214 (diff)
Do not abort launch logger by invisible drawn activity
For a special complex case: A no-display trampoline activity launches main activity in the same task (no starting window), and then the main activity launches trampoline and main again consecutively. If the drawn event of main is reported before the 2nd launch of main, the launch event log will be canceled by seeing the drawn state before transition. Because there will be a transition to commit window visibility, the case can be addressed by allowing invisible drawn activity as a valid launch event. Then the launch time can be reported when notifying transition starting. Bug: 176687862 Test: ActivityMetricsLaunchObserverTests#testActivityDrawnBeforeTransition Change-Id: I81ec1695038216490537bdac6defcd9e6d75e1f8
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions