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: I4468040ff84c7c6e10c6b5dc08c34a972d234c66
This commit is contained in:
leonardian 2024-06-07 03:10:13 +00:00
parent 6d94b15559
commit a555a992b3

View file

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