diff options
author | Vincent Breitmoser <valodim@mugenguild.com> | 2014-08-30 18:32:29 +0200 |
---|---|---|
committer | Vincent Breitmoser <valodim@mugenguild.com> | 2014-08-30 18:32:29 +0200 |
commit | 56f760e3f85d01dbb65e6936bd2b97bba2b8ec9a (patch) | |
tree | 6dbfdf1126193ba5297da842444a8c231333afd4 /OpenKeychain-Test | |
parent | 8981fcf93d549bbf86358b12f23bcc898fb21637 (diff) | |
download | open-keychain-56f760e3f85d01dbb65e6936bd2b97bba2b8ec9a.tar.gz open-keychain-56f760e3f85d01dbb65e6936bd2b97bba2b8ec9a.tar.bz2 open-keychain-56f760e3f85d01dbb65e6936bd2b97bba2b8ec9a.zip |
ditch NullProgressable
Diffstat (limited to 'OpenKeychain-Test')
-rw-r--r-- | OpenKeychain-Test/src/test/java/org/sufficientlysecure/keychain/support/KeyringTestingHelper.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenKeychain-Test/src/test/java/org/sufficientlysecure/keychain/support/KeyringTestingHelper.java b/OpenKeychain-Test/src/test/java/org/sufficientlysecure/keychain/support/KeyringTestingHelper.java index c0ba3c9bb..6d53f3fcf 100644 --- a/OpenKeychain-Test/src/test/java/org/sufficientlysecure/keychain/support/KeyringTestingHelper.java +++ b/OpenKeychain-Test/src/test/java/org/sufficientlysecure/keychain/support/KeyringTestingHelper.java @@ -21,11 +21,11 @@ package org.sufficientlysecure.keychain.support; import android.content.Context; import org.spongycastle.util.Arrays; -import org.sufficientlysecure.keychain.pgp.NullProgressable; import org.sufficientlysecure.keychain.pgp.UncachedKeyRing; import org.sufficientlysecure.keychain.pgp.exception.PgpGeneralException; import org.sufficientlysecure.keychain.provider.ProviderHelper; import org.sufficientlysecure.keychain.service.OperationResults; +import org.sufficientlysecure.keychain.util.ProgressScaler; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; @@ -59,7 +59,7 @@ public class KeyringTestingHelper { // Should throw an exception; key is not yet saved retrieveKeyAndExpectNotFound(providerHelper, masterKeyId); - OperationResults.SaveKeyringResult saveKeyringResult = providerHelper.savePublicKeyRing(ring, new NullProgressable()); + OperationResults.SaveKeyringResult saveKeyringResult = providerHelper.savePublicKeyRing(ring, new ProgressScaler()); boolean saveSuccess = saveKeyringResult.success(); |