Remove tracing config singleton and improve change detection.
New flow:
Trace and dump config initialized in CollectTracesComponent
-> passed into respective TraceConfigComponents
-> updated in TraceConfigComponent
-> propagated back into CollectTracesComponent
-> sent to ProxyConnection on trace/dump start request
The above does not fix change detection issues. There appears to be some bug with change detection when checkboxes/mat select are in ngIf blocks that keep changing.
Added a worker that manually detects changes every 0.1s.
Also fixed wayland trace availability request (was does not firing due to selectedDevice check, but does not need selected device to run).
Fix: 300384655
Test: npm run test:unit:ci
Change-Id: I215e4b4a473bd806d426b31b9a03f6618d931148
11 files changed