blob: 52d9f0ab322fedda77222500d4ac7243e7472067 [file] [log] [blame]
The Android Open Source Projectcf013ec2009-03-03 19:32:38 -08001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2008 The Android Open Source Project
3
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
Ken Shirriff99fec792010-01-21 15:22:03 -08007
The Android Open Source Projectcf013ec2009-03-03 19:32:38 -08008 http://www.apache.org/licenses/LICENSE-2.0
Ken Shirriff99fec792010-01-21 15:22:03 -08009
The Android Open Source Projectcf013ec2009-03-03 19:32:38 -080010 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15-->
16
17<manifest xmlns:android="http://schemas.android.com/apk/res/android"
18 package="com.android.providers.calendar"
19 android:sharedUserId="android.uid.calendar">
20
21 <uses-permission android:name="android.permission.READ_CALENDAR" />
22 <uses-permission android:name="android.permission.WRITE_CALENDAR" />
23 <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
24 <uses-permission android:name="com.google.android.googleapps.permission.GOOGLE_AUTH" />
25 <uses-permission android:name="com.google.android.googleapps.permission.GOOGLE_AUTH.cl" />
26 <uses-permission android:name="android.permission.GET_ACCOUNTS" />
Fred Quintanaa02c60c2009-07-22 20:01:52 -070027 <uses-permission android:name="android.permission.USE_CREDENTIALS" />
28 <uses-permission android:name="android.permission.MANAGE_ACCOUNTS" />
The Android Open Source Projectcf013ec2009-03-03 19:32:38 -080029 <uses-permission android:name="android.permission.READ_SYNC_STATS" />
Fred Quintana2d873ad2009-08-17 13:05:50 -070030 <uses-permission android:name="android.permission.READ_SYNC_SETTINGS" />
31 <uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS" />
The Android Open Source Projectcf013ec2009-03-03 19:32:38 -080032 <uses-permission android:name="android.permission.INTERNET" />
33 <uses-permission android:name="android.permission.SUBSCRIBED_FEEDS_READ" />
34 <uses-permission android:name="android.permission.SUBSCRIBED_FEEDS_WRITE" />
Jeff Hamilton1168e282010-02-16 18:30:21 -060035 <uses-permission android:name="android.permission.WAKE_LOCK" />
Michael Chan9774e102011-03-09 02:27:12 -080036 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
Dianne Hackborn043587d2013-01-25 11:29:31 -080037 <uses-permission android:name="android.permission.UPDATE_APP_OPS_STATS" />
The Android Open Source Projectcf013ec2009-03-03 19:32:38 -080038
Fabrice Di Meglio9b6911d2010-02-18 10:18:46 -080039 <application android:label="@string/calendar_storage"
Alexandra Gherghina50bdd672014-04-11 11:25:51 +000040 android:icon="@drawable/app_icon">
The Android Open Source Projectcf013ec2009-03-03 19:32:38 -080041 <!-- TODO: Remove dependency of application on the test runner
42 (android.test) library. -->
43 <uses-library android:name="android.test.runner" />
Ken Shirriffa969e942009-10-19 14:06:00 -070044
Ken Shirriff8446e6f2010-01-22 13:44:16 -080045 <provider android:name="CalendarProvider2" android:authorities="com.android.calendar"
Ken Shirriffa969e942009-10-19 14:06:00 -070046 android:label="@string/provider_label"
47 android:multiprocess="false"
Nick Kraleviche4c11212012-07-28 14:22:16 -070048 android:exported="true"
Ken Shirriffa969e942009-10-19 14:06:00 -070049 android:readPermission="android.permission.READ_CALENDAR"
50 android:writePermission="android.permission.WRITE_CALENDAR" />
Ken Shirriffa969e942009-10-19 14:06:00 -070051
Mason Tanga84cc392010-06-18 12:23:13 -070052 <!-- This is used to keep the provider alive long enough to send update
53 intent broadcasts. -->
54 <service android:name=".EmptyService" />
Andy McFadden1d557af2011-10-26 10:00:03 -070055 <!-- This is used to keep the provider alive long enough to clean up scheduled
56 alarms after boot. -->
57 <service android:name=".CalendarReceiver$RemoveScheduledAlarmsEmptyService" />
Mason Tanga84cc392010-06-18 12:23:13 -070058
Andy McFaddene1ef10b2011-08-30 15:59:06 -070059 <activity android:name="CalendarContentProviderTests" android:label="Calendar Content Provider"
60 android:exported="false">
The Android Open Source Projectcf013ec2009-03-03 19:32:38 -080061 <intent-filter>
62 <action android:name="android.intent.action.MAIN" />
63 <category android:name="android.intent.category.UNIT_TEST" />
64 </intent-filter>
65 </activity>
66 <receiver android:name="CalendarReceiver">
67 <intent-filter>
68 <action android:name="android.intent.action.BOOT_COMPLETED" />
69 </intent-filter>
70 </receiver>
Mason Tanga84cc392010-06-18 12:23:13 -070071
Ken Shirriff46cb0852009-06-11 22:08:32 -070072 <activity android:name="CalendarDebug" android:label="@string/calendar_info">
73 <intent-filter>
74 <action android:name="android.intent.action.MAIN" />
75 <category android:name="android.intent.category.DEFAULT" />
76 </intent-filter>
77 </activity>
Michael Chan9774e102011-03-09 02:27:12 -080078 <activity android:name="CalendarDebugActivity" android:label="@string/calendar_info"
79 android:theme="@android:style/Theme.Holo.Dialog">
80 <intent-filter>
81 <action android:name="android.intent.action.MAIN" />
82 <category android:name="android.intent.category.DEFAULT" />
83 </intent-filter>
84 </activity>
Ken Shirriff46cb0852009-06-11 22:08:32 -070085 <receiver android:name="CalendarDebugReceiver">
86 <intent-filter>
87 <action android:name="android.provider.Telephony.SECRET_CODE" />
88 <data android:scheme="android_secret_code" android:host="225" />
89 </intent-filter>
90 </receiver>
91
Jeff Hamilton25b0f0e2010-05-25 22:14:41 -050092 <!-- Handles database upgrades after OTAs, then disables itself -->
93 <receiver android:name="CalendarUpgradeReceiver">
94 <!-- This broadcast is sent after the core system has finished
95 booting, before the home app is launched or BOOT_COMPLETED
96 is sent. -->
97 <intent-filter>
98 <action android:name="android.intent.action.PRE_BOOT_COMPLETED"/>
99 </intent-filter>
100 </receiver>
Ken Shirriff46cb0852009-06-11 22:08:32 -0700101
Fabrice Di Meglio8bb14212010-10-22 17:41:43 -0700102 <receiver android:name="CalendarProviderBroadcastReceiver">
103 <intent-filter>
104 <action android:name="com.android.providers.calendar.intent.CalendarProvider2" />
105 <category android:name="com.android.providers.calendar"/>
106 </intent-filter>
107 </receiver>
108 <service android:name="CalendarProviderIntentService"/>
109
The Android Open Source Projectcf013ec2009-03-03 19:32:38 -0800110 </application>
111</manifest>