sm7125-common: Change vibration durations where needed

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

Change-Id: I0c37a98d74fa647a28ef52025dcec3337ffe8e63
urubino-microg
Tim Zimmermann 2 years ago committed by Ruchit
parent abe8706b37
commit 63369488c4
  1. 36
      overlay/frameworks/base/core/res/res/values/config.xml
  2. 4
      vendor.prop

@ -1319,4 +1319,40 @@
running in WAL mode.
Choices are: FULL, NORMAL, OFF. -->
<string name="db_wal_sync_mode" translatable="false">OFF</string>
<!-- 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>

@ -219,6 +219,10 @@ sys.fflag.override.settings_seamless_transfer=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