mirror of
https://github.com/android-password-store/Android-Password-Store
synced 2025-09-02 23:35:08 +00: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:
@@ -254,6 +254,8 @@ public class UserPreference extends AppCompatActivity {
|
|||||||
public void makeSshKey() {
|
public void makeSshKey() {
|
||||||
Intent intent = new Intent(getApplicationContext(), SshKeyGen.class);
|
Intent intent = new Intent(getApplicationContext(), SshKeyGen.class);
|
||||||
startActivity(intent);
|
startActivity(intent);
|
||||||
|
setResult(RESULT_OK);
|
||||||
|
finish();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void copySshKey(Uri uri) throws IOException {
|
private void copySshKey(Uri uri) throws IOException {
|
||||||
|
Reference in New Issue
Block a user