diff --git a/audio/audio_policy_configuration.xml b/audio/audio_policy_configuration.xml index 2d785b8..aa754aa 100644 --- a/audio/audio_policy_configuration.xml +++ b/audio/audio_policy_configuration.xml @@ -413,27 +413,8 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - - - - - - - - - - - - - - - - - + + @@ -459,7 +440,7 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - + diff --git a/audio/bluetooth_qti_hearing_aid_audio_policy_configuration.xml b/audio/bluetooth_hearing_aid_audio_policy_configuration.xml similarity index 96% rename from audio/bluetooth_qti_hearing_aid_audio_policy_configuration.xml rename to audio/bluetooth_hearing_aid_audio_policy_configuration.xml index 7707ae1..eddd371 100644 --- a/audio/bluetooth_qti_hearing_aid_audio_policy_configuration.xml +++ b/audio/bluetooth_hearing_aid_audio_policy_configuration.xml @@ -18,7 +18,7 @@ --> - + diff --git a/common.mk b/common.mk index 5dc8525..f617f1c 100644 --- a/common.mk +++ b/common.mk @@ -72,9 +72,10 @@ PRODUCT_COPY_FILES += \ $(AUDIO_HAL_DIR)/configs/kona/audio_tuning_mixer.txt:$(TARGET_COPY_OUT_VENDOR)/etc/audio_tuning_mixer.txt \ $(LOCAL_PATH)/audio/audio_io_policy.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_io_policy.conf \ $(LOCAL_PATH)/audio/audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration.xml \ - $(LOCAL_PATH)/audio/bluetooth_qti_hearing_aid_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_qti_hearing_aid_audio_policy_configuration.xml + $(LOCAL_PATH)/audio/bluetooth_hearing_aid_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_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/a2dp_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/a2dp_audio_policy_configuration.xml \ frameworks/av/services/audiopolicy/config/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \ frameworks/av/services/audiopolicy/config/bluetooth_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_audio_policy_configuration.xml \ diff --git a/proprietary-files.txt b/proprietary-files.txt index 7d175b8..d923564 100644 --- a/proprietary-files.txt +++ b/proprietary-files.txt @@ -95,7 +95,6 @@ vendor/lib64/hw/android.hardware.bluetooth@1.0-impl-qti.so vendor/lib64/libbtnv.so # Bluetooth (A2DP) -vendor/lib/hw/audio.bluetooth_qti.default.so vendor/lib/hw/vendor.qti.hardware.bluetooth_audio@2.0-impl.so vendor/lib/hw/vendor.qti.hardware.bluetooth_audio@2.1-impl.so vendor/lib/hw/vendor.qti.hardware.bluetooth_sar@1.1-impl.so @@ -105,7 +104,6 @@ vendor/lib/libbluetooth_audio_session_qti.so vendor/lib/libbluetooth_audio_session_qti_2_1.so vendor/lib/vendor.qti.hardware.bluetooth_sar@1.0.so vendor/lib/vendor.qti.hardware.bluetooth_sar@1.1.so -vendor/lib64/hw/audio.bluetooth_qti.default.so vendor/lib64/hw/vendor.qti.hardware.bluetooth_audio@2.0-impl.so vendor/lib64/hw/vendor.qti.hardware.bluetooth_audio@2.1-impl.so vendor/lib64/hw/vendor.qti.hardware.bluetooth_sar@1.1-impl.so diff --git a/vendor.prop b/vendor.prop index 55276c0..daa8089 100644 --- a/vendor.prop +++ b/vendor.prop @@ -117,10 +117,6 @@ persist.bluetooth.a2dp_offload.disabled=false persist.vendor.bluetooth.modem_nv_support=true persist.vendor.bt.aac_frm_ctl.enabled=true persist.vendor.bt.aac_vbr_frm_ctl.enabled=true -persist.vendor.qcom.bluetooth.a2dp_offload_cap=sbc-aptx-aptxtws-aptxhd-aac-ldac-aptxadaptiver2 -persist.vendor.qcom.bluetooth.aac_frm_ctl.enabled=true -persist.vendor.qcom.bluetooth.aac_vbr_ctl.enabled=true -persist.vendor.qcom.bluetooth.enable.splita2dp=true persist.vendor.qcom.bluetooth.soc=hastings ro.bluetooth.a2dp_offload.supported=true ro.vendor.bluetooth.wipower=false