diff options
author | ByteHamster <info@bytehamster.com> | 2020-09-19 21:20:15 +0200 |
---|---|---|
committer | ByteHamster <info@bytehamster.com> | 2020-09-19 21:27:01 +0200 |
commit | 806b1f48ecf93f93e548980a87c0e6495591f596 (patch) | |
tree | e320a6a36155418c233a55a65ae1073ebff8b74f /core/src/free | |
parent | 689bdb69db71295eca1eaad9ab0a1e996c4b1536 (diff) | |
download | AntennaPod-806b1f48ecf93f93e548980a87c0e6495591f596.zip |
Make ProviderInstaller synchronous again
See #4077 for details: It is fast and the old method sometimes does not install the provider early enough
Reverts #3946 and #4285
Diffstat (limited to 'core/src/free')
-rw-r--r-- | core/src/free/java/de/danoeh/antennapod/core/ClientConfig.java | 3 |
1 files changed, 2 insertions, 1 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 3c1eda242..824a4fae3 100644 --- a/core/src/free/java/de/danoeh/antennapod/core/ClientConfig.java +++ b/core/src/free/java/de/danoeh/antennapod/core/ClientConfig.java @@ -45,6 +45,7 @@ public class ClientConfig { UserPreferences.init(context); UsageStatistics.init(context); PlaybackPreferences.init(context); + installSslProvider(context); NetworkUtils.init(context); AntennapodHttpClient.setCacheDirectory(new File(context.getCacheDir(), "okhttp")); SleepTimerPreferences.init(context); @@ -53,7 +54,7 @@ public class ClientConfig { initialized = true; } - public static void installSslProvider(Context context) { + private static void installSslProvider(Context context) { // ProviderInstaller is a closed-source Google library } } |