diff options
| author | Ahan Wu <ahanwu@google.com> | 2021-03-11 09:01:44 +0000 |
|---|---|---|
| committer | Ahan Wu <ahanwu@google.com> | 2021-03-11 18:59:31 +0800 |
| commit | 517a46d989775a24dc02714fc43feb8c9a7f870c (patch) | |
| tree | 78e13b24e9a0fd390d224ed2ad0364a9b38d0ad6 /graphics/java/android/renderscript/ProgramStore.java | |
| parent | 7dfa3fcee800fb47e37bdaa075f40bc584a7da8b (diff) | |
End the trace section in FrameTracker#cancel if it has begun
We didn't end the trace section in FrameTracker#cancel if the end
vsync id equals to the begin vsync id which is not an invalid value.
This cl fixes above problem.
Bug: 181683700
Test: atest FrameworksCoreTests:InteractionJankMonitorTest
FrameworksCoreTests: FrameTrackerTest --iteration 10
Change-Id: I6280e9b1e9b949cb6f144217ed78d21ec46eafd5
Diffstat (limited to 'graphics/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions
