blob: 7ccfccef1cf2e3a4878eb49d4af3ee1371e5f023 [file] [log] [blame]
The Android Open Source Projectc731b0c2009-03-03 19:32:39 -08001<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2 package="com.android.providers.contacts"
3 android:sharedUserId="android.uid.shared">
4
5 <uses-permission android:name="android.permission.READ_CONTACTS" />
6 <uses-permission android:name="android.permission.WRITE_CONTACTS" />
7 <uses-permission android:name="android.permission.GET_ACCOUNTS" />
8 <uses-permission android:name="android.permission.READ_SYNC_STATS" />
9 <uses-permission android:name="android.permission.INTERNET" />
Fred Quintanad9d4c0b2009-07-22 20:02:11 -070010 <uses-permission android:name="android.permission.USE_CREDENTIALS" />
The Android Open Source Projectc731b0c2009-03-03 19:32:39 -080011 <uses-permission android:name="com.google.android.googleapps.permission.GOOGLE_AUTH" />
12 <uses-permission android:name="com.google.android.googleapps.permission.GOOGLE_AUTH.cp" />
13 <uses-permission android:name="android.permission.SUBSCRIBED_FEEDS_READ" />
14 <uses-permission android:name="android.permission.SUBSCRIBED_FEEDS_WRITE" />
15
16 <application android:process="android.process.acore"
Evan Millar28f88572009-07-08 14:58:53 -070017 android:label="@string/app_label"
18 android:icon="@drawable/app_icon">
19
Jeff Hamilton4f864362009-04-23 02:29:07 -050020 <provider android:name="ContactsProvider2"
Jeff Hamilton5e8793f2009-08-21 00:53:01 -050021 android:authorities="contacts;com.android.contacts"
Fred Quintanac09c0852009-08-25 20:19:33 -070022 android:label="@string/provider_label"
Jeff Hamilton4f864362009-04-23 02:29:07 -050023 android:multiprocess="false"
24 android:readPermission="android.permission.READ_CONTACTS"
Dmitri Plotnikovc70dc0e2009-07-31 10:07:49 -070025 android:writePermission="android.permission.WRITE_CONTACTS">
26 <path-permission
Bjorn Bringert6e2b2612010-03-02 16:22:04 +000027 android:pathPrefix="/search_suggest_query"
28 android:readPermission="android.permission.GLOBAL_SEARCH" />
29 <path-permission
30 android:pathPrefix="/search_suggest_shortcut"
Dmitri Plotnikovc70dc0e2009-07-31 10:07:49 -070031 android:readPermission="android.permission.GLOBAL_SEARCH" />
Bjorn Bringert697b72a2010-03-03 10:51:36 +000032 <path-permission
33 android:pathPattern="/contacts/.*/photo"
34 android:readPermission="android.permission.GLOBAL_SEARCH" />
Dmitri Plotnikovc70dc0e2009-07-31 10:07:49 -070035 </provider>
36
37 <provider android:name="CallLogProvider"
38 android:authorities="call_log"
39 android:syncable="false" android:multiprocess="false"
40 android:readPermission="android.permission.READ_CONTACTS"
41 android:writePermission="android.permission.WRITE_CONTACTS">
42 </provider>
Jeff Sharkeyb6509822009-05-14 18:04:39 -070043
44 <!-- TODO: create permissions for social data -->
45 <provider android:name="SocialProvider"
46 android:authorities="com.android.social"
47 android:syncable="false"
48 android:multiprocess="false"
49 android:readPermission="android.permission.READ_CONTACTS"
50 android:writePermission="android.permission.WRITE_CONTACTS" />
Jeff Hamilton71091332010-05-25 22:13:01 -050051
52 <!-- Handles database upgrades after OTAs, then disables itself -->
53 <receiver android:name="ContactsUpgradeReceiver">
54 <!-- This broadcast is sent after the core system has finished
55 booting, before the home app is launched or BOOT_COMPLETED
56 is sent. -->
57 <intent-filter>
58 <action android:name="android.intent.action.PRE_BOOT_COMPLETED"/>
59 </intent-filter>
60 </receiver>
The Android Open Source Projectc731b0c2009-03-03 19:32:39 -080061 </application>
62</manifest>