pull/52/head
kunfei 5 years ago
parent 2ef37fbcc5
commit 53c0a95bf7
  1. 16
      app/src/main/java/io/legado/app/receiver/OnUpgradeReceiver.kt

@ -0,0 +1,16 @@
package io.legado.app.receiver
import android.content.BroadcastReceiver
import android.content.Context
import android.content.Intent
import io.legado.app.service.help.ReadAloud
class OnUpgradeReceiver : BroadcastReceiver() {
override fun onReceive(context: Context?, intent: Intent?) {
context?.let {
ReadAloud.stop(it)
}
}
}
Loading…
Cancel
Save