Delete data from Full-Text-Search table on clear()
@@ -331,6 +331,10 @@ public class LocalStore extends Store implements Serializable {
// Don't delete deleted messages. They are essentially placeholders for UIDs of messages that have
// been deleted locally.
db.delete("messages", "deleted = 0", null);
+
+ // We don't need the search data now either
+ db.delete("messages_fulltext", null, null);
+
return null;
}
});
