diff options
author | ByteHamster <info@bytehamster.com> | 2020-03-20 14:07:49 +0100 |
---|---|---|
committer | ByteHamster <info@bytehamster.com> | 2020-03-20 14:08:44 +0100 |
commit | 0d029438665d232dfe1a245cbe03bb51b76be2c6 (patch) | |
tree | 43d528874023bc6bb5af2d9884db79baef487d93 /core/src/play/java | |
parent | d7cfa07c449666caa321df3c0894e5de816ffafa (diff) | |
download | AntennaPod-0d029438665d232dfe1a245cbe03bb51b76be2c6.zip |
Install ssl provider asynchronously
Diffstat (limited to 'core/src/play/java')
-rw-r--r-- | core/src/play/java/de/danoeh/antennapod/core/ClientConfig.java | 3 |
1 files changed, 1 insertions, 2 deletions
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 51303797f..9aaebc2cc 100644 --- a/core/src/play/java/de/danoeh/antennapod/core/ClientConfig.java +++ b/core/src/play/java/de/danoeh/antennapod/core/ClientConfig.java @@ -64,7 +64,6 @@ public class ClientConfig { } else { Log.v(TAG, "Cast is disabled. All Cast-related initialization will be skipped."); } - installSslProvider(context); AntennapodHttpClient.setCacheDirectory(new File(context.getCacheDir(), "okhttp")); SleepTimerPreferences.init(context); RxJavaErrorHandlerSetup.setupRxJavaErrorHandler(); @@ -72,7 +71,7 @@ public class ClientConfig { initialized = true; } - private static void installSslProvider(Context context) { + public static void installSslProvider(Context context) { try { ProviderInstaller.installIfNeeded(context); } catch (GooglePlayServicesRepairableException e) { |