This commit is contained in:
kunfei
2022-04-11 23:53:24 +08:00
parent 8bfa1f227d
commit 8cad8fe230
2 changed files with 2 additions and 0 deletions
@@ -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)