[le audio] Introduce the source sync queue to avoid race conditions
In the current design, we might hit some race conditions cases when starting the source syncing from app and stack sides. This commit introduce the source sync queue to address this: 1. Unify one place to start source selection/sync. 2. Check the pending sync request for adding to the queue. 3. Once previous syncing finished, sync to the next. Bug: 317280116 Bug: 316005152 Test: atest BassClientServiceTest BassClientStateMachineTest Test: manual test with le audio broadcast QR code path Change-Id: I64c507bcbf1f68479a0dc11680f2b5000f481d97
Loading
Please register or sign in to comment