From a15c8e8f7d59acc38e10ba9567bb1db0c0f7f2cd Mon Sep 17 00:00:00 2001 From: dianlujitao Date: Thu, 11 Aug 2022 15:04:36 -0600 Subject: [PATCH] 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. --- manifest.xml | 4 ++-- msm8974.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/manifest.xml b/manifest.xml index 5ab980f..b2b2cef 100644 --- a/manifest.xml +++ b/manifest.xml @@ -2,7 +2,7 @@ android.hardware.audio passthrough - 2.0 + 5.0 IDevicesFactory default @@ -11,7 +11,7 @@ android.hardware.audio.effect passthrough - 2.0 + 5.0 IEffectsFactory default diff --git a/msm8974.mk b/msm8974.mk index 143c143..cc5749b 100644 --- a/msm8974.mk +++ b/msm8974.mk @@ -47,8 +47,8 @@ PRODUCT_COPY_FILES += \ # Audio PRODUCT_PACKAGES += \ - android.hardware.audio@2.0-impl \ - android.hardware.audio.effect@2.0-impl \ + android.hardware.audio@5.0-impl \ + android.hardware.audio.effect@5.0-impl \ audio.a2dp.default \ audio.primary.msm8974 \ audio.r_submix.default \