Skip to content
This repository has been archived by the owner on Jul 5, 2022. It is now read-only.

Commit

Permalink
Merge pull request #21 from blackbox87/legacy-fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
friendlyanon committed Mar 10, 2020
2 parents fe0dfcd + 4d8622d commit a356fc7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public class DownloaderImpl extends Downloader {
private OkHttpClient client;

private DownloaderImpl(OkHttpClient.Builder builder) {
if (Build.VERSION.SDK_INT == Build.VERSION_CODES.KITKAT) {
if (Build.VERSION.SDK_INT <= Build.VERSION_CODES.KITKAT) {
enableModernTLS(builder);
}
this.client = builder
Expand Down

0 comments on commit a356fc7

Please sign in to comment.