Skip to content

Commit cde9bb8

Browse files
Uploading cache version to clear data
1 parent e69e0bb commit cde9bb8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

owncloudApp/src/main/java/com/owncloud/android/ui/adapter/DiskLruImageCache.java

+1-2
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,14 @@
3131
import android.graphics.BitmapFactory;
3232

3333
import com.jakewharton.disklrucache.DiskLruCache;
34-
import com.owncloud.android.MainApp;
3534
import timber.log.Timber;
3635

3736
public class DiskLruImageCache {
3837

3938
private final DiskLruCache mDiskCache;
4039
private final CompressFormat mCompressFormat;
4140
private final int mCompressQuality;
42-
private static final int CACHE_VERSION = 1;
41+
private static final int CACHE_VERSION = 2;
4342
private static final int VALUE_COUNT = 1;
4443
private static final int IO_BUFFER_SIZE = 8 * 1024;
4544

0 commit comments

Comments
 (0)