haydn: move vibrator effect stream config to select

Change-Id: I0878e645d12474da2d1971ce459db43c09bc97b7
This commit is contained in:
Cosmin Tanislav 2025-03-03 12:04:18 +02:00 committed by DigiGoon
parent 62d81b42f9
commit 3e6c320191
2 changed files with 4 additions and 4 deletions

View file

@ -36,10 +36,6 @@ BOARD_DTBOIMG_PARTITION_SIZE := 25165824
# Properties
TARGET_VENDOR_PROP += $(DEVICE_PATH)/vendor.prop
# Vibrator
TARGET_QTI_VIBRATOR_EFFECT_LIB := libqtivibratoreffect.xiaomi
TARGET_QTI_VIBRATOR_USE_EFFECT_STREAM := true
# Include proprietary files
include vendor/xiaomi/haydn/BoardConfigVendor.mk

View file

@ -45,6 +45,10 @@ PRODUCT_PROPERTY_OVERRIDES += \
PRODUCT_SOONG_NAMESPACES += \
$(LOCAL_PATH)
# Vibrator
$(call soong_config_set,qti_vibrator,effect_lib,libqtivibratoreffect.xiaomi)
$(call soong_config_set,qti_vibrator,use_effect_stream,true)
# Call the proprietary setup
$(call inherit-product, vendor/xiaomi/haydn/haydn-vendor.mk)