From 91ce6edf6ee08f876523033d66faace3965bd2b7 Mon Sep 17 00:00:00 2001 From: M66B Date: Tue, 8 Aug 2023 15:03:15 +0200 Subject: [PATCH] Increased Apple touch icon priority --- app/src/main/java/eu/faircode/email/ContactInfo.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/ContactInfo.java b/app/src/main/java/eu/faircode/email/ContactInfo.java index c02845751f..0d6d90e8cc 100644 --- a/app/src/main/java/eu/faircode/email/ContactInfo.java +++ b/app/src/main/java/eu/faircode/email/ContactInfo.java @@ -867,7 +867,7 @@ public class ContactInfo { if ("mailbox.org".equals(host)) order += 30; else - order += 10; + order += 20; } if (isIco) @@ -923,7 +923,11 @@ public class ContactInfo { throw new FileNotFoundException("decodeStream"); if (bitmap.getWidth() <= 1 || bitmap.getHeight() <= 1) throw new IOException("Too small"); + Log.i("GOT favicon " + url); return new Favicon(bitmap, url.toString()); + } catch (Throwable ex) { + Log.i("GET favicon " + url + " error=" + ex.getMessage()); + throw ex; } finally { connection.disconnect(); }