msm8974-common: Uprev to audio hal 5.0

Audio hal 2.0 was deprecated in Android 12.  Using audio hal 6.0 causes
a bootloop during OS startup so we use 5.0 for now.
This commit is contained in:
dianlujitao 2022-08-11 15:04:36 -06:00 committed by nyyu
parent efc0985e2a
commit a15c8e8f7d
2 changed files with 4 additions and 4 deletions

View File

@ -2,7 +2,7 @@
<hal format="hidl"> <hal format="hidl">
<name>android.hardware.audio</name> <name>android.hardware.audio</name>
<transport arch="32">passthrough</transport> <transport arch="32">passthrough</transport>
<version>2.0</version> <version>5.0</version>
<interface> <interface>
<name>IDevicesFactory</name> <name>IDevicesFactory</name>
<instance>default</instance> <instance>default</instance>
@ -11,7 +11,7 @@
<hal format="hidl"> <hal format="hidl">
<name>android.hardware.audio.effect</name> <name>android.hardware.audio.effect</name>
<transport arch="32">passthrough</transport> <transport arch="32">passthrough</transport>
<version>2.0</version> <version>5.0</version>
<interface> <interface>
<name>IEffectsFactory</name> <name>IEffectsFactory</name>
<instance>default</instance> <instance>default</instance>

View File

@ -47,8 +47,8 @@ PRODUCT_COPY_FILES += \
# Audio # Audio
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
android.hardware.audio@2.0-impl \ android.hardware.audio@5.0-impl \
android.hardware.audio.effect@2.0-impl \ android.hardware.audio.effect@5.0-impl \
audio.a2dp.default \ audio.a2dp.default \
audio.primary.msm8974 \ audio.primary.msm8974 \
audio.r_submix.default \ audio.r_submix.default \