From 913db34185bd94cf65350d3b4a3d8a59b9470806 Mon Sep 17 00:00:00 2001 From: M66B Date: Wed, 30 Jun 2021 12:30:15 +0200 Subject: [PATCH] Prevent using Doodles --- app/src/main/java/eu/faircode/email/ContactInfo.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/ContactInfo.java b/app/src/main/java/eu/faircode/email/ContactInfo.java index 8722bfbccf..20380b760f 100644 --- a/app/src/main/java/eu/faircode/email/ContactInfo.java +++ b/app/src/main/java/eu/faircode/email/ContactInfo.java @@ -349,8 +349,10 @@ public class ContactInfo { String domain = (at < 0 ? null : info.email.substring(at + 1).toLowerCase(Locale.ROOT)); if (domain != null) { - if ("gmail.com".equals(domain) || "googlemail.com".equals(domain)) - domain = "google.com"; + if ("google.com".equals(domain) || + "gmail.com".equals(domain) || + "googlemail.com".equals(domain)) + domain = "support.google.com"; File dir = new File(context.getCacheDir(), "favicons"); if (!dir.exists())