From d7864a7400e5038254ed77719f54ea65f40c2507 Mon Sep 17 00:00:00 2001 From: kunfei Date: Sat, 27 Jul 2019 21:09:54 +0800 Subject: [PATCH] up --- app/src/main/java/io/legado/app/App.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/src/main/java/io/legado/app/App.kt b/app/src/main/java/io/legado/app/App.kt index 98caa5b44..580d2359f 100644 --- a/app/src/main/java/io/legado/app/App.kt +++ b/app/src/main/java/io/legado/app/App.kt @@ -16,7 +16,6 @@ import io.legado.app.lib.theme.ThemeStore import io.legado.app.utils.getCompatColor import io.legado.app.utils.getPrefBoolean import io.legado.app.utils.getPrefInt -import java.util.* @Suppress("DEPRECATION") class App : Application() { @@ -125,7 +124,7 @@ class App : Application() { webChannel.setSound(null, null) //向notification manager 提交channel - it.createNotificationChannels(Arrays.asList(downloadChannel, readAloudChannel, webChannel)) + it.createNotificationChannels(listOf(downloadChannel, readAloudChannel, webChannel)) } } }