feat: implemented hard deletion of downloaded files upon storage change or explicit user request

This commit is contained in:
antonio 2023-08-19 12:33:39 +02:00
parent 295795edc9
commit 87a3301912
3 changed files with 32 additions and 1 deletions

View file

@ -103,6 +103,7 @@ public class DownloaderManager {
public void removeAll() {
DownloadService.sendRemoveAllDownloads(context, DownloaderService.class, false);
deleteAllDatabase();
DownloadUtil.eraseDownloadFolder(context);
}
private void loadDownloads() {