From 9c21f1ccad7eaa82470b49913a234cae774bc1aa Mon Sep 17 00:00:00 2001 From: Tai Kuo Date: Wed, 23 Feb 2022 19:32:38 +0800 Subject: [PATCH] vibrator: stop support primitives THUD/SPIN/LOW_TICK Keep PRIMITIVE_NOOP, PRIMITIVE_CLICK, PRIMITIVE_QUICK_RISE, PRIMITIVE_SLOW_RISE, PRIMITIVE_QUICK_FALL and PRIMITIVE_TICK Also remove the f0_offset setting since not used. Bug: 221011823 Test: adb shell getprop | grep vibrator Test: adb shell idlcli vibrator getSupportedPrimitives Test: adb shell idlcli vibrator getCapabilities Test: adb shell dumpsys vibrator_manager Test: adb shell dumpsys android.hardware.vibrator.IVibrator/default Signed-off-by: Tai Kuo Change-Id: I586c4f7f26b69c0da90e1a4129b3503e5c37751e --- device-lynx.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/device-lynx.mk b/device-lynx.mk index 4cbd37f..66a7200 100644 --- a/device-lynx.mk +++ b/device-lynx.mk @@ -124,7 +124,7 @@ endif # Vibrator HAL PRODUCT_VENDOR_PROPERTIES += \ - ro.vendor.vibrator.hal.long.frequency.shift=15 + ro.vendor.vibrator.hal.supported_primitives=243 # Trusty liboemcrypto.so PRODUCT_SOONG_NAMESPACES += vendor/google_devices/lynx/prebuilts