Enable all primitive effects

- Remove ro.vendor.vibrator.hal.supported_primitives to support all
  primitive effects
- Set ACTUATOR_MODEL to legacy_zlra_actuator

Bug: 342062469
Test: idlcli commands
Test: atest PTS, VTS, CTS
Test: Checked HAL dumpsys for durations
Change-Id: I7b6d8d9669fa0d671c0867401583c6073c5588ca
This commit is contained in:
leonardian 2024-06-12 01:59:31 +00:00 committed by Leonard Ian
parent bf575b9d7c
commit 25c03bda4b

View File

@ -160,8 +160,8 @@ endif
# Vibrator HAL
$(call soong_config_set,haptics,kernel_ver,v$(subst .,_,$(TARGET_LINUX_KERNEL_VERSION)))
ADAPTIVE_HAPTICS_FEATURE := adaptive_haptics_v1
ACTUATOR_MODEL := legacy_zlra_actuator
PRODUCT_VENDOR_PROPERTIES += \
ro.vendor.vibrator.hal.supported_primitives=243 \
ro.vendor.vibrator.hal.f0.comp.enabled=1 \
ro.vendor.vibrator.hal.redc.comp.enabled=0 \
persist.vendor.vibrator.hal.context.enable=false \