Bläddra i källkod

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 <[email protected]>
Change-Id: I586c4f7f26b69c0da90e1a4129b3503e5c37751e
Tai Kuo 3 år sedan
förälder
incheckning
9c21f1ccad
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      device-lynx.mk

+ 1 - 1
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