pull/2020/head
kunfei 2 years ago
parent 2edb77a8af
commit d78c33954b
  1. 5
      app/src/main/java/io/legado/app/service/AudioPlayService.kt
  2. 5
      app/src/main/java/io/legado/app/service/BaseReadAloudService.kt

@ -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

Loading…
Cancel
Save