Securily delete files

This commit is contained in:
M66B
2023-11-16 11:10:34 +01:00
parent 7eb345cdd6
commit 6bdab773bb
14 changed files with 53 additions and 46 deletions

View File

@@ -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) {