Avoid cache dir quota

This commit is contained in:
M66B
2022-05-01 08:48:20 +02:00
parent ca4de7b1ee
commit 270b520b9f
10 changed files with 20 additions and 20 deletions

View File

@@ -798,7 +798,7 @@ class ImageHelper {
@NonNull
static File getCacheFile(Context context, long id, String source, String extension) {
File dir = new File(context.getCacheDir(), "images");
File dir = new File(context.getFilesDir(), "images");
if (!dir.exists())
dir.mkdir();
return new File(dir, id + "_" + Math.abs(source.hashCode()) + extension);