pull/1771/head
kunfei 3 years ago
parent 8bfa1f227d
commit 8cad8fe230
  1. 1
      app/src/main/java/io/legado/app/service/AudioPlayService.kt
  2. 1
      app/src/main/java/io/legado/app/service/BaseReadAloudService.kt

@ -467,6 +467,7 @@ class AudioPlayService : BaseService(),
val builder = NotificationCompat
.Builder(this@AudioPlayService, AppConst.channelIdReadAloud)
.setSmallIcon(R.drawable.ic_volume_up)
.setSubText(getString(R.string.audio))
.setOngoing(true)
.setContentTitle(nTitle)
.setContentText(nSubtitle)

@ -317,6 +317,7 @@ abstract class BaseReadAloudService : BaseService(),
val builder = NotificationCompat
.Builder(this@BaseReadAloudService, AppConst.channelIdReadAloud)
.setSmallIcon(R.drawable.ic_volume_up)
.setSubText(getString(R.string.read_aloud))
.setOngoing(true)
.setContentTitle(nTitle)
.setContentText(nSubtitle)

Loading…
Cancel
Save