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/PublicKeyListActivity.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/PublicKeyListActivity.java')
-rw-r--r-- | org_apg/src/org/thialfihar/android/apg/ui/PublicKeyListActivity.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/org_apg/src/org/thialfihar/android/apg/ui/PublicKeyListActivity.java b/org_apg/src/org/thialfihar/android/apg/ui/PublicKeyListActivity.java index 30205fe7b..601f467aa 100644 --- a/org_apg/src/org/thialfihar/android/apg/ui/PublicKeyListActivity.java +++ b/org_apg/src/org/thialfihar/android/apg/ui/PublicKeyListActivity.java @@ -21,6 +21,7 @@ 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 com.actionbarsherlock.view.Menu; import com.actionbarsherlock.view.MenuItem; @@ -115,7 +116,7 @@ public class PublicKeyListActivity extends KeyListActivity { mSelectedItem = groupPosition; final int keyRingId = mListAdapter.getKeyRingId(groupPosition); long keyId = 0; - Object keyRing = PGPHelper.getKeyRing(keyRingId); + Object keyRing = PGPMain.getKeyRing(keyRingId); if (keyRing != null && keyRing instanceof PGPPublicKeyRing) { keyId = PGPHelper.getMasterKey((PGPPublicKeyRing) keyRing).getKeyID(); } @@ -148,7 +149,7 @@ public class PublicKeyListActivity extends KeyListActivity { mSelectedItem = groupPosition; final int keyRingId = mListAdapter.getKeyRingId(groupPosition); long keyId = 0; - Object keyRing = PGPHelper.getKeyRing(keyRingId); + Object keyRing = PGPMain.getKeyRing(keyRingId); if (keyRing != null && keyRing instanceof PGPPublicKeyRing) { keyId = PGPHelper.getMasterKey((PGPPublicKeyRing) keyRing).getKeyID(); } |