diff options
author | Riddle Hsu <riddlehsu@google.com> | 2021-01-27 13:11:39 +0800 |
---|---|---|
committer | Riddle Hsu <riddlehsu@google.com> | 2021-01-27 13:55:46 +0800 |
commit | 40aaeac6eef6db639ba8d5c10526fe2cdc2e6f18 (patch) | |
tree | a50cc7ac4d36425bfb25e21f003f11cb6be467b6 /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | 77bb0b72919bb93d89095f2f78accac160633c02 (diff) |
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
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions