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

Skip to content
Commit ca8aac2c authored by Grzegorz Kołodziejczyk's avatar Grzegorz Kołodziejczyk
Browse files

le_audio: ignore connect events in connecting state

After bonding the enabled profiles are connected automatically:

BluetoothAdapterService: connectEnabledProfiles: Connecting LeAudio
and this may happen multiple times. Additionally during testing
LeAudioService::connect() may be invoked causing 2 redundant connect
calls that happen in Connecting state of the LeAudio state machine.
The events are then deferred, and on any failure and the state change to
Disconnected they are being invoked again in Disconnected state.

Bug: 381200144
Bug: 384460395
Flag: com.android.bluetooth.flags.leaudio_sm_ignore_connect_events_in_connecting_state
Test: atest LeAudioStateMachine
Change-Id: I97231165e097d701c4f1b26f307d41713967b96c
parent aae2d3c1
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