Don't return to file list after creating databases.

This commit is contained in:
Brian Pellin
2016-03-07 21:44:21 -06:00
parent ae3b009fd2
commit 6a6718530c
2 changed files with 4 additions and 3 deletions

View File

@@ -3,6 +3,7 @@ KeePassDroid (2.0.5)
* Improve password generator randomness
* Handle new Google Drive style links (closes: #74)
* Fix crash on initial .kdbx entry.
* Don't return to file list after creating databases.
KeePassDroid (2.0.4)
* Fix notification icons (closes: #60)

View File

@@ -37,7 +37,7 @@ public class CreateDB extends RunnableOnFinish {
private String mFilename;
private boolean mDontSave;
private Context ctx;
public CreateDB(Context ctx, String filename, OnFinish finish, boolean dontSave) {
super(finish);
@@ -60,11 +60,11 @@ public class CreateDB extends RunnableOnFinish {
Uri.Builder b = new Uri.Builder();
db.mUri = UriUtil.parseDefaultFile(mFilename);
db.setLoaded();
App.clearShutdown();
// Commit changes
SaveDB save = new SaveDB(ctx, db, mFinish, mDontSave);
mFinish = null;
save.run();
}
}