commit | 517a46d989775a24dc02714fc43feb8c9a7f870c | [log] [tgz] |
---|---|---|
author | Ahan Wu <ahanwu@google.com> | Thu Mar 11 09:01:44 2021 +0000 |
committer | Ahan Wu <ahanwu@google.com> | Thu Mar 11 18:59:31 2021 +0800 |
tree | 78e13b24e9a0fd390d224ed2ad0364a9b38d0ad6 | |
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