aboutsummaryrefslogtreecommitdiffstats
path: root/OpenPGP-Keychain/src/main/java/org/sufficientlysecure/keychain/pgp
diff options
context:
space:
mode:
authorVincent Breitmoser <valodim@mugenguild.com>2014-04-04 05:01:35 +0200
committerVincent Breitmoser <valodim@mugenguild.com>2014-04-04 11:28:26 +0200
commit2227705d650d1e9bf3e59202a093af129c272f04 (patch)
tree7a1ecbc93337d8a1b5370ce626567fcf4e251ad8 /OpenPGP-Keychain/src/main/java/org/sufficientlysecure/keychain/pgp
parentd921cca91312e5888f98b178252efa2f5db103cf (diff)
downloadopen-keychain-2227705d650d1e9bf3e59202a093af129c272f04.tar.gz
open-keychain-2227705d650d1e9bf3e59202a093af129c272f04.tar.bz2
open-keychain-2227705d650d1e9bf3e59202a093af129c272f04.zip
db-overhaul: fix loading indicators in KeyListActivity and ViewKeyActivity
Diffstat (limited to 'OpenPGP-Keychain/src/main/java/org/sufficientlysecure/keychain/pgp')
-rw-r--r--OpenPGP-Keychain/src/main/java/org/sufficientlysecure/keychain/pgp/PgpImportExport.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenPGP-Keychain/src/main/java/org/sufficientlysecure/keychain/pgp/PgpImportExport.java b/OpenPGP-Keychain/src/main/java/org/sufficientlysecure/keychain/pgp/PgpImportExport.java
index 49ce8d3bb..d03f3ccc2 100644
--- a/OpenPGP-Keychain/src/main/java/org/sufficientlysecure/keychain/pgp/PgpImportExport.java
+++ b/OpenPGP-Keychain/src/main/java/org/sufficientlysecure/keychain/pgp/PgpImportExport.java
@@ -260,7 +260,6 @@ public class PgpImportExport {
}
if (save) {
- ProviderHelper.saveKeyRing(mContext, secretKeyRing);
// TODO: preserve certifications
// (http://osdir.com/ml/encryption.bouncy-castle.devel/2007-01/msg00054.html ?)
PGPPublicKeyRing newPubRing = null;
@@ -275,6 +274,7 @@ public class PgpImportExport {
if (newPubRing != null) {
ProviderHelper.saveKeyRing(mContext, newPubRing);
}
+ ProviderHelper.saveKeyRing(mContext, secretKeyRing);
// TODO: remove status returns, use exceptions!
status = Id.return_value.ok;
}