mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-01 06:38:29 +02:00
Small improvements
This commit is contained in:
@@ -41,6 +41,7 @@ import java.net.HttpURLConnection;
|
||||
import java.net.URL;
|
||||
import java.util.Date;
|
||||
import java.util.HashMap;
|
||||
import java.util.Locale;
|
||||
import java.util.Map;
|
||||
import java.util.concurrent.ConcurrentHashMap;
|
||||
import java.util.concurrent.ExecutorService;
|
||||
@@ -200,7 +201,7 @@ public class ContactInfo {
|
||||
if (lookup) {
|
||||
HttpURLConnection urlConnection = null;
|
||||
try {
|
||||
String hash = Helper.md5(address.getAddress().toLowerCase().getBytes());
|
||||
String hash = Helper.md5(address.getAddress().toLowerCase(Locale.ROOT).getBytes());
|
||||
URL url = new URL("https://www.gravatar.com/avatar/" + hash + "?d=404");
|
||||
Log.i("Gravatar url=" + url);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user