when returning from an ADD without confirmation we are canceling not confirming

This commit is contained in:
zeapo 2014-10-30 22:31:09 +01:00
parent 6b4b520a33
commit 005f0b6b7b

View file

@ -133,7 +133,7 @@ public class PgpHandler extends ActionBarActivity implements OpenPgpServiceConne
int id = item.getItemId();
switch (id) {
case android.R.id.home:
setResult(RESULT_OK);
setResult(RESULT_CANCELED);
finish();
return true;
case R.id.copy_password: