diff options
author | Vincent Breitmoser <valodim@mugenguild.com> | 2015-01-14 11:07:09 +0100 |
---|---|---|
committer | Vincent Breitmoser <valodim@mugenguild.com> | 2015-01-14 11:07:27 +0100 |
commit | a75394fbd3e8e6b7526a1f9fc40a4e4a781e269a (patch) | |
tree | 29319e932589ab9e8d58fcd466b9224e2a9ae6b5 /OpenKeychain/src | |
parent | 965003784bc1972f17b9b3e3d86c6ed07f131489 (diff) | |
download | open-keychain-a75394fbd3e8e6b7526a1f9fc40a4e4a781e269a.tar.gz open-keychain-a75394fbd3e8e6b7526a1f9fc40a4e4a781e269a.tar.bz2 open-keychain-a75394fbd3e8e6b7526a1f9fc40a4e4a781e269a.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(); |