• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2        package="com.android.providers.contacts"
3        android:sharedUserId="android.uid.shared"
4        android:sharedUserLabel="@string/sharedUserLabel">
5
6    <permission
7            android:name="com.android.voicemail.permission.READ_WRITE_ALL_VOICEMAIL"
8            android:label="@string/read_write_all_voicemail_label"
9            android:description="@string/read_write_all_voicemail_description"
10            android:permissionGroup="android.permission-group.PERSONAL_INFO"
11            android:protectionLevel="signature"
12            />
13
14    <uses-permission android:name="android.permission.READ_CONTACTS" />
15    <uses-permission android:name="android.permission.WRITE_CONTACTS" />
16    <uses-permission android:name="android.permission.GET_ACCOUNTS" />
17    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
18    <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
19    <uses-permission android:name="android.permission.BIND_DIRECTORY_SEARCH" />
20
21    <application android:process="android.process.acore"
22        android:label="@string/app_label"
23        android:icon="@drawable/app_icon"
24        android:allowBackup="false">
25
26        <provider android:name="ContactsProvider2"
27            android:authorities="contacts;com.android.contacts"
28            android:label="@string/provider_label"
29            android:multiprocess="false"
30            android:exported="true"
31            android:readPermission="android.permission.READ_CONTACTS"
32            android:writePermission="android.permission.WRITE_CONTACTS">
33            <path-permission
34                    android:pathPrefix="/search_suggest_query"
35                    android:readPermission="android.permission.GLOBAL_SEARCH" />
36            <path-permission
37                    android:pathPrefix="/search_suggest_shortcut"
38                    android:readPermission="android.permission.GLOBAL_SEARCH" />
39            <path-permission
40                    android:pathPattern="/contacts/.*/photo"
41                    android:readPermission="android.permission.GLOBAL_SEARCH" />
42            <grant-uri-permission android:pathPattern=".*" />
43        </provider>
44
45        <provider android:name="CallLogProvider"
46            android:authorities="call_log"
47            android:syncable="false" android:multiprocess="false"
48            android:exported="true"
49            android:readPermission="android.permission.READ_CALL_LOG"
50            android:writePermission="android.permission.WRITE_CALL_LOG">
51        </provider>
52
53        <provider android:name="VoicemailContentProvider"
54            android:authorities="com.android.voicemail"
55            android:syncable="false" android:multiprocess="false"
56            android:exported="true"
57            android:permission="com.android.voicemail.permission.ADD_VOICEMAIL">
58        </provider>
59
60        <!-- Handles database upgrades after OTAs, then disables itself -->
61        <receiver android:name="ContactsUpgradeReceiver">
62            <!-- This broadcast is sent after the core system has finished
63                 booting, before the home app is launched or BOOT_COMPLETED
64                 is sent. -->
65            <intent-filter>
66                <action android:name="android.intent.action.PRE_BOOT_COMPLETED"/>
67            </intent-filter>
68        </receiver>
69
70        <receiver android:name="PackageIntentReceiver">
71            <intent-filter>
72                <action android:name="android.intent.action.PACKAGE_ADDED" />
73                <data android:scheme="package" />
74            </intent-filter>
75            <intent-filter>
76                <action android:name="android.intent.action.PACKAGE_REPLACED" />
77                <data android:scheme="package" />
78            </intent-filter>
79            <intent-filter>
80                <action android:name="android.intent.action.PACKAGE_REMOVED" />
81                <data android:scheme="package" />
82            </intent-filter>
83            <intent-filter>
84                <action android:name="android.intent.action.PACKAGE_CHANGED" />
85                <data android:scheme="package" />
86            </intent-filter>
87        </receiver>
88
89        <receiver android:name="LocaleChangeReceiver">
90            <intent-filter>
91                <action android:name="android.intent.action.LOCALE_CHANGED"/>
92            </intent-filter>
93        </receiver>
94
95        <service android:name="VoicemailCleanupService"/>
96
97        <activity android:name=".debug.ContactsDumpActivity"
98                android:label="@string/debug_dump_title"
99                android:theme="@android:style/Theme.Holo.Dialog"
100                >
101            <intent-filter>
102                <action android:name="com.android.providers.contacts.DUMP_DATABASE"/>
103                <category android:name="android.intent.category.DEFAULT"/>
104            </intent-filter>
105        </activity>
106
107        <provider android:name=".debug.DumpFileProvider"
108            android:authorities="com.android.contacts.dumpfile"
109            android:exported="true">
110        </provider>
111
112    </application>
113</manifest>
114