Correct trace name of LatencyTracker
The action passing to getTraceNameOfAction is not the definition of Atom. That causes wrong name in trace by one offset, e.g. screen rotation (6) shows ACTION_TURN_ON_SCREEN (5). Also remove unnecessary reference of Context and print the trace name in log. Bug: 178472794 Test: Rotate device with recording trace, the trace should include ACTION_ROTATE_SCREEN. Change-Id: If650161048a1f49ef375954d5a73108a27af0ba7
Loading
Please register or sign in to comment