diff --git a/android/app/src/main/res/xml/contacts.xml b/android/app/src/main/res/xml/contacts.xml index d6247191..1aff029f 100644 --- a/android/app/src/main/res/xml/contacts.xml +++ b/android/app/src/main/res/xml/contacts.xml @@ -3,6 +3,13 @@ How Contacts apps show and edit contacts of the Bulwark account (#34). The EditSchema lists exactly the data kinds device sync maps to JSContact (docs/device-sync.md, "Contacts mapping"); apps offer nothing else. + + AOSP Contacts drops the whole account type when this schema breaks its rules + (BaseAccountType): every kind with a type column needs children and + the others must have none, name needs maxOccurs="1" and every supports* + attribute true (supportsDisplayName for older releases), and photo, + nickname, organization, note and group_membership need maxOccurs="1". + A Type's maxOccurs limits that type only; birthday gets none unless given. --> @@ -15,14 +22,61 @@ supportsPhoneticMiddleName="true" supportsPhoneticGivenName="true" /> - - + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + - - + + + + + + + + + + + + + + + + + + + + + + +