Horis 2 лет назад
Родитель
Сommit
4c9e6a9fb2
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      app/src/main/java/io/legado/app/service/BaseReadAloudService.kt

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

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