From a70d7022f0f0c55cb7f87ffd06812a91c5a2bb1e Mon Sep 17 00:00:00 2001 From: shihchienc Date: Mon, 19 Sep 2022 03:53:51 +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: I23ac69ef5770a6e471a70f18205c027f2976af16 Merged-In: I23ac69ef5770a6e471a70f18205c027f2976af16 (cherry picked from commit e559a93d8f690bbe811f8316f61a100964313bfc) --- .../cheetah/le_audio_codec_capabilities.xml | 84 +++++++++++++++++++ device-cheetah.mk | 4 + 2 files changed, 88 insertions(+) create mode 100644 bluetooth/cheetah/le_audio_codec_capabilities.xml diff --git a/bluetooth/cheetah/le_audio_codec_capabilities.xml b/bluetooth/cheetah/le_audio_codec_capabilities.xml new file mode 100644 index 0000000..cfb915b --- /dev/null +++ b/bluetooth/cheetah/le_audio_codec_capabilities.xml @@ -0,0 +1,84 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/device-cheetah.mk b/device-cheetah.mk index 0e62814..236e527 100644 --- a/device-cheetah.mk +++ b/device-cheetah.mk @@ -286,6 +286,10 @@ PRODUCT_PRODUCT_PROPERTIES += \ persist.bluetooth.leaudio_offload.disabled=false \ ro.bluetooth.leaudio_switcher.supported=true +# LE Auido Offload Capabilities setting +PRODUCT_COPY_FILES += \ + device/google/pantah/bluetooth/cheetah/le_audio_codec_capabilities.xml:$(TARGET_COPY_OUT_VENDOR)/etc/le_audio_codec_capabilities.xml + # Bluetooth EWP test tool PRODUCT_PACKAGES_DEBUG += \ ewp_tool