aboutsummaryrefslogtreecommitdiffstats
path: root/OpenKeychain
diff options
context:
space:
mode:
authorDominik Schürmann <dominik@dominikschuermann.de>2015-05-10 11:52:39 +0200
committerDominik Schürmann <dominik@dominikschuermann.de>2015-05-10 11:52:39 +0200
commit0a29f6d3acdb36e8e27640624634edcaea7fb8e6 (patch)
tree049cfbb9cbe5a8c6044c3d03f4ac1fe9361a7460 /OpenKeychain
parent5b1bf888b4c69fd9bed0613917f01fcebf9c8529 (diff)
downloadopen-keychain-0a29f6d3acdb36e8e27640624634edcaea7fb8e6.tar.gz
open-keychain-0a29f6d3acdb36e8e27640624634edcaea7fb8e6.tar.bz2
open-keychain-0a29f6d3acdb36e8e27640624634edcaea7fb8e6.zip
Cleanup
Diffstat (limited to 'OpenKeychain')
-rw-r--r--OpenKeychain/src/main/java/org/sufficientlysecure/keychain/provider/ProviderHelper.java21
1 files changed, 0 insertions, 21 deletions
diff --git a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/provider/ProviderHelper.java b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/provider/ProviderHelper.java
index 1cd1826a3..33e9a4345 100644
--- a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/provider/ProviderHelper.java
+++ b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/provider/ProviderHelper.java
@@ -1553,27 +1553,6 @@ public class ProviderHelper {
mContentResolver.insert(uri, values);
}
- public Set<String> getAllFingerprints(Uri uri) {
- Set<String> fingerprints = new HashSet<>();
- String[] projection = new String[]{KeyRings.FINGERPRINT};
- Cursor cursor = mContentResolver.query(uri, projection, null, null, null);
- try {
- if (cursor != null) {
- int fingerprintColumn = cursor.getColumnIndex(KeyRings.FINGERPRINT);
- while (cursor.moveToNext()) {
- fingerprints.add(
- KeyFormattingUtils.convertFingerprintToHex(cursor.getBlob(fingerprintColumn))
- );
- }
- }
- } finally {
- if (cursor != null) {
- cursor.close();
- }
- }
- return fingerprints;
- }
-
public byte[] getApiAppCertificate(String packageName) {
Uri queryUri = ApiApps.buildByPackageNameUri(packageName);