From 9396fb121ef32a90997578e14a27f3f5894ebc11 Mon Sep 17 00:00:00 2001 From: SGCMarkus Date: Tue, 9 Aug 2022 18:49:39 +0200 Subject: [PATCH] sm7325-common: Switch to AOSP BT HAL Change-Id: I9a733ff3edd6b1841096c86998007c51724ce309 --- BoardConfigCommon.mk | 1 - audio/audio_policy_configuration.xml | 39 +++------------------------- configs/component-overrides.xml | 3 +-- configs/component-overrides_qti.xml | 18 ------------- sm7325.mk | 7 +---- system.prop | 4 --- 6 files changed, 6 insertions(+), 66 deletions(-) delete mode 100644 configs/component-overrides_qti.xml diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index 9080b20..5ba024c 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -107,7 +107,6 @@ USE_CUSTOM_AUDIO_POLICY := 1 # Bluetooth BOARD_HAVE_BLUETOOTH_QCOM := true TARGET_FWK_SUPPORTS_FULL_VALUEADDS := true -TARGET_USE_QTI_BT_STACK := true # Display TARGET_USES_COLOR_METADATA := true diff --git a/audio/audio_policy_configuration.xml b/audio/audio_policy_configuration.xml index 6c03507..df952e1 100644 --- a/audio/audio_policy_configuration.xml +++ b/audio/audio_policy_configuration.xml @@ -132,15 +132,6 @@ - - - - - - @@ -188,12 +179,6 @@ sources="primary output,deep_buffer,voip_rx"/> - - - - - - - - - - - - - - - - - - - - + @@ -246,6 +212,9 @@ + + + diff --git a/configs/component-overrides.xml b/configs/component-overrides.xml index 7cd0d6c..4d058d3 100644 --- a/configs/component-overrides.xml +++ b/configs/component-overrides.xml @@ -13,8 +13,7 @@ - - \ No newline at end of file + diff --git a/configs/component-overrides_qti.xml b/configs/component-overrides_qti.xml deleted file mode 100644 index 46274bb..0000000 --- a/configs/component-overrides_qti.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/sm7325.mk b/sm7325.mk index 68929c7..3133141 100644 --- a/sm7325.mk +++ b/sm7325.mk @@ -114,10 +114,6 @@ PRODUCT_COPY_FILES += \ $(LOCAL_PATH)/audio/audio_ext_spkr.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_ext_spkr.conf \ $(LOCAL_PATH)/audio/audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration.xml -PRODUCT_COPY_FILES += \ - hardware/qcom-caf/sm8350/audio/configs/common/bluetooth_qti_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_qti_audio_policy_configuration.xml \ - hardware/qcom-caf/sm8350/audio/configs/common/bluetooth_qti_hearing_aid_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_qti_hearing_aid_audio_policy_configuration.xml - PRODUCT_COPY_FILES += \ frameworks/av/services/audiopolicy/config/a2dp_in_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/a2dp_in_audio_policy_configuration.xml \ frameworks/av/services/audiopolicy/config/bluetooth_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_audio_policy_configuration.xml \ @@ -145,8 +141,7 @@ PRODUCT_PACKAGES += \ # Component overrides PRODUCT_COPY_FILES += \ - $(LOCAL_PATH)/configs/component-overrides.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sysconfig/component-overrides.xml \ - $(LOCAL_PATH)/configs/component-overrides_qti.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/sysconfig/component-overrides.xml + $(LOCAL_PATH)/configs/component-overrides.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sysconfig/component-overrides.xml # Display PRODUCT_PACKAGES += \ diff --git a/system.prop b/system.prop index 77435a5..cdfef82 100644 --- a/system.prop +++ b/system.prop @@ -6,10 +6,6 @@ audio.offload.min.duration.secs=60 audio.offload.video=false media.aac_51_output_enabled=true -# Bluetooth -persist.vendor.btstack.aac_frm_ctl.enabled=true -ro.bluetooth.library_name=libbluetooth_qti.so - # Charger ro.charger.enable_suspend=1