commit | 65a3d5dfa4cea24999ee093451ebbd633d9d738a | [log] [tgz] |
---|---|---|
author | Ahan Wu <ahanwu@google.com> | Mon Jul 19 09:53:41 2021 -0800 |
committer | Wu Ahan <ahanwu@google.com> | Tue Jul 20 06:31:41 2021 +0000 |
tree | b62f7125b9cff4189bc738494ac46936d8121276 | |
parent | 6b43ea0a73d19f0366ccd0674d63aca8185e88a3 [diff] |
Fix potential memory leak of FrameTracker If begin and end invocations are at the same frame, the end vsync id will be smaller than the begin vsync id, results in zero size jank info array, the finish call will be missed as well, a leak happens. Bug: 192140966 Test: atest FrameTrackerTest InteractionJankMonitorTest Change-Id: I388558e60bdb84ad248a9afabe7776c4e6e67c57