pull/48/head
kunfei 5 years ago
parent 413f8a127e
commit fd80d18a52
  1. 3
      app/src/main/java/io/legado/app/service/AudioPlayService.kt

@ -26,6 +26,7 @@ import io.legado.app.help.IntentHelp
import io.legado.app.help.MediaHelp
import io.legado.app.receiver.MediaButtonReceiver
import io.legado.app.service.help.AudioPlay
import io.legado.app.ui.audio.AudioPlayActivity
import io.legado.app.utils.LogUtils
import io.legado.app.utils.postEvent
import kotlinx.coroutines.Dispatchers.IO
@ -458,7 +459,7 @@ class AudioPlayService : BaseService(),
.setContentTitle(nTitle)
.setContentText(nSubtitle)
.setContentIntent(
IntentHelp.activityPendingIntent<AudioPlayService>(this, "activity")
IntentHelp.activityPendingIntent<AudioPlayActivity>(this, "activity")
)
if (pause) {
builder.addAction(

Loading…
Cancel
Save