From cfad191e5a58ac7b3c638a9fcfc0d950fdcb1a8c Mon Sep 17 00:00:00 2001 From: shihchienc Date: Mon, 25 Jul 2022 04:26:27 +0000 Subject: [PATCH] Add by project le audio offload capabilities config file We create by project offload capabilities config file to make each project have its own customized default device offload capabilities. Bug: 238983662 Test: make sure file added in config folder can be copied into devices Change-Id: I517ad3db7d60e1fd8647561387cebd9524fe4f2f --- .../lynx/le_audio_codec_capabilities.xml | 84 +++++++++++++++++++ bluetooth/qti_default.mk | 4 + 2 files changed, 88 insertions(+) create mode 100644 bluetooth/lynx/le_audio_codec_capabilities.xml diff --git a/bluetooth/lynx/le_audio_codec_capabilities.xml b/bluetooth/lynx/le_audio_codec_capabilities.xml new file mode 100644 index 0000000..cfb915b --- /dev/null +++ b/bluetooth/lynx/le_audio_codec_capabilities.xml @@ -0,0 +1,84 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/bluetooth/qti_default.mk b/bluetooth/qti_default.mk index 6132dec..5f508b8 100644 --- a/bluetooth/qti_default.mk +++ b/bluetooth/qti_default.mk @@ -36,6 +36,10 @@ PRODUCT_PRODUCT_PROPERTIES += \ persist.bluetooth.leaudio_offload.disabled=false \ ro.vendor.audio_hal.ble_use_stream_id=true +# LE Auido Offload Capabilities setting +PRODUCT_COPY_FILES += \ + device/google/lynx/bluetooth/lynx/le_audio_codec_capabilities.xml:$(TARGET_COPY_OUT_VENDOR)/etc/le_audio_codec_capabilities.xml + # Bluetooth HAL and Pixel extension DEVICE_MANIFEST_FILE += \ device/google/lynx/bluetooth/manifest_bluetooth.xml