kunfei 4 лет назад
Родитель
Сommit
34872c73e2

+ 1 - 0
app/src/main/java/io/legado/app/service/AudioPlayService.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)

+ 1 - 0
app/src/main/java/io/legado/app/service/BaseReadAloudService.kt

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