mirror of
https://github.com/android-password-store/Android-Password-Store.git
synced 2026-04-26 02:27:42 +02:00
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
|
|
@ -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