From 0fd18be554c47b010c140627b7e3534ead2cf2f2 Mon Sep 17 00:00:00 2001 From: dianlujitao Date: Mon, 26 Apr 2021 20:39:23 +0800 Subject: Revert "sdm660-common: Switch to Audio HAL V6" All devices use pre-R audio.bluetooth_qti.default.so and platina uses pre-R audio hal, in which the new set_event_callback API is not implemented and the audio service will crash due to mismatched struct. This reverts commit 939fd6b3019828b56469d7b75f237bf176bfe57f. Change-Id: Ia330ac05d84d3dfb3a639458d66a3dc29689e67c --- configs/manifests/manifest.xml | 4 ++-- sdm660.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/configs/manifests/manifest.xml b/configs/manifests/manifest.xml index b01ad31..46105be 100644 --- a/configs/manifests/manifest.xml +++ b/configs/manifests/manifest.xml @@ -29,7 +29,7 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. android.hardware.audio hwbinder - 6.0 + 5.0 IDevicesFactory default @@ -38,7 +38,7 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. android.hardware.audio.effect hwbinder - 6.0 + 5.0 IEffectsFactory default diff --git a/sdm660.mk b/sdm660.mk index be347bd..82d8152 100644 --- a/sdm660.mk +++ b/sdm660.mk @@ -81,8 +81,8 @@ PRODUCT_COPY_FILES += \ # Audio PRODUCT_PACKAGES += \ - android.hardware.audio@6.0-impl:32 \ - android.hardware.audio.effect@6.0-impl:32 \ + android.hardware.audio@5.0-impl:32 \ + android.hardware.audio.effect@5.0-impl:32 \ android.hardware.audio.service \ android.hardware.soundtrigger@2.1-impl:32 \ audio.a2dp.default \ -- cgit v1.2.3