mirror of
https://github.com/gedoor/legado.git
synced 2025-08-10 00:52:30 +00:00
优化
This commit is contained in:
@@ -44,10 +44,15 @@ class AudioPlayService : BaseService(),
|
||||
Player.Listener {
|
||||
|
||||
companion object {
|
||||
@JvmStatic
|
||||
var isRun = false
|
||||
private set
|
||||
|
||||
@JvmStatic
|
||||
var pause = true
|
||||
private set
|
||||
|
||||
@JvmStatic
|
||||
var timeMinute: Int = 0
|
||||
private set
|
||||
var url: String = ""
|
||||
|
||||
@@ -37,10 +37,15 @@ abstract class BaseReadAloudService : BaseService(),
|
||||
AudioManager.OnAudioFocusChangeListener {
|
||||
|
||||
companion object {
|
||||
@JvmStatic
|
||||
var isRun = false
|
||||
private set
|
||||
|
||||
@JvmStatic
|
||||
var timeMinute: Int = 0
|
||||
private set
|
||||
|
||||
@JvmStatic
|
||||
var pause = true
|
||||
private set
|
||||
|
||||
|
||||
Reference in New Issue
Block a user