mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-12 21:30:30 +05:30
Play audio in background
This commit is contained in:
parent
cdc7ec6e5b
commit
4dc7bb3371
@ -46,5 +46,4 @@ interface PipedApi {
|
||||
@GET("subscriptions")
|
||||
suspend fun subscriptions(@Header("Authorization") token: String): List<Subscription>
|
||||
|
||||
|
||||
}
|
@ -229,10 +229,15 @@ class PlayerFragment : Fragment() {
|
||||
|
||||
override fun onStop() {
|
||||
super.onStop()
|
||||
|
||||
|
||||
}
|
||||
|
||||
override fun onDestroy() {
|
||||
super.onDestroy()
|
||||
try {
|
||||
exoPlayer.stop()
|
||||
}catch (e: Exception){}
|
||||
|
||||
}
|
||||
|
||||
private fun fetchJson(view: View) {
|
||||
|
Loading…
Reference in New Issue
Block a user