commit | d3efcb3ca78dba993ce9a6a57c62b54f8679eed8 | [log] [tgz] |
---|---|---|
author | Adithya Srinivasan <adsrini@google.com> | Tue Oct 20 18:08:22 2020 -0700 |
committer | Adithya Srinivasan <adsrini@google.com> | Wed Oct 21 21:14:57 2020 +0000 |
tree | b8f703238f7bfb4f8cd2cf9ce5fd31cbf63e6503 | |
parent | b05b90992727c34353ee615b43ddfd7121adf4da [diff] |
Clear mFrameTimelineVsyncId after transaction is applied Without clearing the mFrameTimelineVsyncId, there can be stale tokens that get reused, thereby resulting in wrong classification of janks. This change cleans up the existing code and calls clear(), which does a clean clear of all the states. Bug: 171329973 Test: dumpsys SurfaceFlinger --frametimeline on cold starting an app Change-Id: Ia27520fc6dbb79a122fed40ad963ef470bc2ae35