mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-24 23:12:55 +00:00
Increased Apple touch icon priority
This commit is contained in:
parent
88524464bc
commit
91ce6edf6e
1 changed files with 5 additions and 1 deletions
|
@ -867,7 +867,7 @@ public class ContactInfo {
|
||||||
if ("mailbox.org".equals(host))
|
if ("mailbox.org".equals(host))
|
||||||
order += 30;
|
order += 30;
|
||||||
else
|
else
|
||||||
order += 10;
|
order += 20;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isIco)
|
if (isIco)
|
||||||
|
@ -923,7 +923,11 @@ public class ContactInfo {
|
||||||
throw new FileNotFoundException("decodeStream");
|
throw new FileNotFoundException("decodeStream");
|
||||||
if (bitmap.getWidth() <= 1 || bitmap.getHeight() <= 1)
|
if (bitmap.getWidth() <= 1 || bitmap.getHeight() <= 1)
|
||||||
throw new IOException("Too small");
|
throw new IOException("Too small");
|
||||||
|
Log.i("GOT favicon " + url);
|
||||||
return new Favicon(bitmap, url.toString());
|
return new Favicon(bitmap, url.toString());
|
||||||
|
} catch (Throwable ex) {
|
||||||
|
Log.i("GET favicon " + url + " error=" + ex.getMessage());
|
||||||
|
throw ex;
|
||||||
} finally {
|
} finally {
|
||||||
connection.disconnect();
|
connection.disconnect();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue