Skip to content

Commit

Permalink
Closes #90
Browse files Browse the repository at this point in the history
  • Loading branch information
jeancsanchez committed May 2, 2019
1 parent 843f0e9 commit b64e2e5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class JcServiceConnection(private val context: Context) : ServiceConnection {
val intent = Intent(context.applicationContext, JcPlayerService::class.java)
intent.putExtra(JcNotificationPlayer.PLAYLIST, playlist as Serializable?)
intent.putExtra(JcNotificationPlayer.CURRENT_AUDIO, currentAudio)
context.bindService(intent, this, Context.BIND_AUTO_CREATE)
context.applicationContext.bindService(intent, this, Context.BIND_AUTO_CREATE)
}
}

Expand Down

1 comment on commit b64e2e5

@riverastar
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Buenas noche excelente material, pero quiero dar stop a la reproduccion cuanto presiono el boton atras, como lo hago.

Please sign in to comment.