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

Skip to content
Commit 0d784f7d authored by Rongxuan Liu's avatar Rongxuan Liu
Browse files

[le audio] Update mBroadcastDescriptors before notifying by callbacks

Broadcast application might rely on getAllBroadcastMetadata() to check the active broadcasts.
There would be race conditions that we're notifying the clients before updating the mBroadcastDescriptors for getAllBroadcastMetadata().
We should notify by callbacks after updating the metadata.

This change only applied to le audio broadcast feature.
no-op, only sequence change.

Bug: 317395992
Bug: 316005152
Test: atest LeAudioServiceTest
Test: manual test with le audio broadcast audio sharing to confirm
start/stop broadcast has no issue

Change-Id: I6e6357facd64a1d688a3a43b0004ef69f883ff20
parent 1a30ed09
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