Loading
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: I53b8b9b17f656084526ad75ad1c0c1e3dbae803d