mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-02 07:06:18 +02:00
Securily delete files
This commit is contained in:
@@ -403,7 +403,7 @@ public class EntityAttachment {
|
||||
|
||||
DB db = DB.getInstance(context);
|
||||
db.attachment().setName(id, name + ".zip", "application/zip", zip.length());
|
||||
file.delete();
|
||||
Helper.secureDelete(file);
|
||||
}
|
||||
|
||||
public static boolean equals(List<EntityAttachment> a1, List<EntityAttachment> a2) {
|
||||
|
||||
Reference in New Issue
Block a user