[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
Loading
Please register or sign in to comment