Migrate covers to external files dir. Fix #647

This commit is contained in:
len
2017-01-26 22:15:17 +01:00
parent 05c628b33c
commit e25ce768bb
3 changed files with 14 additions and 2 deletions

View File

@@ -20,7 +20,7 @@ class CoverCache(private val context: Context) {
/**
* Cache directory used for cache management.
*/
private val cacheDir: File = File(context.externalCacheDir, "cover_disk_cache")
private val cacheDir = context.getExternalFilesDir("covers")
/**
* Returns the cover from cache.