diff options
author | Dominik <dominik@dominikschuermann.de> | 2012-06-20 20:06:17 +0300 |
---|---|---|
committer | Dominik <dominik@dominikschuermann.de> | 2012-06-20 20:06:17 +0300 |
commit | 1e78dd165a2d32d28e3a77c512b41102dedd5cc8 (patch) | |
tree | 1f035e144895ba15891dcb5f0af52ab60cfeba95 /org_apg/src/org/thialfihar/android/apg/ui/DecryptActivity.java | |
parent | 4130123e77c3ca2ea098f7c54dc143051f96b08d (diff) | |
download | open-keychain-1e78dd165a2d32d28e3a77c512b41102dedd5cc8.tar.gz open-keychain-1e78dd165a2d32d28e3a77c512b41102dedd5cc8.tar.bz2 open-keychain-1e78dd165a2d32d28e3a77c512b41102dedd5cc8.zip |
backward compatible extras, restructuring
Diffstat (limited to 'org_apg/src/org/thialfihar/android/apg/ui/DecryptActivity.java')
-rw-r--r-- | org_apg/src/org/thialfihar/android/apg/ui/DecryptActivity.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/org_apg/src/org/thialfihar/android/apg/ui/DecryptActivity.java b/org_apg/src/org/thialfihar/android/apg/ui/DecryptActivity.java index 8a87a77ab..b491ca4c2 100644 --- a/org_apg/src/org/thialfihar/android/apg/ui/DecryptActivity.java +++ b/org_apg/src/org/thialfihar/android/apg/ui/DecryptActivity.java @@ -770,9 +770,9 @@ public class DecryptActivity extends SherlockFragmentActivity { } } - if (data.getBoolean(ApgService.EXTRA_SIGNATURE)) { - String userId = data.getString(ApgService.EXTRA_SIGNATURE_USER_ID); - mSignatureKeyId = data.getLong(ApgService.EXTRA_SIGNATURE_KEY_ID); + if (data.getBoolean(ApgService.RESULT_SIGNATURE)) { + String userId = data.getString(ApgService.RESULT_SIGNATURE_USER_ID); + mSignatureKeyId = data.getLong(ApgService.RESULT_SIGNATURE_KEY_ID); mUserIdRest .setText("id: " + PGPHelper.getSmallFingerPrint(mSignatureKeyId)); if (userId == null) { @@ -785,9 +785,9 @@ public class DecryptActivity extends SherlockFragmentActivity { } mUserId.setText(userId); - if (data.getBoolean(ApgService.EXTRA_SIGNATURE_SUCCESS)) { + if (data.getBoolean(ApgService.RESULT_SIGNATURE_SUCCESS)) { mSignatureStatusImage.setImageResource(R.drawable.overlay_ok); - } else if (data.getBoolean(ApgService.EXTRA_SIGNATURE_UNKNOWN)) { + } else if (data.getBoolean(ApgService.RESULT_SIGNATURE_UNKNOWN)) { mSignatureStatusImage.setImageResource(R.drawable.overlay_error); Toast.makeText(DecryptActivity.this, R.string.unknownSignatureKeyTouchToLookUp, Toast.LENGTH_LONG) |