From 29f468b332e78ff2ecb35ec704297cfc8fcd828f Mon Sep 17 00:00:00 2001 From: ByteHamster Date: Thu, 12 Dec 2019 09:39:40 +0100 Subject: Make sure to create notification channels --- core/src/free/java/de/danoeh/antennapod/core/ClientConfig.java | 2 ++ core/src/play/java/de/danoeh/antennapod/core/ClientConfig.java | 2 ++ 2 files changed, 4 insertions(+) (limited to 'core') diff --git a/core/src/free/java/de/danoeh/antennapod/core/ClientConfig.java b/core/src/free/java/de/danoeh/antennapod/core/ClientConfig.java index 03ce82140..54cd84b43 100644 --- a/core/src/free/java/de/danoeh/antennapod/core/ClientConfig.java +++ b/core/src/free/java/de/danoeh/antennapod/core/ClientConfig.java @@ -8,6 +8,7 @@ import de.danoeh.antennapod.core.preferences.UserPreferences; import de.danoeh.antennapod.core.storage.PodDBAdapter; import de.danoeh.antennapod.core.util.NetworkUtils; import de.danoeh.antennapod.core.util.exception.RxJavaErrorHandlerSetup; +import de.danoeh.antennapod.core.util.gui.NotificationUtils; /** * Stores callbacks for core classes like Services, DB classes etc. and other configuration variables. @@ -44,6 +45,7 @@ public class ClientConfig { NetworkUtils.init(context); SleepTimerPreferences.init(context); RxJavaErrorHandlerSetup.setupRxJavaErrorHandler(); + NotificationUtils.createChannels(context); initialized = true; } diff --git a/core/src/play/java/de/danoeh/antennapod/core/ClientConfig.java b/core/src/play/java/de/danoeh/antennapod/core/ClientConfig.java index 800222ada..55d804203 100644 --- a/core/src/play/java/de/danoeh/antennapod/core/ClientConfig.java +++ b/core/src/play/java/de/danoeh/antennapod/core/ClientConfig.java @@ -10,6 +10,7 @@ import de.danoeh.antennapod.core.preferences.UserPreferences; import de.danoeh.antennapod.core.storage.PodDBAdapter; import de.danoeh.antennapod.core.util.NetworkUtils; import de.danoeh.antennapod.core.util.exception.RxJavaErrorHandlerSetup; +import de.danoeh.antennapod.core.util.gui.NotificationUtils; /** * Stores callbacks for core classes like Services, DB classes etc. and other configuration variables. @@ -58,6 +59,7 @@ public class ClientConfig { } SleepTimerPreferences.init(context); RxJavaErrorHandlerSetup.setupRxJavaErrorHandler(); + NotificationUtils.createChannels(context); initialized = true; } -- cgit v1.2.3