blob: 6cd309305042be3df971aa5917174472c2670ebb [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" />
Dmitri Plotnikov892a3d92010-08-13 12:25:44 -070015 <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
16 <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
The Android Open Source Projectc731b0c2009-03-03 19:32:39 -080017
18 <application android:process="android.process.acore"
Evan Millar28f88572009-07-08 14:58:53 -070019 android:label="@string/app_label"
20 android:icon="@drawable/app_icon">
21
Jeff Hamilton4f864362009-04-23 02:29:07 -050022 <provider android:name="ContactsProvider2"
Jeff Hamilton5e8793f2009-08-21 00:53:01 -050023 android:authorities="contacts;com.android.contacts"
Fred Quintanac09c0852009-08-25 20:19:33 -070024 android:label="@string/provider_label"
Jeff Hamilton4f864362009-04-23 02:29:07 -050025 android:multiprocess="false"
26 android:readPermission="android.permission.READ_CONTACTS"
Dmitri Plotnikovc70dc0e2009-07-31 10:07:49 -070027 android:writePermission="android.permission.WRITE_CONTACTS">
28 <path-permission
Bjorn Bringert6e2b2612010-03-02 16:22:04 +000029 android:pathPrefix="/search_suggest_query"
30 android:readPermission="android.permission.GLOBAL_SEARCH" />
31 <path-permission
32 android:pathPrefix="/search_suggest_shortcut"
Dmitri Plotnikovc70dc0e2009-07-31 10:07:49 -070033 android:readPermission="android.permission.GLOBAL_SEARCH" />
Bjorn Bringert697b72a2010-03-03 10:51:36 +000034 <path-permission
35 android:pathPattern="/contacts/.*/photo"
36 android:readPermission="android.permission.GLOBAL_SEARCH" />
Dmitri Plotnikovc70dc0e2009-07-31 10:07:49 -070037 </provider>
38
39 <provider android:name="CallLogProvider"
40 android:authorities="call_log"
41 android:syncable="false" android:multiprocess="false"
42 android:readPermission="android.permission.READ_CONTACTS"
43 android:writePermission="android.permission.WRITE_CONTACTS">
44 </provider>
Jeff Sharkeyb6509822009-05-14 18:04:39 -070045
46 <!-- TODO: create permissions for social data -->
47 <provider android:name="SocialProvider"
48 android:authorities="com.android.social"
49 android:syncable="false"
50 android:multiprocess="false"
51 android:readPermission="android.permission.READ_CONTACTS"
52 android:writePermission="android.permission.WRITE_CONTACTS" />
Jeff Hamilton71091332010-05-25 22:13:01 -050053
54 <!-- Handles database upgrades after OTAs, then disables itself -->
55 <receiver android:name="ContactsUpgradeReceiver">
56 <!-- This broadcast is sent after the core system has finished
57 booting, before the home app is launched or BOOT_COMPLETED
58 is sent. -->
59 <intent-filter>
60 <action android:name="android.intent.action.PRE_BOOT_COMPLETED"/>
61 </intent-filter>
62 </receiver>
Dmitri Plotnikovd3d812a2010-06-07 14:03:12 -070063
Dmitri Plotnikov72e30032010-08-05 10:53:44 -070064 <receiver android:name="PackageIntentReceiver">
65 <intent-filter>
66 <action android:name="android.intent.action.PACKAGE_ADDED" />
67 <data android:scheme="package" />
68 </intent-filter>
69 <intent-filter>
70 <action android:name="android.intent.action.PACKAGE_REPLACED" />
71 <data android:scheme="package" />
72 </intent-filter>
Dmitri Plotnikovd3d812a2010-06-07 14:03:12 -070073 <intent-filter>
74 <action android:name="android.intent.action.PACKAGE_REMOVED" />
75 <data android:scheme="package" />
76 </intent-filter>
Dmitri Plotnikov72e30032010-08-05 10:53:44 -070077 <intent-filter>
78 <action android:name="android.intent.action.PACKAGE_CHANGED" />
79 <data android:scheme="package" />
80 </intent-filter>
Dmitri Plotnikovd3d812a2010-06-07 14:03:12 -070081 </receiver>
Dmitri Plotnikov53fac8f2010-08-16 19:42:29 -070082
83 <receiver android:name="LocaleChangeReceiver">
84 <intent-filter>
85 <action android:name="android.intent.action.LOCALE_CHANGED"/>
86 </intent-filter>
87 </receiver>
The Android Open Source Projectc731b0c2009-03-03 19:32:39 -080088 </application>
89</manifest>