From ed3fd472610fb2d3e07112eec3be47bbbd031f5f Mon Sep 17 00:00:00 2001 From: Bruno Martins Date: Mon, 9 Sep 2024 00:16:08 +0100 Subject: [PATCH] sm8550-common: Work around using prebuilt audio primary HAL Since audio.primary.kalama is no longer present in PRODUCT_PACKAGES, the vintf files are not copied anymore, so account for that and merge to the manifest instead. Change-Id: I71b091950e5ecc810779d3ab51e99807d6648d0b --- BoardConfigCommon.mk | 6 +++++- common.mk | 1 - 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index 2f53591..d2fd225 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -54,6 +54,7 @@ AUDIO_FEATURE_ENABLED_SVA_MULTI_STAGE := true BOARD_SUPPORTS_OPENSOURCE_STHAL := true BOARD_SUPPORTS_SOUND_TRIGGER := true BOARD_USES_ALSA_AUDIO := true +TARGET_PROVIDES_AUDIO_HAL := true TARGET_USES_QCOM_MM_AUDIO := true # Bootloader @@ -93,7 +94,10 @@ DEVICE_FRAMEWORK_MANIFEST_FILE += $(COMMON_PATH)/framework_manifest.xml DEVICE_MATRIX_FILE := hardware/qcom-caf/common/compatibility_matrix.xml DEVICE_MANIFEST_FILE := \ $(COMMON_PATH)/manifest.xml \ - $(COMMON_PATH)/network_manifest.xml + $(COMMON_PATH)/network_manifest.xml \ + hardware/qcom-caf/sm8550/audio/primary-hal/configs/common/manifest_non_qmaa.xml \ + hardware/qcom-caf/sm8550/audio/primary-hal/configs/common/manifest_non_qmaa_extn.xml + ODM_MANIFEST_FILES := \ $(COMMON_PATH)/manifest_odm.xml \ $(COMMON_PATH)/network_manifest_odm.xml diff --git a/common.mk b/common.mk index 4e05dba..3146921 100644 --- a/common.mk +++ b/common.mk @@ -44,7 +44,6 @@ PRODUCT_PACKAGES += \ android.hardware.bluetooth.audio-impl \ android.hardware.soundtrigger@2.3-impl \ audio.bluetooth.default \ - audio.primary.kalama \ audio.r_submix.default \ audio.usb.default \ audioadsprpcd \