commit | 78b700dd102ac79c8a6911a732309c9c5cfbc361 | [log] [tgz] |
---|---|---|
author | Priyanka <priyankaspatel@google.com> | Wed Jan 31 14:02:50 2024 +0000 |
committer | Priyanka <priyankaspatel@google.com> | Wed Jan 31 14:39:07 2024 +0000 |
tree | 3e1383a17eb8a3e172257fb90c2fbb8d51c82e24 | |
parent | 327046fbc65c062f07d9ef67d5ae779ddadd3e4f [diff] |
Fix wrong initial timestamp in UI. TimelineData initialized without knowing first active trace. This caused the initial timestamp to be set as the first timestamp of all loaded traces. Now the first active trace is set to be the first trace in the viewer display order, discounting screen recording, so the initial timestamp is set as the first timestamp of that active trace. Bug: b/323130677 Test: npm run test:unit:ci Change-Id: I6177084b6c4a942603b6d111d44d71d88b9cc387