Added comments

pull/214/head
M66B 2 years ago
parent 30cdfbf950
commit cbfef9f43b

@ -10,6 +10,7 @@ public class SSLHelper {
boolean secure, boolean cert_strict, boolean secure, boolean cert_strict,
String trustedFingerprint, String trustedFingerprint,
ITrust intf) { ITrust intf) {
// https://support.google.com/faqs/answer/6346016
return null; return null;
} }

@ -720,6 +720,7 @@ public class ConnectionHelper {
} }
static HttpURLConnection openConnectionUnsafe(Context context, URL url, int ctimeout, int rtimeout) throws IOException { static HttpURLConnection openConnectionUnsafe(Context context, URL url, int ctimeout, int rtimeout) throws IOException {
// https://support.google.com/faqs/answer/7188426
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
boolean open_safe = prefs.getBoolean("open_safe", false); boolean open_safe = prefs.getBoolean("open_safe", false);

Loading…
Cancel
Save