From 25c03bda4beab733bf519217b86e2a4792fc6f7b Mon Sep 17 00:00:00 2001 From: leonardian Date: Wed, 12 Jun 2024 01:59:31 +0000 Subject: [PATCH] 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 --- device-lynx.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/device-lynx.mk b/device-lynx.mk index 42f303c..ba03d52 100644 --- a/device-lynx.mk +++ b/device-lynx.mk @@ -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 \