Update dependencies and clean up
[ci skip]
This commit is contained in:
parent
f83768ea4a
commit
527dde9304
@ -27,7 +27,7 @@ ext {
|
||||
rxAndroidVersion = '2.1.1'
|
||||
rxBindingVersion = '2.2.0'
|
||||
|
||||
daggerVersion = '2.31'
|
||||
daggerVersion = '2.31.1'
|
||||
|
||||
gsonVersion = '2.8.6'
|
||||
|
||||
@ -49,7 +49,7 @@ ext {
|
||||
|
||||
// cloud provider libs
|
||||
|
||||
// do not update to 1.4.0 until dropping minsdk 4.x
|
||||
// do not update to 1.4.0 until minsdk is 7.x (or desugaring works better) otherwise it will crash on 6.x
|
||||
cryptolibVersion = '1.3.0'
|
||||
|
||||
dropboxVersion = '3.1.5'
|
||||
|
@ -17,10 +17,9 @@ import java.io.*
|
||||
import java.util.*
|
||||
import javax.inject.Inject
|
||||
|
||||
class FileUtil @Inject constructor(private val context: Context, mimeTypes: MimeTypes) {
|
||||
class FileUtil @Inject constructor(private val context: Context, private val mimeTypes: MimeTypes) {
|
||||
|
||||
private var decryptedFileStorage: File = File(context.cacheDir, "decrypted")
|
||||
private val mimeTypes: MimeTypes = mimeTypes
|
||||
|
||||
fun cleanup() {
|
||||
cleanupDir(context.cacheDir)
|
||||
|
Loading…
x
Reference in New Issue
Block a user