Compare commits
2 Commits
5.2.25
...
5.2.25-NOT
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2608796929 | ||
|
|
792f5b5a7f |
@@ -38,7 +38,7 @@ android {
|
|||||||
minSdkVersion 16
|
minSdkVersion 16
|
||||||
targetSdkVersion 31
|
targetSdkVersion 31
|
||||||
versionCode 69
|
versionCode 69
|
||||||
versionName "5.2.24"
|
versionName "5.2.25"
|
||||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||||
vectorDrawables.useSupportLibrary = true
|
vectorDrawables.useSupportLibrary = true
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
"filters": [],
|
"filters": [],
|
||||||
"attributes": [],
|
"attributes": [],
|
||||||
"versionCode": 69,
|
"versionCode": 69,
|
||||||
"versionName": "5.2.23",
|
"versionName": "5.2.25",
|
||||||
"outputFile": "app-release.apk"
|
"outputFile": "app-release.apk"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -229,9 +229,6 @@ class Cache private constructor(context: Context, val galleryID: Int) : ContextW
|
|||||||
return@launch
|
return@launch
|
||||||
|
|
||||||
(lock[galleryID] ?: Mutex().also { lock[galleryID] = it }).withLock {
|
(lock[galleryID] ?: Mutex().also { lock[galleryID] = it }).withLock {
|
||||||
if (downloadFolder.exists()) downloadFolder.deleteRecursively()
|
|
||||||
downloadFolder.mkdir()
|
|
||||||
|
|
||||||
val cacheMetadata = cacheFolder.getChild(".metadata")
|
val cacheMetadata = cacheFolder.getChild(".metadata")
|
||||||
val downloadMetadata = downloadFolder.getChild(".metadata")
|
val downloadMetadata = downloadFolder.getChild(".metadata")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user