mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2026-12-05 16:22:31 -08:00
Fix filename test.
This commit is contained in:
1 parent
09fbf34c0f
commit
63ab5c1060
1 file changed
+1
-1
@@ -91,7 +91,7 @@ public class PasswordActivity extends LockingActivity {
|
||||
String scheme = uri.getScheme();
|
||||
|
||||
if (!EmptyUtils.isNullOrEmpty(scheme) && scheme.equalsIgnoreCase("file")) {
|
||||
File dbFile = new File(fileName);
|
||||
File dbFile = new File(uri.getPath());
|
||||
if (!dbFile.exists()) {
|
||||
throw new FileNotFoundException();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user