mirror of https://github.com/M66B/FairEmail.git
Reduced logging
This commit is contained in:
parent
6c4fe61caf
commit
38762ef418
|
@ -81,12 +81,18 @@ public class Bimi {
|
|||
selector = "default";
|
||||
|
||||
// Get DNS record
|
||||
DnsHelper.DnsRecord[] records;
|
||||
try {
|
||||
String txt = selector + "._bimi." + domain;
|
||||
Log.i("BIMI fetch TXT=" + txt);
|
||||
DnsHelper.DnsRecord[] records = DnsHelper.lookup(context, txt, "txt");
|
||||
records = DnsHelper.lookup(context, txt, "txt");
|
||||
if (records.length == 0)
|
||||
return null;
|
||||
Log.i("BIMI got TXT=" + records[0].name);
|
||||
} catch (Throwable ex) {
|
||||
Log.i(ex);
|
||||
return null;
|
||||
}
|
||||
|
||||
// Decode DNS record
|
||||
Map<String, String> values = new HashMap<>();
|
||||
|
|
Loading…
Reference in New Issue