diff options
author | Dominik Schürmann <dominik@dominikschuermann.de> | 2014-06-21 21:31:25 +0200 |
---|---|---|
committer | Dominik Schürmann <dominik@dominikschuermann.de> | 2014-06-21 21:31:25 +0200 |
commit | 4cc127e4604c664ee6a8607fc2404256f8949609 (patch) | |
tree | 71108127d7fc65d86c641ce94f713786f9fb4a78 /OpenKeychain/src/main/java/org/sufficientlysecure/keychain/provider | |
parent | 0c3a478a431e37566dad6dfe3e396ff6c2034765 (diff) | |
parent | 0af2b27cb3d286f3f4e2f830c78b307ca222ff31 (diff) | |
download | open-keychain-4cc127e4604c664ee6a8607fc2404256f8949609.tar.gz open-keychain-4cc127e4604c664ee6a8607fc2404256f8949609.tar.bz2 open-keychain-4cc127e4604c664ee6a8607fc2404256f8949609.zip |
Merge pull request #672 from artbristol/functional-testing
VERY basic test for save keyring
Diffstat (limited to 'OpenKeychain/src/main/java/org/sufficientlysecure/keychain/provider')
-rw-r--r-- | OpenKeychain/src/main/java/org/sufficientlysecure/keychain/provider/ProviderHelper.java | 15 |
1 files changed, 2 insertions, 13 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 955fb90ba..0db570be9 100644 --- a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/provider/ProviderHelper.java +++ b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/provider/ProviderHelper.java @@ -29,6 +29,7 @@ import android.support.v4.util.LongSparseArray; import org.sufficientlysecure.keychain.Constants; import org.sufficientlysecure.keychain.pgp.KeyRing; +import org.sufficientlysecure.keychain.pgp.NullProgressable; import org.sufficientlysecure.keychain.pgp.Progressable; import org.sufficientlysecure.keychain.pgp.WrappedPublicKey; import org.sufficientlysecure.keychain.service.OperationResultParcel.LogType; @@ -655,19 +656,7 @@ public class ProviderHelper { @Deprecated public SaveKeyringResult savePublicKeyRing(UncachedKeyRing keyRing) { - return savePublicKeyRing(keyRing, new Progressable() { - @Override - public void setProgress(String message, int current, int total) { - } - - @Override - public void setProgress(int resourceId, int current, int total) { - } - - @Override - public void setProgress(int current, int total) { - } - }); + return savePublicKeyRing(keyRing, new NullProgressable()); } /** Save a public keyring into the database. |