diff options
author | Ashley Hughes <spirit.returned@gmail.com> | 2014-03-25 22:40:05 +0000 |
---|---|---|
committer | Ashley Hughes <spirit.returned@gmail.com> | 2014-03-25 22:40:05 +0000 |
commit | 259a8a63a2efa587c6cbe23ae929d7f8c9478664 (patch) | |
tree | 846f496ab56bfc8bf7a41dea02b1c95c978fcafa | |
parent | 68f035ff88131928cdd0681ba3b1fb4980d9a574 (diff) | |
download | open-keychain-259a8a63a2efa587c6cbe23ae929d7f8c9478664.tar.gz open-keychain-259a8a63a2efa587c6cbe23ae929d7f8c9478664.tar.bz2 open-keychain-259a8a63a2efa587c6cbe23ae929d7f8c9478664.zip |
delete IDs needs to update keyring, flag it
-rw-r--r-- | OpenPGP-Keychain/src/main/java/org/sufficientlysecure/keychain/pgp/PgpKeyOperation.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenPGP-Keychain/src/main/java/org/sufficientlysecure/keychain/pgp/PgpKeyOperation.java b/OpenPGP-Keychain/src/main/java/org/sufficientlysecure/keychain/pgp/PgpKeyOperation.java index fab456bf8..370f66388 100644 --- a/OpenPGP-Keychain/src/main/java/org/sufficientlysecure/keychain/pgp/PgpKeyOperation.java +++ b/OpenPGP-Keychain/src/main/java/org/sufficientlysecure/keychain/pgp/PgpKeyOperation.java @@ -405,12 +405,13 @@ public class PgpKeyOperation { updateProgress(R.string.progress_certifying_master_key, 20, 100); + boolean anyIDChanged = false; for (String delID : saveParcel.deletedIDs) { + anyIDChanged = true; masterPublicKey = PGPPublicKey.removeCertification(masterPublicKey, delID); } int user_id_index = 0; - boolean anyIDChanged = false; PGPSignatureSubpacketGenerator hashedPacketsGen = new PGPSignatureSubpacketGenerator(); PGPSignatureSubpacketGenerator unhashedPacketsGen = new PGPSignatureSubpacketGenerator(); |