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

Skip to content
Commit 32cd5a14 authored by Rongxuan Liu's avatar Rongxuan Liu
Browse files

[le audio] Broadcast: skip creating broadcast if exceeding maximum number

Add this check in the service to support what is mentioned in API startBroadcast description.
"In particular, when the number of Broadcast Sources reaches
{@link #getMaximumNumberOfBroadcast()}, this method will fail with
{@link BluetoothStatusCodes#ERROR_LOCAL_NOT_ENOUGH_RESOURCES}"

Bug: 291519369
Test: atest LeAudioBroadcastServiceTest LeAudioBinderTest
Change-Id: Ib22dbfbede25ea87d5103bf50c8becfd4b6e3ab8
parent 0da4cf20
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