mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2025-12-04 15:49:33 +01:00
Fix small warning
This commit is contained in:
@@ -338,7 +338,10 @@ class Database {
|
||||
}
|
||||
|
||||
// Load Data, pass Uris as InputStreams
|
||||
databaseInputStream = BufferedInputStream(UriUtil.getUriInputStream(contentResolver, uri))
|
||||
val databaseStream = UriUtil.getUriInputStream(contentResolver, uri)
|
||||
?: throw IOException("Database input stream cannot be retrieve")
|
||||
|
||||
databaseInputStream = BufferedInputStream(databaseStream)
|
||||
if (!databaseInputStream.markSupported()) {
|
||||
throw IOException("Input stream does not support mark.")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user