summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Eric Laurent <elaurent@google.com> 2024-08-21 18:48:09 +0000
committer Mikhail Naganov <mnaganov@google.com> 2024-08-21 11:51:00 -0700
commit24f98a53a7cee9dec8685c8c825198fe6be1f6ca (patch)
treea6c46ad8171c6c1522ea9ee8cb11435a6750811e /libs/androidfw/StringPool.cpp
parent9b0609b038686e05315b9eed99d77c312c7af67d (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 (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:a4a848f58b0c7f1cc19a0d8dd537929467da1d17) Merged-In: Ie8d824e53fd4076e90a81076f1974354fef4dd13 Change-Id: Ie8d824e53fd4076e90a81076f1974354fef4dd13
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions