听书朗读闪退问题 #122
This commit is contained in:
3 files changed
+2
-2
No files matched your search
@@ -115,7 +115,7 @@ class AudioPlayService : BaseService(),
|
|||||||
private var upPlayProgressJob: Job? = null
|
private var upPlayProgressJob: Job? = null
|
||||||
private var playSpeed: Float = 1f
|
private var playSpeed: Float = 1f
|
||||||
private var cover: Bitmap =
|
private var cover: Bitmap =
|
||||||
BitmapFactory.decodeResource(appCtx.resources, R.drawable.ic_launcher_foreground_m)
|
BitmapFactory.decodeResource(appCtx.resources, R.drawable.ic_launcher)!!
|
||||||
|
|
||||||
override fun onCreate() {
|
override fun onCreate() {
|
||||||
super.onCreate()
|
super.onCreate()
|
||||||
|
|||||||
@@ -125,7 +125,7 @@ abstract class BaseReadAloudService : BaseService(),
|
|||||||
private var dsJob: Job? = null
|
private var dsJob: Job? = null
|
||||||
private var upNotificationJob: Coroutine<*>? = null
|
private var upNotificationJob: Coroutine<*>? = null
|
||||||
private var cover: Bitmap =
|
private var cover: Bitmap =
|
||||||
BitmapFactory.decodeResource(appCtx.resources, R.drawable.ic_launcher_foreground_m)
|
BitmapFactory.decodeResource(appCtx.resources, R.drawable.ic_launcher)
|
||||||
var pageChanged = false
|
var pageChanged = false
|
||||||
private var toLast = false
|
private var toLast = false
|
||||||
var paragraphStartPos = 0
|
var paragraphStartPos = 0
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 2.1 KiB |
Reference in new issue
Block a user