mirror of
https://github.com/markusfisch/BinaryEye.git
synced 2024-09-19 19:42:18 +02:00
Increase the duration of the vibration
Because 100ms is too short for some devices and the vibration cannot be felt. This should fix https://github.com/markusfisch/BinaryEye/issues/334
This commit is contained in:
parent
09ff334c4c
commit
6a63bc4e06
@ -5,7 +5,7 @@ import android.os.Build
|
||||
import android.os.VibrationEffect
|
||||
import android.os.Vibrator
|
||||
|
||||
private const val DURATION_IN_MS = 100L
|
||||
private const val DURATION_IN_MS = 250L
|
||||
|
||||
private val beforeO = Build.VERSION.SDK_INT < Build.VERSION_CODES.O
|
||||
private val errorPatternTimings = longArrayOf(
|
||||
|
Loading…
Reference in New Issue
Block a user