summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/src/main/java/com/zeapo/pwdstore/UserPreference.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/src/main/java/com/zeapo/pwdstore/UserPreference.java b/app/src/main/java/com/zeapo/pwdstore/UserPreference.java
index 8344e8b3..6c945598 100644
--- a/app/src/main/java/com/zeapo/pwdstore/UserPreference.java
+++ b/app/src/main/java/com/zeapo/pwdstore/UserPreference.java
@@ -254,6 +254,8 @@ public class UserPreference extends AppCompatActivity {
public void makeSshKey() {
Intent intent = new Intent(getApplicationContext(), SshKeyGen.class);
startActivity(intent);
+ setResult(RESULT_OK);
+ finish();
}
private void copySshKey(Uri uri) throws IOException {