From 806b1f48ecf93f93e548980a87c0e6495591f596 Mon Sep 17 00:00:00 2001 From: ByteHamster Date: Sat, 19 Sep 2020 21:20:15 +0200 Subject: 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 --- core/src/free/java/de/danoeh/antennapod/core/ClientConfig.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'core/src/free/java/de/danoeh') 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 } } -- cgit v1.2.3