mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-26 23:25:20 +03:00
Increase vibration duration for short vibration
20ms was almost not recognizable for samsung phones Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
parent
dc2314f86b
commit
a339d64d37
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ import android.os.VibrationEffect
|
|||
import android.os.Vibrator
|
||||
|
||||
object VibrationUtils {
|
||||
private const val SHORT_VIBRATE: Long = 20
|
||||
private const val SHORT_VIBRATE: Long = 100
|
||||
|
||||
fun vibrateShort(context: Context) {
|
||||
val vibrator = context.getSystemService(Context.VIBRATOR_SERVICE) as Vibrator
|
||||
|
|
Loading…
Reference in a new issue