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