haptics: update effect waveform

Make EFFECT_CLICK 10ms and LONG_PRESS 12ms.

Bug: 62176703

Change-Id: Id676a6581e8beff9ad2d951b2d9f405d38d374b9
Signed-off-by: David Lin <dtwlin@google.com>
This commit is contained in:
David Lin
2017-05-31 13:18:36 -07:00
parent 653abc7032
commit 34b58e2077
2 changed files with 8 additions and 0 deletions

View File

@@ -83,3 +83,7 @@ PRODUCT_COPY_FILES += \
PRODUCT_PROPERTY_OVERRIDES += \
persist.config.calibration_cad=/vendor/etc/sensors/calibration_cad.xml \
persist.config.calibration_fac=/persist/sensors/calibration/calibration.xml
# Vibrator HAL
PRODUCT_PROPERTY_OVERRIDES += \
ro.vibrator.hal.click.duration=10

View File

@@ -106,4 +106,8 @@
<item>"usbradio:mtp:diag,serial_cdev,rmnet_gsi:diag,serial_cdev,rmnet_gsi"</item>
</string-array>
<!-- Vibrator pattern for feedback about a long screen/key press -->
<integer-array name="config_longPressVibePattern">
<item>12</item>
</integer-array>
</resources>