Fix crash in StorageScope.kt on Android
(cherry picked from commit 40b770ecf019c3742b4dbc9a8ce7b11168f99824)
This commit is contained in:
committed by
Thaddeus Crews
parent
f9fc70cf96
commit
ac86b22f3b
@@ -77,7 +77,7 @@ internal enum class StorageScope {
|
||||
private val internalAppDir: String? = context.filesDir.canonicalPath
|
||||
private val internalCacheDir: String? = context.cacheDir.canonicalPath
|
||||
private val externalAppDir: String? = context.getExternalFilesDir(null)?.canonicalPath
|
||||
private val obbDir: String? = context.obbDir.canonicalPath
|
||||
private val obbDir: String? = context.obbDir?.canonicalPath
|
||||
private val sharedDir : String? = Environment.getExternalStorageDirectory().canonicalPath
|
||||
private val downloadsSharedDir: String? = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS).canonicalPath
|
||||
private val documentsSharedDir: String? = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOCUMENTS).canonicalPath
|
||||
|
||||
Reference in New Issue
Block a user