优化
This commit is contained in:
@@ -467,6 +467,7 @@ class AudioPlayService : BaseService(),
|
|||||||
val builder = NotificationCompat
|
val builder = NotificationCompat
|
||||||
.Builder(this@AudioPlayService, AppConst.channelIdReadAloud)
|
.Builder(this@AudioPlayService, AppConst.channelIdReadAloud)
|
||||||
.setSmallIcon(R.drawable.ic_volume_up)
|
.setSmallIcon(R.drawable.ic_volume_up)
|
||||||
|
.setSubText(getString(R.string.audio))
|
||||||
.setOngoing(true)
|
.setOngoing(true)
|
||||||
.setContentTitle(nTitle)
|
.setContentTitle(nTitle)
|
||||||
.setContentText(nSubtitle)
|
.setContentText(nSubtitle)
|
||||||
|
|||||||
@@ -317,6 +317,7 @@ abstract class BaseReadAloudService : BaseService(),
|
|||||||
val builder = NotificationCompat
|
val builder = NotificationCompat
|
||||||
.Builder(this@BaseReadAloudService, AppConst.channelIdReadAloud)
|
.Builder(this@BaseReadAloudService, AppConst.channelIdReadAloud)
|
||||||
.setSmallIcon(R.drawable.ic_volume_up)
|
.setSmallIcon(R.drawable.ic_volume_up)
|
||||||
|
.setSubText(getString(R.string.read_aloud))
|
||||||
.setOngoing(true)
|
.setOngoing(true)
|
||||||
.setContentTitle(nTitle)
|
.setContentTitle(nTitle)
|
||||||
.setContentText(nSubtitle)
|
.setContentText(nSubtitle)
|
||||||
|
|||||||
Reference in New Issue
Block a user