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