Add clear download path cache
This commit is contained in:
1 parent
e97c82dbd7
commit
2aadad487e
8 files changed
+119
-30
No files matched your search
@@ -364,6 +364,11 @@ public class EhDB {
|
||||
dao.deleteByKey(gid);
|
||||
}
|
||||
|
||||
public static synchronized void clearDownloadDirname() {
|
||||
DownloadDirnameDao dao = sDaoSession.getDownloadDirnameDao();
|
||||
dao.deleteAll();
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static synchronized List<DownloadLabel> getAllDownloadLabelList() {
|
||||
DownloadLabelDao dao = sDaoSession.getDownloadLabelDao();
|
||||
|
||||
Reference in new issue
Block a user