Skip to content
Snippets Groups Projects
Commit 1eda2f37 authored by kuanyuhuang's avatar kuanyuhuang Committed by Tom Huang
Browse files

BT: add sysprop to enable OPUS codec

Add new system proprty persist.bluetooth.opus.enabled to
indicate devices enable OPUS codec.

Bug: 254609888
Test: atest net_test_stack:A2dpCodecConfigTest#init
Change-Id: I3741ea42b5513ae1dd0cb7609301953a13861293
parent a9187a3f
No related branches found
No related tags found
No related merge requests found
......@@ -10,3 +10,5 @@ SarBackOffHighResolution = true
BqrEventMaskValueUpdate = 262238
BtA2dpOffloadCap = sbc-aac-aptx-aptxhd-ldac-opus
BtOpusEnabled = true
......@@ -164,6 +164,10 @@ PRODUCT_PACKAGES += \
PRODUCT_PACKAGES_DEBUG += \
hci_inject
# Bluetooth OPUS codec
PRODUCT_PRODUCT_PROPERTIES += \
persist.bluetooth.opus.enabled=true
# Bluetooth Tx power caps
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/bluetooth/bluetooth_power_limits_cheetah.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits.csv \
......
......@@ -147,6 +147,10 @@ PRODUCT_PACKAGES += \
PRODUCT_PACKAGES_DEBUG += \
hci_inject
# Bluetooth OPUS codec
PRODUCT_PRODUCT_PROPERTIES += \
persist.bluetooth.opus.enabled=true
# Bluetooth Tx power caps
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/bluetooth/bluetooth_power_limits_panther.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits.csv \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment