diff options
author | Dominik <dominik@dominikschuermann.de> | 2012-06-20 18:44:11 +0300 |
---|---|---|
committer | Dominik <dominik@dominikschuermann.de> | 2012-06-20 18:44:11 +0300 |
commit | a51273a051dc4acfec572558cdaa2f0cb120a052 (patch) | |
tree | 51eb963a0bc6c87a35c9de3dcb13eb61c44b0838 /org_apg/src/org/thialfihar/android/apg/ui/KeyServerExportActivity.java | |
parent | 47f88cdf4b22865ac0beb2d0b25f0ade7e6cfc03 (diff) | |
download | open-keychain-a51273a051dc4acfec572558cdaa2f0cb120a052.tar.gz open-keychain-a51273a051dc4acfec572558cdaa2f0cb120a052.tar.bz2 open-keychain-a51273a051dc4acfec572558cdaa2f0cb120a052.zip |
new spongy castle version, restructering, deprecation fixes
Diffstat (limited to 'org_apg/src/org/thialfihar/android/apg/ui/KeyServerExportActivity.java')
-rw-r--r-- | org_apg/src/org/thialfihar/android/apg/ui/KeyServerExportActivity.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/org_apg/src/org/thialfihar/android/apg/ui/KeyServerExportActivity.java b/org_apg/src/org/thialfihar/android/apg/ui/KeyServerExportActivity.java index cf14492b6..a15468bed 100644 --- a/org_apg/src/org/thialfihar/android/apg/ui/KeyServerExportActivity.java +++ b/org_apg/src/org/thialfihar/android/apg/ui/KeyServerExportActivity.java @@ -21,7 +21,7 @@ import org.spongycastle.openpgp.PGPPublicKeyRing; import org.thialfihar.android.apg.Constants; import org.thialfihar.android.apg.Id; import org.thialfihar.android.apg.R; -import org.thialfihar.android.apg.helper.PGPHelper; +import org.thialfihar.android.apg.helper.PGPMain; import org.thialfihar.android.apg.util.HkpKeyServer; import com.actionbarsherlock.view.MenuItem; @@ -110,9 +110,9 @@ public class KeyServerExportActivity extends BaseActivity { int keyRingId = getIntent().getIntExtra(EXTRA_KEY_ID, -1); - PGPKeyRing keyring = PGPHelper.getKeyRing(keyRingId); + PGPKeyRing keyring = PGPMain.getKeyRing(keyRingId); if (keyring != null && keyring instanceof PGPPublicKeyRing) { - boolean uploaded = PGPHelper.uploadKeyRingToServer(server, (PGPPublicKeyRing) keyring); + boolean uploaded = PGPMain.uploadKeyRingToServer(server, (PGPPublicKeyRing) keyring); if (!uploaded) { error = "Unable to export key to selected server"; } |