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
Loading
Please register or sign in to comment