diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index b2d5fd716..4491ea9e2 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -9,7 +9,7 @@
= Build.VERSION_CODES.O) {
- val channel = NotificationChannel(id, name, importance)
- channel.description = descriptionText
- // Register the channel in the system
- val notificationManager = getSystemService(NOTIFICATION_SERVICE) as NotificationManager
- notificationManager.createNotificationChannel(channel)
- }
+ val notificationManager = NotificationManagerCompat.from(this)
+ notificationManager.createNotificationChannelsCompat(listOf(downloadChannel,
+ backgroundChannel, pushChannel))
}
}
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 62009f659..10d021479 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -324,4 +324,12 @@
Skip segment
Skip manually
Don\'t skip segments automatically, always prompt before.
+
+
+ Download Service
+ Shows a notification when downloading media.
+ Background Mode
+ Shows a notification with buttons to control the audio player.
+ Notification Worker
+ Shows a notification when new streams are available.