zenfone9: Switch to AOSP bluetooth module for hearing aid
Change-Id: Iebb9dd13ccb251f45cad2a4d1ce2fa5e08272d49
diff --git a/audio/audio_policy_configuration.xml b/audio/audio_policy_configuration.xml
index 1d09f89..4c34bbf 100644
--- a/audio/audio_policy_configuration.xml
+++ b/audio/audio_policy_configuration.xml
@@ -427,7 +427,7 @@
<xi:include href="/vendor/etc/r_submix_audio_policy_configuration.xml"/>
<!-- Bluetooth Audio HAL for hearing aid -->
- <xi:include href="/vendor/etc/bluetooth_qti_hearing_aid_audio_policy_configuration.xml"/>
+ <xi:include href="/vendor/etc/bluetooth_hearing_aid_audio_policy_configuration.xml"/>
</modules>
<!-- End of Modules section -->
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 ef87d51..9d118ef 100644
--- a/audio/bluetooth_qti_hearing_aid_audio_policy_configuration.xml
+++ b/audio/bluetooth_hearing_aid_audio_policy_configuration.xml
@@ -18,7 +18,7 @@
-->
<!-- Bluetooth Audio HAL Audio Policy Configuration file -->
-<module name="bluetooth_qti" halVersion="2.0">
+<module name="bluetooth" halVersion="2.0">
<mixPorts>
<!-- Hearing AIDs Audio Ports -->
<mixPort name="hearing aid output" role="source">
diff --git a/device.mk b/device.mk
index 5fc98f4..58f091b 100755
--- a/device.mk
+++ b/device.mk
@@ -107,7 +107,7 @@
$(LOCAL_PATH)/audio/usecaseKvManager_davinci.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/sku_cape/usecaseKvManager_davinci.xml \
$(LOCAL_PATH)/audio/audio_effects_AI2202.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.xml \
$(LOCAL_PATH)/audio/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.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
# Biometric
PRODUCT_PACKAGES += \