OSDN Git Service

Use config_longPressVibePattern as heavy click fallback.
authorMichael Wright <michaelwr@google.com>
Mon, 16 Apr 2018 18:35:13 +0000 (19:35 +0100)
committerMichael Wright <michaelwr@google.com>
Wed, 18 Apr 2018 17:42:41 +0000 (18:42 +0100)
commitd39cbecb404378d267391be6767d89ecd4aaaa93
tree38d53a9234d2937d817dd0806bdd03541a938eb3
parent84745ebe11d085fe805ab9156db872731e0ac790
Use config_longPressVibePattern as heavy click fallback.

Rather than using the regular click effect as the fallback, use the long
press pattern since heavy click is the new effect for long press. This
also lets us distinguish the two effects in the configuration.

Bug: 77863933
Test: long-press on something, feel the effect
Change-Id: Ie22d064cbdd2d33702180cb528d743e75ff8ae63
services/core/java/com/android/server/VibratorService.java