Gmail favicon

This commit is contained in:
M66B 2020-06-30 12:35:38 +02:00
parent 4ecc53e965
commit 2c8137d31d
1 changed files with 3 additions and 4 deletions

View File

@ -84,10 +84,6 @@ public class ContactInfo {
private static final long CACHE_CONTACT_DURATION = 2 * 60 * 1000L; // milliseconds
private static final long CACHE_GRAVATAR_DURATION = 2 * 60 * 60 * 1000L; // milliseconds
static {
emailFaviconBlacklist.add("gmail.com");
}
private ContactInfo() {
}
@ -277,6 +273,9 @@ public class ContactInfo {
}
if (domain != null) {
if ("gmail.com".equals(domain))
domain = "google.com";
try {
// check cache
File dir = new File(context.getCacheDir(), "favicons");