Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d6d94543 authored by Kean Mariotti's avatar Kean Mariotti
Browse files

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: I8182fdcce2ab76d41aa0d0564b6b4a217ad81980
parent cec94f25
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment