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 { Player.Listener {
companion object { companion object {
@JvmStatic
var isRun = false var isRun = false
private set private set
@JvmStatic
var pause = true var pause = true
private set private set
@JvmStatic
var timeMinute: Int = 0 var timeMinute: Int = 0
private set private set
var url: String = "" var url: String = ""

@ -37,10 +37,15 @@ abstract class BaseReadAloudService : BaseService(),
AudioManager.OnAudioFocusChangeListener { AudioManager.OnAudioFocusChangeListener {
companion object { companion object {
@JvmStatic
var isRun = false var isRun = false
private set private set
@JvmStatic
var timeMinute: Int = 0 var timeMinute: Int = 0
private set private set
@JvmStatic
var pause = true var pause = true
private set private set

Loading…
Cancel
Save