Просмотр исходного кода

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
Cheney Ni 2 лет назад
Родитель
Сommit
d116a1212c
1 измененных файлов с 7 добавлено и 6 удалено
  1. 7 6
      bluetooth/qti_default.mk

+ 7 - 6
bluetooth/qti_default.mk

@@ -14,6 +14,13 @@
 # limitations under the License.
 # 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
 # Bluetooth HAL and Pixel extension
 DEVICE_MANIFEST_FILE += \
 DEVICE_MANIFEST_FILE += \
 	device/google/lynx/bluetooth/manifest_bluetooth.xml
 	device/google/lynx/bluetooth/manifest_bluetooth.xml
@@ -59,12 +66,6 @@ PRODUCT_PROPERTY_OVERRIDES += \
 	ro.vendor.bluetooth.emb_wp_mode=false \
 	ro.vendor.bluetooth.emb_wp_mode=false \
 	ro.vendor.bluetooth.wipower=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)))
 ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
 PRODUCT_PROPERTY_OVERRIDES += \
 PRODUCT_PROPERTY_OVERRIDES += \
 	persist.vendor.service.bdroid.soclog=true \
 	persist.vendor.service.bdroid.soclog=true \