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

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

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)
parent 55ccc51f
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