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:
Matthew Wong 2015-07-18 23:58:19 -04:00
parent 33a4a183eb
commit 4ec3e1956f

View file

@ -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 {