Gmail favicon

pull/183/head
M66B 5 years ago
parent 4ecc53e965
commit 2c8137d31d

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

Loading…
Cancel
Save