From 8ee4619b23c77db7dfa3aeaa4a323dec4c2fd064 Mon Sep 17 00:00:00 2001 From: Alice Kuo Date: Fri, 17 Dec 2021 13:28:08 +0800 Subject: [PATCH] Add LE audio hardware offload property Add these property for the development on userdebug and eng only on P21. Bug: 197296692 Test: verify media with HW and SW path pass Change-Id: Id967269a555056e958c3f0b7b6d26c4b7ec81efc --- device-oriole.mk | 9 +++++++++ device-raven.mk | 9 +++++++++ 2 files changed, 18 insertions(+) diff --git a/device-oriole.mk b/device-oriole.mk index 12dc717..b1d99a3 100644 --- a/device-oriole.mk +++ b/device-oriole.mk @@ -229,3 +229,12 @@ PRODUCT_VENDOR_PROPERTIES += \ # This device is shipped with 31 (Android S) PRODUCT_SHIPPING_API_LEVEL := 31 + +# userdebug specific +ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT))) +# Bluetooth LE Audio Hardware offload +PRODUCT_PRODUCT_PROPERTIES += \ + ro.bluetooth.leaudio_offload.supported=true \ + persist.bluetooth.leaudio_offload.disabled=true \ + persist.bluetooth.le_audio_test=true +endif diff --git a/device-raven.mk b/device-raven.mk index 3d1aaa2..eaaa29b 100644 --- a/device-raven.mk +++ b/device-raven.mk @@ -246,3 +246,12 @@ PRODUCT_VENDOR_PROPERTIES += \ # This device is shipped with 31 (Android S) PRODUCT_SHIPPING_API_LEVEL := 31 + +# userdebug specific +ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT))) +# Bluetooth LE Audio Hardware offload +PRODUCT_PRODUCT_PROPERTIES += \ + ro.bluetooth.leaudio_offload.supported=true \ + persist.bluetooth.leaudio_offload.disabled=true \ + persist.bluetooth.le_audio_test=true +endif