BT: add sysprop to enable OPUS codec

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

Bug: 254609888
Test: manually
Change-Id: I691259f41810777987b5d2dae3e426d58363b0e7
This commit is contained in:
kuanyuhuang 2022-10-27 10:08:12 +00:00
parent 15b844bd9b
commit c7cca3cb0b
2 changed files with 6 additions and 0 deletions

View file

@ -2,3 +2,5 @@
# Uart port name # Uart port name
UartPort = /dev/ttySAC18 UartPort = /dev/ttySAC18
BtOpusEnabled = true

View file

@ -294,3 +294,7 @@ PRODUCT_PROPERTY_OVERRIDES += \
persist.vendor.camera.extended_launch_boost=1 \ persist.vendor.camera.extended_launch_boost=1 \
persist.vendor.camera.raise_buf_allocation_priority=1 \ persist.vendor.camera.raise_buf_allocation_priority=1 \
persist.vendor.camera.debug.bypass_csi_link_crc_error=true persist.vendor.camera.debug.bypass_csi_link_crc_error=true
# Bluetooth OPUS codec
PRODUCT_PRODUCT_PROPERTIES += \
persist.bluetooth.opus.enabled=true