mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2026-12-05 16:22:31 -08:00
Read password from ACTION_VIEW intents
PasswordActivity reads password and launch_immediately from Intent extras, but only if the intent is not ACTION_VIEW. This commit supports these extras for ACTION_VIEW as well.
This commit is contained in:
1 parent
dbac7c8a4f
commit
b3e8cb5002
1 file changed
+2
@@ -382,6 +382,8 @@ public class PasswordActivity extends LockingActivity {
|
||||
else {
|
||||
return R.string.error_can_not_handle_uri;
|
||||
}
|
||||
password = i.getStringExtra(KEY_PASSWORD);
|
||||
launch_immediately = i.getBooleanExtra(KEY_LAUNCH_IMMEDIATELY, false);
|
||||
|
||||
} else {
|
||||
mDbUri = UriUtil.parseDefaultFile(i.getStringExtra(KEY_FILENAME));
|
||||
|
||||
Reference in new issue
Block a user