This commit is contained in:
kunfei committed 2022-04-11 23:53:24 +08:00
1 parent 5f3b23f862
commit 34872c73e2
2 files changed
+2

No files matched your search

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