Move MediaPlayerService to Kotlin dir

This commit is contained in:
tzugen 2021-04-22 20:17:03 +02:00
parent 3aae91bf13
commit 0ad6d0b691
No known key found for this signature in database
GPG Key ID: 61E9C34BC10EC930
1 changed files with 2 additions and 1 deletions

View File

@ -49,6 +49,7 @@ import timber.log.Timber
class MediaPlayerService : Service() {
private val binder: IBinder = SimpleServiceBinder(this)
private val scrobbler = Scrobbler()
private val jukeboxMediaPlayer by inject<JukeboxMediaPlayer>()
private val downloadQueueSerializer by inject<DownloadQueueSerializer>()
private val shufflePlayBuffer by inject<ShufflePlayBuffer>()
@ -62,7 +63,7 @@ class MediaPlayerService : Service() {
private var isInForeground = false
private var notificationBuilder: NotificationCompat.Builder? = null
val repeatMode: RepeatMode
private val repeatMode: RepeatMode
get() = Util.getRepeatMode(this)
override fun onBind(intent: Intent): IBinder {