sm7125-common: Change vibration durations where needed

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

Change-Id: I0c37a98d74fa647a28ef52025dcec3337ffe8e63
tirimbino
Jens Lody 2 years ago
parent 0ea588cf46
commit 00a588c09c
  1. 35
      overlay/frameworks/base/core/res/res/values/config.xml
  2. 4
      vendor.prop

@ -1323,4 +1323,39 @@
<!-- Whether the device supports Smart Pixels -->
<bool name="config_supportSmartPixels">true</bool>
<!-- 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