优化
This commit is contained in:
@@ -148,7 +148,7 @@ class AudioPlayService : BaseService(),
|
|||||||
exoPlayer.playWhenReady = true
|
exoPlayer.playWhenReady = true
|
||||||
exoPlayer.prepare()
|
exoPlayer.prepare()
|
||||||
}.onError {
|
}.onError {
|
||||||
it.printOnDebug()
|
AppLog.put("播放出错\n${it.localizedMessage}", it)
|
||||||
toastOnUi("$url ${it.localizedMessage}")
|
toastOnUi("$url ${it.localizedMessage}")
|
||||||
stopSelf()
|
stopSelf()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user