优化
This commit is contained in:
@@ -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