From 62f0858f856f75d7d3ecd441ea7270e12132975c Mon Sep 17 00:00:00 2001 From: Tim Zimmermann Date: Sun, 12 Mar 2023 13:18:49 +0100 Subject: [PATCH] sm7125-common: Change vibration durations where needed * a52q/a72q's dc_vibrators only supports >= 40ms vibrations Change-Id: I0c37a98d74fa647a28ef52025dcec3337ffe8e63 --- .../base/core/res/res/values/config.xml | 36 +++++++++++++++++++ vendor.prop | 4 +++ 2 files changed, 40 insertions(+) diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml index 4f7c58f..72d1026 100644 --- a/overlay/frameworks/base/core/res/res/values/config.xml +++ b/overlay/frameworks/base/core/res/res/values/config.xml @@ -1366,4 +1366,40 @@ 2 3 + + + + 0 + 100 + + + + + 0 + 80 + + + + + 0 + 80 + 140 + 80 + + + + + 0 + 40 + + + + + 0 + 40 + 160 + 165 + 500 + 600 + diff --git a/vendor.prop b/vendor.prop index ec01ea7..baa5c62 100644 --- a/vendor.prop +++ b/vendor.prop @@ -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