Skip to content

Commit

Permalink
allow all connections
Browse files Browse the repository at this point in the history
  • Loading branch information
segler-alex committed Feb 9, 2020
1 parent ed72f43 commit 6859c8a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/src/main/java/net/programmierecke/radiodroid2/Utils.java
Original file line number Diff line number Diff line change
Expand Up @@ -542,6 +542,8 @@ public static OkHttpClient.Builder enableTls12OnPreLollipop(OkHttpClient.Builder

List<ConnectionSpec> specs = new ArrayList<>();
specs.add(cs);
specs.add(ConnectionSpec.COMPATIBLE_TLS);
specs.add(ConnectionSpec.CLEARTEXT);

client.connectionSpecs(specs);
} catch (Exception exc) {
Expand Down

0 comments on commit 6859c8a

Please sign in to comment.