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

Skip to content
Commit cf27729f authored by Eric Laurent's avatar Eric Laurent
Browse files

AudioService: Allow late Bluetooth profile service connection

If a Bluetooth device is connected by the Bluetooth stack
before the corresponding profile service proxy has been initialized via
the onServiceConnected callback, ignore the connecion request. When the
service connection is received later, query the Bluetooth adapter for
active devices on this profile and connected it.

Also move resetting forced usage for media upon LE devices connection from
AudioDeviceInventory.setBluetoothActiveDevice() to makeLeAudioDeviceAvailable()
for consistency with A2DP.

Bug: 295985930
Test: quickly disable/enable Bluetooth and verify music playback

Change-Id: If598db52061417c8973bed506a689c92825b798a
parent 8f752e79
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment