From 025ce3c63b91f3579f756fee87f9bbe665df33f2 Mon Sep 17 00:00:00 2001 From: tibbi Date: Sat, 4 Nov 2017 17:30:01 +0100 Subject: [PATCH] set the minimal duration of initial items to 30 seconds --- .../com/simplemobiletools/musicplayer/services/MusicService.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/musicplayer/services/MusicService.kt b/app/src/main/kotlin/com/simplemobiletools/musicplayer/services/MusicService.kt index 8abaf442..de2802a0 100644 --- a/app/src/main/kotlin/com/simplemobiletools/musicplayer/services/MusicService.kt +++ b/app/src/main/kotlin/com/simplemobiletools/musicplayer/services/MusicService.kt @@ -41,7 +41,7 @@ import java.util.* class MusicService : Service(), MediaPlayer.OnPreparedListener, MediaPlayer.OnErrorListener, MediaPlayer.OnCompletionListener { companion object { private val TAG = MusicService::class.java.simpleName - private val MIN_INITIAL_DURATION = 20 + private val MIN_INITIAL_DURATION = 30 private val PROGRESS_UPDATE_INTERVAL = 1000 private val NOTIFICATION_ID = 78 // just a random number