diff --git a/android/app/src/main/java/com/massive/TimerService.kt b/android/app/src/main/java/com/massive/TimerService.kt index 0cbe5c9..9d2e606 100644 --- a/android/app/src/main/java/com/massive/TimerService.kt +++ b/android/app/src/main/java/com/massive/TimerService.kt @@ -241,10 +241,7 @@ class TimerService : Service() { @Suppress("DEPRECATION") getSystemService(VIBRATOR_SERVICE) as Vibrator } - vibrator!!.vibrate(VibrationEffect.createWaveform(pattern, -1)) - - val handler = Handler(Looper.getMainLooper()) - handler.postDelayed({ vibrator!!.cancel() }, 10000) + vibrator!!.vibrate(VibrationEffect.createWaveform(pattern, 2)) } private fun notifyFinished() {