优化
This commit is contained in:
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()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user