mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-11-27 19:22:14 -05:00
Merge branch 'master' of github.com:open-keychain/open-keychain
This commit is contained in:
commit
503b146a14
@ -748,8 +748,12 @@ public class UncachedKeyRing {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
log.add(LogLevel.DEBUG, LogType.MSG_MG_FOUND_NEW,
|
if (newCerts > 0) {
|
||||||
indent, Integer.toString(newCerts));
|
log.add(LogLevel.DEBUG, LogType.MSG_MG_FOUND_NEW, indent,
|
||||||
|
Integer.toString(newCerts));
|
||||||
|
} else {
|
||||||
|
log.add(LogLevel.DEBUG, LogType.MSG_MG_UNCHANGED, indent);
|
||||||
|
}
|
||||||
|
|
||||||
return new UncachedKeyRing(result);
|
return new UncachedKeyRing(result);
|
||||||
|
|
||||||
|
@ -792,7 +792,7 @@ public class ProviderHelper {
|
|||||||
try {
|
try {
|
||||||
UncachedKeyRing oldPublicRing = getWrappedPublicKeyRing(masterKeyId).getUncachedKeyRing();
|
UncachedKeyRing oldPublicRing = getWrappedPublicKeyRing(masterKeyId).getUncachedKeyRing();
|
||||||
|
|
||||||
// Merge data from new public ring into secret one
|
// Merge data from new secret ring into public one
|
||||||
publicRing = oldPublicRing.merge(secretRing, mLog, mIndent);
|
publicRing = oldPublicRing.merge(secretRing, mLog, mIndent);
|
||||||
if (publicRing == null) {
|
if (publicRing == null) {
|
||||||
return new SaveKeyringResult(SaveKeyringResult.RESULT_ERROR, mLog);
|
return new SaveKeyringResult(SaveKeyringResult.RESULT_ERROR, mLog);
|
||||||
|
@ -242,6 +242,7 @@ public class OperationResultParcel implements Parcelable {
|
|||||||
MSG_MG_HETEROGENEOUS (R.string.msg_mg_heterogeneous),
|
MSG_MG_HETEROGENEOUS (R.string.msg_mg_heterogeneous),
|
||||||
MSG_MG_NEW_SUBKEY (R.string.msg_mg_new_subkey),
|
MSG_MG_NEW_SUBKEY (R.string.msg_mg_new_subkey),
|
||||||
MSG_MG_FOUND_NEW (R.string.msg_mg_found_new),
|
MSG_MG_FOUND_NEW (R.string.msg_mg_found_new),
|
||||||
|
MSG_MG_UNCHANGED (R.string.msg_mg_unchanged),
|
||||||
|
|
||||||
// secret key create
|
// secret key create
|
||||||
MSG_CR (R.string.msg_cr),
|
MSG_CR (R.string.msg_cr),
|
||||||
|
@ -636,6 +636,7 @@
|
|||||||
<string name="msg_mg_heterogeneous">Tried to consolidate heterogeneous keyrings</string>
|
<string name="msg_mg_heterogeneous">Tried to consolidate heterogeneous keyrings</string>
|
||||||
<string name="msg_mg_new_subkey">Adding new subkey %s</string>
|
<string name="msg_mg_new_subkey">Adding new subkey %s</string>
|
||||||
<string name="msg_mg_found_new">Found %s new certificates in keyring</string>
|
<string name="msg_mg_found_new">Found %s new certificates in keyring</string>
|
||||||
|
<string name="msg_mg_unchanged">No new certificates</string>
|
||||||
|
|
||||||
<!-- createSecretKeyRing -->
|
<!-- createSecretKeyRing -->
|
||||||
<string name="msg_cr">Generating new master key</string>
|
<string name="msg_cr">Generating new master key</string>
|
||||||
|
Loading…
Reference in New Issue
Block a user