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
This commit is contained in:
Alice Kuo 2021-12-17 13:28:08 +08:00
parent 27acfdc025
commit 8ee4619b23
2 changed files with 18 additions and 0 deletions

View file

@ -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

View file

@ -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