aboutsummaryrefslogtreecommitdiffstats
path: root/OpenKeychain/src
diff options
context:
space:
mode:
authorDominik Schürmann <dominik@dominikschuermann.de>2014-09-13 19:35:01 +0200
committerDominik Schürmann <dominik@dominikschuermann.de>2014-09-13 19:35:01 +0200
commitcbed39c38c79c12f8fb7c8f003a0a1535265fd2c (patch)
treee68cc1d0c4243eb0617b7b3aabfc6a1d87728575 /OpenKeychain/src
parenta41b9f08d0c285ceef5eb544ca9a54356a2c6c83 (diff)
downloadopen-keychain-cbed39c38c79c12f8fb7c8f003a0a1535265fd2c.tar.gz
open-keychain-cbed39c38c79c12f8fb7c8f003a0a1535265fd2c.tar.bz2
open-keychain-cbed39c38c79c12f8fb7c8f003a0a1535265fd2c.zip
Remove unused method in KeyUpdateHelper
Diffstat (limited to 'OpenKeychain/src')
-rw-r--r--OpenKeychain/src/main/java/org/sufficientlysecure/keychain/helper/KeyUpdateHelper.java17
1 files changed, 0 insertions, 17 deletions
diff --git a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/helper/KeyUpdateHelper.java b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/helper/KeyUpdateHelper.java
index bd565fccf..9ca6d5c5b 100644
--- a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/helper/KeyUpdateHelper.java
+++ b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/helper/KeyUpdateHelper.java
@@ -42,23 +42,6 @@ public class KeyUpdateHelper {
updateTask.execute();
}
- public ImportKeysListEntry getKeyByFingerprint(Context context, String fingerprint) {
- String[] servers = Preferences.getPreferences(context).getKeyServers();
- if (servers != null && servers.length != 0 && servers[0] != null) {
- try {
- HkpKeyserver hkp = new HkpKeyserver(servers[0]);
- for (ImportKeysListEntry key : hkp.search("0x" + fingerprint)) {
- if (fingerprint.equals(key.getFingerprintHex())) {
- return key;
- }
- }
- } catch (Keyserver.QueryNeedsRepairException e) {
- } catch (Keyserver.QueryFailedException e) {
- }
- }
- return null;
- }
-
private class UpdateTask extends AsyncTask<Void, Void, Void> {
private Context mContext;
private KeychainIntentServiceHandler mHandler;