configs: sdm660: enable soundtrigger hidl hal 2.2 & 2.3
Enable soundtrigger hidl hal 2.2 & 2.3 for SP with
kernel version 4.19.
Change-Id: I20eebc0f579e4a8ddda25d444adc7c36b4eeb106
diff --git a/configs/sdm660/sdm660.mk b/configs/sdm660/sdm660.mk
index 3433c0a..f859681 100644
--- a/configs/sdm660/sdm660.mk
+++ b/configs/sdm660/sdm660.mk
@@ -357,6 +357,16 @@
android.hardware.audio.effect@6.0 \
android.hardware.audio.effect@6.0-impl
+ifeq ($(TARGET_KERNEL_VERSION), 4.19)
+# enable sound trigger hidl hal 2.2
+PRODUCT_PACKAGES += \
+ android.hardware.soundtrigger@2.2-impl
+
+# enable sound trigger hidl hal 2.3
+PRODUCT_PACKAGES += \
+ android.hardware.soundtrigger@2.3-impl
+endif
+
PRODUCT_PACKAGES_ENG += \
VoicePrintTest \
VoicePrintDemo