From dc6d3033d5ee2864c8a1674fac0d638182565a94 Mon Sep 17 00:00:00 2001 From: M66B Date: Thu, 20 Jun 2024 19:06:35 +0200 Subject: [PATCH] Clear favicon cache --- app/src/main/java/eu/faircode/email/ApplicationEx.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/src/main/java/eu/faircode/email/ApplicationEx.java b/app/src/main/java/eu/faircode/email/ApplicationEx.java index 2905d3dd11..1131230985 100644 --- a/app/src/main/java/eu/faircode/email/ApplicationEx.java +++ b/app/src/main/java/eu/faircode/email/ApplicationEx.java @@ -888,6 +888,11 @@ public class ApplicationEx extends Application editor.remove("viewport_height"); } + if (version < 2208) { + if (!BuildConfig.DEBUG) + ContactInfo.clearCache(context); // SVG scale + } + if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O && !BuildConfig.DEBUG) editor.remove("background_service");