diff options
author | chasewu <chasewu@google.com> | 2018-08-29 17:37:12 +0800 |
---|---|---|
committer | Chase Wu <chasewu@google.com> | 2018-08-30 08:16:28 +0000 |
commit | 962469b69dd14b80c45623a7c9b2b7283a1efb31 (patch) | |
tree | 829a2562a30af86ccdaded2889c0689a43119480 | |
parent | 7b5cf1d95ec090fcd8a69c51e9783a3465f1faef (diff) | |
download | bonito-962469b69dd14b80c45623a7c9b2b7283a1efb31.tar.gz |
drv2624: Add effect#4 for heavy click
This patch adds effect#4 for heavy click which is 8 ms in square wave
with full amplitude and modify the config_longPressVibePattern to 8 ms
as Walleye version.
Bug: 77863933
Test: build pass and manual long press test
Change-Id: I432dcb833493a1a59d5eca71f2ca9a655f6cfad9
Signed-off-by: chasewu <chasewu@google.com>
-rwxr-xr-x | overlay/frameworks/base/core/res/res/values/config.xml | 3 | ||||
-rw-r--r-- | vibrator/drv2624/drv2624.bin | bin | 40 -> 45 bytes |
2 files changed, 1 insertions, 2 deletions
diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml index 2570beff..337e7a7d 100755 --- a/overlay/frameworks/base/core/res/res/values/config.xml +++ b/overlay/frameworks/base/core/res/res/values/config.xml @@ -192,9 +192,8 @@ <!-- Vibrator pattern for feedback about a long screen/key press --> - <!-- TODO(b/78128429): increase duration to account for the long latency --> <integer-array name="config_longPressVibePattern"> - <item>23</item> + <item>8</item> </integer-array> <!-- The URI to associate with each ringtone effect constant, intended to be used with the diff --git a/vibrator/drv2624/drv2624.bin b/vibrator/drv2624/drv2624.bin Binary files differindex 237169ff..73c70d39 100644 --- a/vibrator/drv2624/drv2624.bin +++ b/vibrator/drv2624/drv2624.bin |