From 9d88abbe749a341cbb3d45fe335cfd949a795d72 Mon Sep 17 00:00:00 2001 From: M66B Date: Fri, 11 Dec 2020 08:36:28 +0100 Subject: [PATCH] Cleanup contact info cache --- app/src/main/java/eu/faircode/email/WorkerCleanup.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/WorkerCleanup.java b/app/src/main/java/eu/faircode/email/WorkerCleanup.java index df41e10708..e5e1f57956 100644 --- a/app/src/main/java/eu/faircode/email/WorkerCleanup.java +++ b/app/src/main/java/eu/faircode/email/WorkerCleanup.java @@ -262,7 +262,9 @@ public class WorkerCleanup extends Worker { } // Cleanup contact info - if (!manual) + if (manual) + ContactInfo.clearCache(context, true); + else ContactInfo.cleanup(context); Log.i("Cleanup FTS=" + fts);