mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2025-12-04 15:49:33 +01:00
Update UriUtil.kt
Removed KitKat sdk check
This commit is contained in:
@@ -67,7 +67,6 @@ object UriUtil {
|
||||
readOnly: Boolean) {
|
||||
try {
|
||||
// try to persist read and write permissions
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) {
|
||||
contentResolver?.apply {
|
||||
var readPermissionAllowed = false
|
||||
var writePermissionAllowed = false
|
||||
@@ -118,7 +117,6 @@ object UriUtil {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
} catch (e: Exception) {
|
||||
if (release)
|
||||
Log.e(TAG, "Unable to release persistable URI permission", e)
|
||||
|
||||
Reference in New Issue
Block a user