diff --git a/apps/android/app/src/main/java/chat/simplex/app/model/NtfManager.kt b/apps/android/app/src/main/java/chat/simplex/app/model/NtfManager.kt index 36963e3e4b..1dc71ef292 100644 --- a/apps/android/app/src/main/java/chat/simplex/app/model/NtfManager.kt +++ b/apps/android/app/src/main/java/chat/simplex/app/model/NtfManager.kt @@ -59,6 +59,9 @@ class NtfManager(val context: Context, private val appPreferences: AppPreference Log.d(TAG,"callNotificationChannel sound: $soundUri") callChannel.setSound(soundUri, attrs) callChannel.enableVibration(true) + // the numbers below are explained here: https://developer.android.com/reference/android/os/Vibrator + // (wait, vibration duration, wait till off, wait till on again = ringtone mp3 duration - vibration duration - ~50ms lost somewhere) + callChannel.vibrationPattern = longArrayOf(250, 250, 0, 2600) return callChannel }