summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Eric Laurent <elaurent@google.com> 2024-03-26 15:20:25 +0000
committer Eric Laurent <elaurent@google.com> 2024-04-23 16:34:49 +0000
commitff20a75307698bee4949bfac4bc2d069ec660edb (patch)
tree1f4963237843cd08845300a5a2f644feb1bf54b3 /api/api.go
parent55ccc51fd78794f6fc665954177df233e260bfed (diff)
AudioDeviceBroker: avoid acquiring mDeviceStateLock when not necessary
Do not lock mDeviceStateLock whne calling BtHelper.getCodecWithFallback() to void cross deadlocks with BT service. Also make mBluetoothA2dpEnabled an atomic boolean and do not lock mDeviceStateLock when accessing it. Also remove dead code isAvrcpAbsoluteVolumeSupported() Bug: 324420709 Bug: 329911879 Test: make Change-Id: Ie8d824e53fd4076e90a81076f1974354fef4dd13 Merged-In: Ie8d824e53fd4076e90a81076f1974354fef4dd13 (cherry picked from commit a4a848f58b0c7f1cc19a0d8dd537929467da1d17)
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions