Set result & finish so that if the user presses generate when prompted for generate/import, operation is resumed just like if user presses import
This commit is contained in:
parent
33a4a183eb
commit
4ec3e1956f
1 changed files with 2 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue