Horis 2 лет назад
Родитель
Сommit
91d1eec935

+ 1 - 1
app/src/main/java/io/legado/app/App.kt

@@ -166,7 +166,7 @@ class App : Application() {
         val readAloudChannel = NotificationChannel(
             channelIdReadAloud,
             getString(R.string.read_aloud),
-            NotificationManager.IMPORTANCE_HIGH
+            NotificationManager.IMPORTANCE_DEFAULT
         ).apply {
             enableLights(false)
             enableVibration(false)

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

@@ -541,7 +541,6 @@ 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)