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
This commit is contained in:
parent
a9187a3fae
commit
1eda2f37e7
3 changed files with 10 additions and 0 deletions
|
@ -10,3 +10,5 @@ SarBackOffHighResolution = true
|
||||||
BqrEventMaskValueUpdate = 262238
|
BqrEventMaskValueUpdate = 262238
|
||||||
|
|
||||||
BtA2dpOffloadCap = sbc-aac-aptx-aptxhd-ldac-opus
|
BtA2dpOffloadCap = sbc-aac-aptx-aptxhd-ldac-opus
|
||||||
|
|
||||||
|
BtOpusEnabled = true
|
||||||
|
|
|
@ -164,6 +164,10 @@ PRODUCT_PACKAGES += \
|
||||||
PRODUCT_PACKAGES_DEBUG += \
|
PRODUCT_PACKAGES_DEBUG += \
|
||||||
hci_inject
|
hci_inject
|
||||||
|
|
||||||
|
# Bluetooth OPUS codec
|
||||||
|
PRODUCT_PRODUCT_PROPERTIES += \
|
||||||
|
persist.bluetooth.opus.enabled=true
|
||||||
|
|
||||||
# Bluetooth Tx power caps
|
# Bluetooth Tx power caps
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
$(LOCAL_PATH)/bluetooth/bluetooth_power_limits_cheetah.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits.csv \
|
$(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 += \
|
PRODUCT_PACKAGES_DEBUG += \
|
||||||
hci_inject
|
hci_inject
|
||||||
|
|
||||||
|
# Bluetooth OPUS codec
|
||||||
|
PRODUCT_PRODUCT_PROPERTIES += \
|
||||||
|
persist.bluetooth.opus.enabled=true
|
||||||
|
|
||||||
# Bluetooth Tx power caps
|
# Bluetooth Tx power caps
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
$(LOCAL_PATH)/bluetooth/bluetooth_power_limits_panther.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits.csv \
|
$(LOCAL_PATH)/bluetooth/bluetooth_power_limits_panther.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits.csv \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue