From 132362f0e1052a25f4475bde61ee1c948eb8bd57 Mon Sep 17 00:00:00 2001 From: kunfei Date: Tue, 5 Nov 2019 12:28:46 +0800 Subject: [PATCH] up --- app/src/main/java/io/legado/app/service/AudioPlayService.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/src/main/java/io/legado/app/service/AudioPlayService.kt b/app/src/main/java/io/legado/app/service/AudioPlayService.kt index 5b5dc842e..468a3d4ba 100644 --- a/app/src/main/java/io/legado/app/service/AudioPlayService.kt +++ b/app/src/main/java/io/legado/app/service/AudioPlayService.kt @@ -154,6 +154,9 @@ class AudioPlayService : BaseService(), } override fun onError(mp: MediaPlayer?, what: Int, extra: Int): Boolean { + launch { + toast("error: $what $extra") + } return true }