From dceecf563a16e5ab46690690cf46f2f9886ac396 Mon Sep 17 00:00:00 2001 From: M66B Date: Tue, 24 Mar 2020 19:02:19 +0100 Subject: [PATCH] Clean contact info cache on manual clean --- app/src/main/java/eu/faircode/email/WorkerCleanup.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/src/main/java/eu/faircode/email/WorkerCleanup.java b/app/src/main/java/eu/faircode/email/WorkerCleanup.java index e9a09b7d1e..0ab2413a02 100644 --- a/app/src/main/java/eu/faircode/email/WorkerCleanup.java +++ b/app/src/main/java/eu/faircode/email/WorkerCleanup.java @@ -113,6 +113,9 @@ public class WorkerCleanup extends Worker { // Clear last search prefs.edit().remove("last_search").apply(); + + // Contact info cache + ContactInfo.clearCache(); } long now = new Date().getTime();