Version guard download notification channel API 26+

This commit is contained in:
advplyr
2026-07-30 16:51:48 -05:00
parent 2cc9ff5a41
commit d3e55cabf4
@@ -82,6 +82,7 @@ class DownloadService : Service() {
}
private fun createChannel() {
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.O) return
val manager = getSystemService(NOTIFICATION_SERVICE) as NotificationManager
manager.createNotificationChannel(
NotificationChannel(