sm7125-common: Change vibration durations where needed

* a52q/a72q's dc_vibrators only supports >= 40ms vibrations

Change-Id: I0c37a98d74fa647a28ef52025dcec3337ffe8e63
fourteen-wip
Tim Zimmermann 2 years ago committed by Simon1511
parent 5e735a2f3b
commit 62f0858f85
  1. 36
      overlay/frameworks/base/core/res/res/values/config.xml
  2. 4
      vendor.prop

@ -1366,4 +1366,40 @@
<item>2</item> <!-- COLOR_MODE_SATURATED -->
<item>3</item> <!-- COLOR_MODE_AUTOMATIC -->
</integer-array>
<!-- Vibrator pattern for feedback about a long screen/key press -->
<integer-array name="config_longPressVibePattern">
<item>0</item>
<item>100</item>
</integer-array>
<!-- Vibrator pattern for feedback about touching a virtual key -->
<integer-array name="config_virtualKeyVibePattern">
<item>0</item>
<item>80</item>
</integer-array>
<!-- Vibrator pattern for feedback that simulates a double click effect -->
<integer-array name="config_doubleClickVibePattern">
<item>0</item>
<item>80</item>
<item>140</item>
<item>80</item>
</integer-array>
<!-- Vibrator pattern for feedback when selecting an hour/minute tick of a Clock -->
<integer-array name="config_clockTickVibePattern">
<item>0</item>
<item>40</item>
</integer-array>
<!-- Vibrator pattern for feedback about booting with safe mode enabled -->
<integer-array name="config_safeModeEnabledVibePattern">
<item>0</item>
<item>40</item>
<item>160</item>
<item>165</item>
<item>500</item>
<item>600</item>
</integer-array>
</resources>

@ -185,5 +185,9 @@ ro.vendor.epdg.support=true
vendor.usb.diag.func.name=diag
vendor.usb.use_ffs_mtp=0
# Vibrator
ro.vendor.vibrator_hal.click_duration=80
ro.vendor.vibrator_hal.tick_duration=40
# Wifi
wifi.aware.interface=wifi-aware0

Loading…
Cancel
Save