summaryrefslogtreecommitdiff
path: root/api/api_test.go
diff options
context:
space:
mode:
author Eric Laurent <elaurent@google.com> 2023-10-03 14:04:03 +0000
committer Eric Laurent <elaurent@google.com> 2023-11-02 16:41:44 +0100
commitcf27729f2de9d12260175a44491facfad903594c (patch)
tree4e0c7fb2280356a049047ffeded2cfe41987fbe0 /api/api_test.go
parent8f752e79094d9a5bb819e0824630b73ebc3eae4a (diff)
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
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions