Skip to content
Commit 132ee838 authored by Vishnu Nair's avatar Vishnu Nair
Browse files

AM: Use ActivityMetricsLogger to get app launch times

- Make ActivityMetricsLogger the single source of truth for activity metrics and
use it to provide data for Tron, logcat, event logs and {@link android.app.WaitResult}
- Remove LaunchTimeTracker
- Remove workaround added for b/80084651
- Remove thisTime from WaitResult and logs
- Remove am_activity_fully_drawn_time EventLog Tag

Compatibility Changes:
- thisTime removed from logcat and eventlog. Only totalTime will be displayed.
- Change in activity visiblity during launch will invalidate totalTime. am start -w
  will only report WaitTime in this case.
- am_activity_fully_drawn_time is removed from event log.

Bug: 67683350
Test: atest CtsActivityManagerDeviceTestCases:ActivityMetricsLoggerTests

Change-Id: Ib033594b961be9227256eba2a519dd6c2e3db573
parent 287fa9bb
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