Skip to content
Commit a3beedb3 authored by Riddle Hsu's avatar Riddle Hsu
Browse files

Clear invisible undrawn activities when reporting drawn

There may have initializing activities put in the same launch stack
without state and visibility change. The case happens when using
startActivities to start multiple activities at once.

Without clearing the invisible pending draw activities, the launch
event cannot end to report launch time and stop trace.

Bug: 196917563
Bug: 192043869
Test: ActivityMetricsLaunchObserverTests#testConsecutiveLaunch
Change-Id: If511a1526b803455a967f6bc1358a23e15a4234d
parent ca7eb3f9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment