diff options
author | Vincent Breitmoser <valodim@mugenguild.com> | 2015-01-14 11:07:09 +0100 |
---|---|---|
committer | Vincent Breitmoser <valodim@mugenguild.com> | 2015-01-14 13:25:38 +0100 |
commit | 466060888714638215e0b02bc25e66172c73c490 (patch) | |
tree | 9a5fb605a33a15944ddcc33a743adc76b894e606 /OpenKeychain/src | |
parent | 99361bdcffc4d1c6c492d767a34a8bdd80578ac0 (diff) | |
download | open-keychain-466060888714638215e0b02bc25e66172c73c490.tar.gz open-keychain-466060888714638215e0b02bc25e66172c73c490.tar.bz2 open-keychain-466060888714638215e0b02bc25e66172c73c490.zip |
fix log entry for addition of user attributes
Diffstat (limited to 'OpenKeychain/src')
-rw-r--r-- | OpenKeychain/src/main/java/org/sufficientlysecure/keychain/pgp/PgpKeyOperation.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/pgp/PgpKeyOperation.java b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/pgp/PgpKeyOperation.java index 18a5410bf..56f7b3309 100644 --- a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/pgp/PgpKeyOperation.java +++ b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/pgp/PgpKeyOperation.java @@ -531,12 +531,12 @@ public class PgpKeyOperation { WrappedUserAttribute attribute = saveParcel.mAddUserAttribute.get(i); switch (attribute.getType()) { - case WrappedUserAttribute.UAT_NONE: - log.add(LogType.MSG_MF_UAT_ADD_UNKNOWN, indent); - break; case WrappedUserAttribute.UAT_IMAGE: log.add(LogType.MSG_MF_UAT_ADD_IMAGE, indent); break; + default: + log.add(LogType.MSG_MF_UAT_ADD_UNKNOWN, indent); + break; } PGPUserAttributeSubpacketVector vector = attribute.getVector(); |