Merge "QMAA: Add support for HAL module disable"

This commit is contained in:
Linux Build Service Account 2019-02-06 16:31:44 -08:00 committed by Gerrit - the friendly Code Review server
commit 68cc8af045
1 changed files with 8 additions and 0 deletions

View File

@ -1,6 +1,13 @@
#BOARD_USES_GENERIC_AUDIO := true
#
#AUDIO_FEATURE_FLAGS
ifeq ($(TARGET_USES_QMAA_OVERRIDE_AUDIO), false)
ifeq ($(TARGET_USES_QMAA),true)
AUDIO_USE_STUB_HAL := true
endif
endif
ifneq ($(AUDIO_USE_STUB_HAL), true)
BOARD_USES_ALSA_AUDIO := true
TARGET_USES_AOSP_FOR_AUDIO := false
@ -236,6 +243,7 @@ audio.volume.headset.gain.depcal=true
#enable dualmic fluence for voice communication
PRODUCT_PROPERTY_OVERRIDES += \
persist.audio.fluence.voicecomm=true
endif
# for HIDL related packages
PRODUCT_PACKAGES += \