summaryrefslogtreecommitdiff
path: root/core/src/main
diff options
context:
space:
mode:
authororionlee <orionlee@yahoo.com>2019-09-23 14:22:16 -0700
committerorionlee <orionlee@yahoo.com>2019-09-23 14:22:16 -0700
commitc41c8765b691bed6a04bd262025cdde5f245535c (patch)
tree6a0fa57c74c09b0fd046339674e28d83df4f189e /core/src/main
parente8be5cb8ec18d49c66abd6898a6a55d9f246c7e4 (diff)
downloadAntennaPod-c41c8765b691bed6a04bd262025cdde5f245535c.zip
SSL android 4 fix - fix code styles
Diffstat (limited to 'core/src/main')
-rw-r--r--core/src/main/java/de/danoeh/antennapod/core/service/download/AntennapodHttpClient.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/main/java/de/danoeh/antennapod/core/service/download/AntennapodHttpClient.java b/core/src/main/java/de/danoeh/antennapod/core/service/download/AntennapodHttpClient.java
index e6886c655..04a6d5882 100644
--- a/core/src/main/java/de/danoeh/antennapod/core/service/download/AntennapodHttpClient.java
+++ b/core/src/main/java/de/danoeh/antennapod/core/service/download/AntennapodHttpClient.java
@@ -142,11 +142,11 @@ public class AntennapodHttpClient {
});
}
}
- if(16 <= Build.VERSION.SDK_INT && Build.VERSION.SDK_INT < 21) {
+ if (16 <= Build.VERSION.SDK_INT && Build.VERSION.SDK_INT < 21) {
builder.sslSocketFactory(new CustomSslSocketFactory(), trustManager());
}
- if(Build.VERSION.SDK_INT < 21) {
+ if (Build.VERSION.SDK_INT < 21) {
// workaround for Android 4.x for certain web sites.
// see: https://github.com/square/okhttp/issues/4053#issuecomment-402579554
List<CipherSuite> cipherSuites = new ArrayList<>();