corrected a bug where cancel in openkeychain does not dismiss pgp dialog
This commit is contained in:
parent
68623dcf8d
commit
196813022a
1 changed files with 4 additions and 0 deletions
|
@ -247,6 +247,10 @@ public class PgpHandler extends Activity implements OpenPgpServiceConnection.OnB
|
|||
break;
|
||||
}
|
||||
}
|
||||
} else if (resultCode == RESULT_CANCELED) {
|
||||
bindingDialog.dismiss();
|
||||
setResult(RESULT_CANCELED, data);
|
||||
finish();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue