diff --git a/configs/msmnile_au/msmnile_au.mk b/configs/msmnile_au/msmnile_au.mk index 394dfea0..7d17be78 100644 --- a/configs/msmnile_au/msmnile_au.mk +++ b/configs/msmnile_au/msmnile_au.mk @@ -80,7 +80,9 @@ DEVICE_PACKAGE_OVERLAYS += vendor/qcom/opensource/audio-hal/primary-hal/configs/ endif #Automotive audio specific device overlays +ifneq ($(TARGET_USES_AOSP_FOR_AUDIO), true) DEVICE_PACKAGE_OVERLAYS += hardware/qcom/audio/configs/msmnile_au/overlay +endif PRODUCT_COPY_FILES += \ vendor/qcom/opensource/audio-hal/primary-hal/configs/msmnile_au/audio_output_policy.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_output_policy.conf \ diff --git a/configs/msmsteppe_au/msmsteppe_au.mk b/configs/msmsteppe_au/msmsteppe_au.mk index d63bc697..a0b9cf1f 100644 --- a/configs/msmsteppe_au/msmsteppe_au.mk +++ b/configs/msmsteppe_au/msmsteppe_au.mk @@ -80,7 +80,9 @@ DEVICE_PACKAGE_OVERLAYS += vendor/qcom/opensource/audio-hal/primary-hal/configs/ endif #Automotive audio specific device overlays +ifneq ($(TARGET_USES_AOSP_FOR_AUDIO), true) DEVICE_PACKAGE_OVERLAYS += hardware/qcom/audio/configs/msmsteppe_au/overlay +endif PRODUCT_COPY_FILES += \ vendor/qcom/opensource/audio-hal/primary-hal/configs/msmsteppe_au/audio_output_policy.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_output_policy.conf \