From 8cad8fe2305973a5a6e651491928bd9e4b7d72a5 Mon Sep 17 00:00:00 2001 From: kunfei Date: Mon, 11 Apr 2022 23:53:24 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/java/io/legado/app/service/AudioPlayService.kt | 1 + app/src/main/java/io/legado/app/service/BaseReadAloudService.kt | 1 + 2 files changed, 2 insertions(+) diff --git a/app/src/main/java/io/legado/app/service/AudioPlayService.kt b/app/src/main/java/io/legado/app/service/AudioPlayService.kt index 081fdd324..87e9b1a82 100644 --- a/app/src/main/java/io/legado/app/service/AudioPlayService.kt +++ b/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) diff --git a/app/src/main/java/io/legado/app/service/BaseReadAloudService.kt b/app/src/main/java/io/legado/app/service/BaseReadAloudService.kt index eab6548c9..bb339aa60 100644 --- a/app/src/main/java/io/legado/app/service/BaseReadAloudService.kt +++ b/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)