This commit is contained in:
Horis
2024-08-16 21:07:56 +08:00
parent d5b6cc3022
commit 51cf318531
@@ -501,6 +501,7 @@ abstract class BaseReadAloudService : BaseService(),
.setVisibility(NotificationCompat.VISIBILITY_PUBLIC)
.setForegroundServiceBehavior(NotificationCompat.FOREGROUND_SERVICE_IMMEDIATE)
.setCategory(NotificationCompat.CATEGORY_TRANSPORT)
.setPriority(NotificationCompat.PRIORITY_HIGH)
.setSmallIcon(R.drawable.ic_volume_up)
.setSubText(getString(R.string.read_aloud))
.setOngoing(true)