| commit | 88ef7620f3d0b597d2e75c1047cc70b424575e31 | [log] [tgz] |
|---|---|---|
| author | Kean Mariotti <keanmariotti@google.com> | Fri Dec 13 13:31:21 2024 +0000 |
| committer | Kean Mariotti <keanmariotti@google.com> | Fri Apr 04 13:25:59 2025 +0000 |
| tree | 56071981b3ec986a76f55bdccbf71410ce8ccda3 | |
| parent | 541906075f18e906ef20d0df49d20adc0703f231 [diff] |
WindowTracing: fix deadlock Do not write WM data to perfetto in the onStart callback. Offload the writing to the main thread instead and use DataSourceParams#postponeStop + stopDone() to synchronize main and perfetto threads. Bug: 323165543 Flag: EXEMPT bugfix Test: atest WindowTracingPerfettoTest Change-Id: Ib58a098a969ccca8d52555bfc01dbf7c2e16bad6