Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tsynik committed May 16, 2024
1 parent dcc0eb5 commit c075532
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main/java/top/rootu/lampa/net/HttpHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public static OkHttpClient getOkHttpClient(int timeout) {
try {
// use Conscrypt for TLS on Android < 10 and trust all certs
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.Q
|| (!Helpers.isBrokenTCL() && !Helpers.isWisdomShare())
&& (!Helpers.isBrokenTCL() && !Helpers.isWisdomShare())
) {
builder.sslSocketFactory(
new TlsSocketFactory(TlsSocketFactory.TLS_MODERN),
Expand Down

0 comments on commit c075532

Please sign in to comment.