delete IDs needs to update keyring, flag it

This commit is contained in:
Ashley Hughes 2014-03-25 22:40:05 +00:00
parent 68f035ff88
commit 259a8a63a2

View File

@ -405,12 +405,13 @@ public class PgpKeyOperation {
updateProgress(R.string.progress_certifying_master_key, 20, 100); updateProgress(R.string.progress_certifying_master_key, 20, 100);
boolean anyIDChanged = false;
for (String delID : saveParcel.deletedIDs) { for (String delID : saveParcel.deletedIDs) {
anyIDChanged = true;
masterPublicKey = PGPPublicKey.removeCertification(masterPublicKey, delID); masterPublicKey = PGPPublicKey.removeCertification(masterPublicKey, delID);
} }
int user_id_index = 0; int user_id_index = 0;
boolean anyIDChanged = false;
PGPSignatureSubpacketGenerator hashedPacketsGen = new PGPSignatureSubpacketGenerator(); PGPSignatureSubpacketGenerator hashedPacketsGen = new PGPSignatureSubpacketGenerator();
PGPSignatureSubpacketGenerator unhashedPacketsGen = new PGPSignatureSubpacketGenerator(); PGPSignatureSubpacketGenerator unhashedPacketsGen = new PGPSignatureSubpacketGenerator();