pull/52/head
kunfei 5 years ago
parent 96efa3c4b5
commit 788899a546
  1. 5
      app/src/main/AndroidManifest.xml
  2. 16
      app/src/main/java/io/legado/app/receiver/OnUpgradeReceiver.kt

@ -129,11 +129,6 @@
<action android:name="android.intent.action.MEDIA_BUTTON" />
</intent-filter>
</receiver>
<receiver android:name=".receiver.OnUpgradeReceiver">
<intent-filter>
<action android:name="android.intent.action.MY_PACKAGE_REPLACED" />
</intent-filter>
</receiver>
<provider
android:name="androidx.core.content.FileProvider"

@ -1,16 +0,0 @@
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