mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-20 03:59:35 +01: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
@ -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 New Issue
Block a user