diff options
author | Vincent Breitmoser <valodim@mugenguild.com> | 2014-06-18 00:11:43 +0200 |
---|---|---|
committer | Vincent Breitmoser <valodim@mugenguild.com> | 2014-06-18 00:21:11 +0200 |
commit | c63f3c8a5d0a3e5c0c0587ae3448e014878930c0 (patch) | |
tree | 5407ce7bfb71b4750abbeddac93de12d481805ad /OpenKeychain/src/main/java/org/sufficientlysecure/keychain/service/KeychainIntentService.java | |
parent | 4d34361590b759c0e252fa36cff140a9708e2b5e (diff) | |
download | open-keychain-c63f3c8a5d0a3e5c0c0587ae3448e014878930c0.tar.gz open-keychain-c63f3c8a5d0a3e5c0c0587ae3448e014878930c0.tar.bz2 open-keychain-c63f3c8a5d0a3e5c0c0587ae3448e014878930c0.zip |
prepare ProviderHelper for consolidation before insert
Diffstat (limited to 'OpenKeychain/src/main/java/org/sufficientlysecure/keychain/service/KeychainIntentService.java')
-rw-r--r-- | OpenKeychain/src/main/java/org/sufficientlysecure/keychain/service/KeychainIntentService.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/service/KeychainIntentService.java b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/service/KeychainIntentService.java index 3ddcdfcf4..e30d48ce5 100644 --- a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/service/KeychainIntentService.java +++ b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/service/KeychainIntentService.java @@ -524,13 +524,13 @@ public class KeychainIntentService extends IntentService PgpKeyOperation.Pair<UncachedKeyRing,UncachedKeyRing> pair = keyOperations.buildSecretKey(seckey, pubkey, saveParcel); // edit existing setProgress(R.string.progress_saving_key_ring, 90, 100); - providerHelper.saveKeyRing(pair.first, pair.second); + providerHelper.savePairedKeyRing(pair.first, pair.second); } catch (ProviderHelper.NotFoundException e) { PgpKeyOperation.Pair<UncachedKeyRing,UncachedKeyRing> pair = keyOperations.buildNewSecretKey(saveParcel); //new Keyring // save the pair setProgress(R.string.progress_saving_key_ring, 90, 100); - providerHelper.saveKeyRing(pair.first, pair.second); + providerHelper.savePairedKeyRing(pair.first, pair.second); } setProgress(R.string.progress_done, 100, 100); |