summaryrefslogtreecommitdiff
path: root/bluetooth/audio/utils/aidl_session/BluetoothAudioCodecs.cpp
diff options
context:
space:
mode:
authorMatt Lee <matthewhlee@google.com>2023-03-02 14:24:21 -0800
committerMatt Lee <matthewhlee@google.com>2023-03-02 14:24:21 -0800
commit0b9798cf11d9eddcde7fae9cf1b4e071664d82b2 (patch)
treea3a392a1a443d592d7ec7115168943bce27d2e2e /bluetooth/audio/utils/aidl_session/BluetoothAudioCodecs.cpp
parentbf59bdb75c83ad30ddbd66b8f7a3846284150cb6 (diff)
parentc79e56f9faf756d4b0b034df7d2bf83897c4b715 (diff)
Merge t-qpr-2023-03
Change-Id: I2e4738c71d248997dc6d4064b157d19b430f2ff9
Diffstat (limited to 'bluetooth/audio/utils/aidl_session/BluetoothAudioCodecs.cpp')
-rw-r--r--bluetooth/audio/utils/aidl_session/BluetoothAudioCodecs.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/bluetooth/audio/utils/aidl_session/BluetoothAudioCodecs.cpp b/bluetooth/audio/utils/aidl_session/BluetoothAudioCodecs.cpp
index 855dd28718..faebbbf32b 100644
--- a/bluetooth/audio/utils/aidl_session/BluetoothAudioCodecs.cpp
+++ b/bluetooth/audio/utils/aidl_session/BluetoothAudioCodecs.cpp
@@ -398,8 +398,11 @@ BluetoothAudioCodecs::GetLeAudioOffloadCodecCapabilities(
}
if (kDefaultOffloadLeAudioCapabilities.empty()) {
+ auto le_audio_offload_setting =
+ BluetoothLeAudioCodecsProvider::ParseFromLeAudioOffloadSettingFile();
kDefaultOffloadLeAudioCapabilities =
- BluetoothLeAudioCodecsProvider::GetLeAudioCodecCapabilities();
+ BluetoothLeAudioCodecsProvider::GetLeAudioCodecCapabilities(
+ le_audio_offload_setting);
}
return kDefaultOffloadLeAudioCapabilities;