1<?xml version="1.0" encoding="utf-8"?>
2<!--
3     Copyright (C) 2016 The Android Open Source Project
4
5     Licensed under the Apache License, Version 2.0 (the "License");
6     you may not use this file except in compliance with the License.
7     You may obtain a copy of the License at
8
9          http://www.apache.org/licenses/LICENSE-2.0
10
11     Unless required by applicable law or agreed to in writing, software
12     distributed under the License is distributed on an "AS IS" BASIS,
13     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14     See the License for the specific language governing permissions and
15     limitations under the License.
16-->
17
18<!--
19    contacts.xml to build a "fallback account type" equivalent with
20    an additional test ContactsDataKind
21-->
22
23<ContactsAccountType
24    xmlns:android="http://schemas.android.com/apk/res/android"
25    accountType="com.android.contacts.tests.testauth.basic"
26    accountTypeLabel="@string/applicationLabel"
27    accountTypeIcon="@mipmap/ic_contacts_launcher"
28    >
29    <EditSchema
30        >
31        <DataKind kind="name"
32            maxOccurs="1"
33            supportsPrefix="true"
34            supportsMiddleName="true"
35            supportsSuffix="true"
36            supportsPhoneticFamilyName="true"
37            supportsPhoneticMiddleName="true"
38            supportsPhoneticGivenName="true"
39            >
40        </DataKind>
41        <DataKind kind="photo" maxOccurs="1" />
42        <DataKind kind="phone" >
43            <Type type="mobile" />
44            <Type type="home" />
45            <Type type="work" />
46            <Type type="fax_work" />
47            <Type type="fax_home" />
48            <Type type="pager" />
49            <Type type="other" />
50            <Type type="custom"/>
51            <Type type="callback" />
52            <Type type="car" />
53            <Type type="company_main" />
54            <Type type="isdn" />
55            <Type type="main" />
56            <Type type="other_fax" />
57            <Type type="radio" />
58            <Type type="telex" />
59            <Type type="tty_tdd" />
60            <Type type="work_mobile"/>
61            <Type type="work_pager" />
62            <Type type="assistant" />
63            <Type type="mms" />
64        </DataKind>
65        <DataKind kind="email" >
66            <Type type="home" />
67            <Type type="work" />
68            <Type type="other" />
69            <Type type="mobile" />
70            <Type type="custom" />
71        </DataKind>
72        <DataKind kind="nickname" maxOccurs="1" />
73        <DataKind kind="im" >
74            <Type type="aim" />
75            <Type type="msn" />
76            <Type type="yahoo" />
77            <Type type="skype" />
78            <Type type="qq" />
79            <Type type="google_talk" />
80            <Type type="icq" />
81            <Type type="jabber" />
82            <Type type="custom" />
83        </DataKind>
84        <DataKind kind="postal" needsStructured="false" >
85            <Type type="home" />
86            <Type type="work" />
87            <Type type="other" />
88            <Type type="custom" />
89        </DataKind>
90        <DataKind kind="organization" maxOccurs="1" />
91        <DataKind kind="website" />
92        <DataKind kind="sip_address" maxOccurs="1" />
93        <DataKind kind="note" maxOccurs="1" />
94        <DataKind kind="group_membership" maxOccurs="1" />
95    </EditSchema>
96
97    <ContactsDataKind
98        android:mimeType="vnd.android.cursor.item/vnd.contactstest.profile"
99        android:icon="@mipmap/ic_contacts_launcher"
100        android:summaryColumn="data2"
101        android:detailColumn="data3" />
102
103</ContactsAccountType>
104