Bluetooth: Enable AAC VBR by default

AAC VBR is more preferred than CBR for A2DP playback. This also moves
those A2DP system properties into the product partition.

Bug: 112325138
Test: dumpsys bluetooth_manager
Change-Id: I4496d44309faa805059147166c681777c59c4566
This commit is contained in:
Cheney Ni 2022-06-17 11:42:07 +08:00 committed by TreeHugger Robot
parent fd83fe7c6d
commit d116a1212c

View file

@ -14,6 +14,13 @@
# limitations under the License.
#
# Bluetooth Services sysprop for A2DP AAC VBR and A2DP offloading
PRODUCT_PRODUCT_PROPERTIES += \
persist.bluetooth.a2dp_aac.vbr_supported=true \
ro.bluetooth.a2dp_offload.supported=true \
persist.bluetooth.a2dp_offload.disabled=true \
persist.bluetooth.a2dp_offload.cap=sbc-aac-aptx-aptxhd-ldac
# Bluetooth HAL and Pixel extension
DEVICE_MANIFEST_FILE += \
device/google/lynx/bluetooth/manifest_bluetooth.xml
@ -59,12 +66,6 @@ PRODUCT_PROPERTY_OVERRIDES += \
ro.vendor.bluetooth.emb_wp_mode=false \
ro.vendor.bluetooth.wipower=false
# Bluetooth A2DP offloading
PRODUCT_PROPERTY_OVERRIDES += \
ro.bluetooth.a2dp_offload.supported=true \
persist.bluetooth.a2dp_offload.disabled=true \
persist.bluetooth.a2dp_offload.cap=sbc-aac-aptx-aptxhd-ldac
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
PRODUCT_PROPERTY_OVERRIDES += \
persist.vendor.service.bdroid.soclog=true \