Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b5e44a6a authored by shoudil's avatar shoudil
Browse files

configs: conditionally disable audio device overlay.

Use macro TARGET_USES_RRO to conditionally disable build-time
audio specific device overlays to support QSSI on kona.

Change-Id: I66c509893305e6646300c1a25ae6fda503b091a1
CRs-Fixed: 2405916
parent a5ec6113
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -77,8 +77,10 @@ AUDIO_FEATURE_ENABLED_SVA_MULTI_STAGE := true
AUDIO_FEATURE_ENABLED_BATTERY_LISTENER := true
##AUDIO_FEATURE_FLAGS

ifneq ($(strip $(TARGET_USES_RRO)), true)
#Audio Specific device overlays
DEVICE_PACKAGE_OVERLAYS += vendor/qcom/opensource/audio-hal/primary-hal/configs/common/overlay
endif

PRODUCT_COPY_FILES += \
    vendor/qcom/opensource/audio-hal/primary-hal/configs/kona/audio_io_policy.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_io_policy.conf \