summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorRiddle Hsu <riddlehsu@google.com>2021-11-01 20:11:59 -0600
committerRiddle Hsu <riddlehsu@google.com>2021-11-01 12:48:08 +0000
commit395a7572f7a6aa910b42ee6aefd4ae392637e99c (patch)
tree05c29a51af3d4433ba7f5d5c1aaa79eece566ef4 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentcc110e6aeaef998b0a09b295eb247ad0a5b99896 (diff)
Only consider the last launched activity for metrics logger
Otherwise the logger needs to make sure that every visibility changes belonging to the launch event are handled. Especially when there are trampoline activities, such as if they are removed without visibility change, then the launch time and trace may be unexpectedly long. This simplifies the logic to track undrawn transition info. In general, the occluded/behind activities are not important to the metrics. Bug: 204488635 Test: atest ActivityMetricsLaunchObserverTests#testConsecutiveLaunch Change-Id: I6c7e94a1a43acf642da77a23f400159d78144599
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions