From 6859c8a95b4ae2036f3ee690f4208ef86253a201 Mon Sep 17 00:00:00 2001 From: sailor Date: Sun, 9 Feb 2020 19:13:46 +0100 Subject: [PATCH] allow all connections --- app/src/main/java/net/programmierecke/radiodroid2/Utils.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/net/programmierecke/radiodroid2/Utils.java b/app/src/main/java/net/programmierecke/radiodroid2/Utils.java index 620eb8511..611d62c52 100644 --- a/app/src/main/java/net/programmierecke/radiodroid2/Utils.java +++ b/app/src/main/java/net/programmierecke/radiodroid2/Utils.java @@ -542,6 +542,8 @@ public static OkHttpClient.Builder enableTls12OnPreLollipop(OkHttpClient.Builder List specs = new ArrayList<>(); specs.add(cs); + specs.add(ConnectionSpec.COMPATIBLE_TLS); + specs.add(ConnectionSpec.CLEARTEXT); client.connectionSpecs(specs); } catch (Exception exc) {