This commit is contained in:
kunfei committed 2022-03-30 11:36:38 +08:00
1 parent 860f9058d1
commit 7dfcb1893c
1 file changed
+4
@@ -167,6 +167,10 @@ class AudioPlayService : BaseService(),
private fun resume() { private fun resume() {
try { try {
pause = false pause = false
if (url.isEmpty()) {
loadContent()
return
}
if (!exoPlayer.isPlaying) { if (!exoPlayer.isPlaying) {
exoPlayer.play() exoPlayer.play()
} }