set the minimal duration of initial items to 30 seconds

This commit is contained in:
tibbi 2017-11-04 17:30:01 +01:00
parent 05e1d860cf
commit 025ce3c63b

View file

@ -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