From a2f35337585af006e8a82f416045785d984bef84 Mon Sep 17 00:00:00 2001 From: Tai Kuo Date: Wed, 22 Dec 2021 22:17:00 +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 Bug: 208766820 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: I59e3494508e9adf34eaada16d6862594bc081ef3 --- device-bluejay.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/device-bluejay.mk b/device-bluejay.mk index 3c982ab..d233c28 100644 --- a/device-bluejay.mk +++ b/device-bluejay.mk @@ -196,3 +196,7 @@ endif # This device is shipped with 32 (Android S V2) PRODUCT_SHIPPING_API_LEVEL := 32 + +# Vibrator HAL +PRODUCT_VENDOR_PROPERTIES += \ + ro.vendor.vibrator.hal.supported_primitives=243