summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorH. Lehmann <ByteHamster@users.noreply.github.com>2019-12-12 09:46:38 +0100
committerGitHub <noreply@github.com>2019-12-12 09:46:38 +0100
commitc21bc58525856851ae8f93534e4a75467036f07e (patch)
tree2a05d0f156f6823c989c98a485e6458be4acf21c /core
parenta4243320f69e0b6b5ff2079d25e8d1a54514b1bf (diff)
parent29f468b332e78ff2ecb35ec704297cfc8fcd828f (diff)
downloadAntennaPod-c21bc58525856851ae8f93534e4a75467036f07e.zip
Merge pull request #3680 from ByteHamster/create-channels
Make sure to create notification channels
Diffstat (limited to 'core')
-rw-r--r--core/src/free/java/de/danoeh/antennapod/core/ClientConfig.java2
-rw-r--r--core/src/play/java/de/danoeh/antennapod/core/ClientConfig.java2
2 files changed, 4 insertions, 0 deletions
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;
}