1
0
mirror of https://github.com/etesync/android synced 2024-12-23 15:18:14 +00:00

Generate VCARD N property for prefix- and suffix-only contacts, too (closes #469)

This commit is contained in:
Ricki Hirner 2015-03-29 15:13:10 +02:00
parent 35011445e0
commit df335335d2

View File

@ -325,7 +325,7 @@ public class Contact extends Resource {
Log.w(TAG, "No FN (formatted name) available to generate VCard");
// N
if (familyName != null || middleName != null || givenName != null) {
if (prefix != null || familyName != null || middleName != null || givenName != null || suffix != null) {
StructuredName n = new StructuredName();
if (prefix != null)
for (String p : StringUtils.split(prefix))