Bluetooth: Enable AAC VBR by default

AAC VBR is more preferred than CBR for A2DP playback.

Bug: 192203000
Test: dumpsys bluetooth_manager
Change-Id: I8f758c102164da9936de7ddc0bb46e0a99279359
This commit is contained in:
Cheney Ni 2021-06-28 13:47:54 +08:00 committed by TreeHugger Robot
parent ea3372d22e
commit ab9201613b
4 changed files with 16 additions and 7 deletions

View file

@ -48,10 +48,12 @@ PRODUCT_COPY_FILES += \
device/google/raviole/media_profiles_slider.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_V1_0.xml
# Bluetooth
PRODUCT_PRODUCT_PROPERTIES += \
persist.bluetooth.a2dp_aac.vbr_supported=true
# Bluetooth default BDADDR for EVB only
PRODUCT_PROPERTY_OVERRIDES += \
ro.bluetooth.a2dp_offload.supported=true \
persist.bluetooth.a2dp_offload.disabled=false \
persist.bluetooth.a2dp_offload.cap=sbc-aac-aptx-aptxhd-ldac
ro.vendor.bluetooth.evb_bdaddr="22:22:22:33:44:55"
# SecureElement
PRODUCT_PACKAGES += \
@ -62,10 +64,6 @@ PRODUCT_COPY_FILES += \
device/google/gs101/nfc/libse-gto-hal.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libse-gto-hal.conf \
device/google/gs101/nfc/libse-gto-hal2.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libse-gto-hal2.conf
# default BDADDR for EVB only
PRODUCT_PROPERTY_OVERRIDES += \
ro.vendor.bluetooth.evb_bdaddr="22:22:22:33:44:55"
# NFC
PRODUCT_COPY_FILES += \
device/google/raviole/nfc/libnfc-hal-st-disable.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-hal-st.conf \