blob: 0c33c0392ad8631cb077cf3f2b26213dbba806b0 [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"
Jay Shrauner9e49d122014-07-30 09:49:16 -070040 android:allowBackup="false"
Alexandra Gherghina50bdd672014-04-11 11:25:51 +000041 android:icon="@drawable/app_icon">
The Android Open Source Projectcf013ec2009-03-03 19:32:38 -080042 <!-- TODO: Remove dependency of application on the test runner
43 (android.test) library. -->
44 <uses-library android:name="android.test.runner" />
Ken Shirriffa969e942009-10-19 14:06:00 -070045
Ken Shirriff8446e6f2010-01-22 13:44:16 -080046 <provider android:name="CalendarProvider2" android:authorities="com.android.calendar"
Ken Shirriffa969e942009-10-19 14:06:00 -070047 android:label="@string/provider_label"
48 android:multiprocess="false"
Nick Kraleviche4c11212012-07-28 14:22:16 -070049 android:exported="true"
Ken Shirriffa969e942009-10-19 14:06:00 -070050 android:readPermission="android.permission.READ_CALENDAR"
51 android:writePermission="android.permission.WRITE_CALENDAR" />
Ken Shirriffa969e942009-10-19 14:06:00 -070052
Mason Tanga84cc392010-06-18 12:23:13 -070053 <!-- This is used to keep the provider alive long enough to send update
54 intent broadcasts. -->
55 <service android:name=".EmptyService" />
Andy McFadden1d557af2011-10-26 10:00:03 -070056 <!-- This is used to keep the provider alive long enough to clean up scheduled
57 alarms after boot. -->
58 <service android:name=".CalendarReceiver$RemoveScheduledAlarmsEmptyService" />
Mason Tanga84cc392010-06-18 12:23:13 -070059
Andy McFaddene1ef10b2011-08-30 15:59:06 -070060 <activity android:name="CalendarContentProviderTests" android:label="Calendar Content Provider"
61 android:exported="false">
The Android Open Source Projectcf013ec2009-03-03 19:32:38 -080062 <intent-filter>
63 <action android:name="android.intent.action.MAIN" />
64 <category android:name="android.intent.category.UNIT_TEST" />
65 </intent-filter>
66 </activity>
67 <receiver android:name="CalendarReceiver">
68 <intent-filter>
69 <action android:name="android.intent.action.BOOT_COMPLETED" />
70 </intent-filter>
71 </receiver>
Mason Tanga84cc392010-06-18 12:23:13 -070072
Ken Shirriff46cb0852009-06-11 22:08:32 -070073 <activity android:name="CalendarDebug" android:label="@string/calendar_info">
74 <intent-filter>
75 <action android:name="android.intent.action.MAIN" />
76 <category android:name="android.intent.category.DEFAULT" />
77 </intent-filter>
78 </activity>
Michael Chan9774e102011-03-09 02:27:12 -080079 <activity android:name="CalendarDebugActivity" android:label="@string/calendar_info"
80 android:theme="@android:style/Theme.Holo.Dialog">
81 <intent-filter>
82 <action android:name="android.intent.action.MAIN" />
83 <category android:name="android.intent.category.DEFAULT" />
84 </intent-filter>
85 </activity>
Ken Shirriff46cb0852009-06-11 22:08:32 -070086 <receiver android:name="CalendarDebugReceiver">
87 <intent-filter>
88 <action android:name="android.provider.Telephony.SECRET_CODE" />
89 <data android:scheme="android_secret_code" android:host="225" />
90 </intent-filter>
91 </receiver>
92
Jeff Hamilton25b0f0e2010-05-25 22:14:41 -050093 <!-- Handles database upgrades after OTAs, then disables itself -->
94 <receiver android:name="CalendarUpgradeReceiver">
95 <!-- This broadcast is sent after the core system has finished
96 booting, before the home app is launched or BOOT_COMPLETED
97 is sent. -->
98 <intent-filter>
99 <action android:name="android.intent.action.PRE_BOOT_COMPLETED"/>
100 </intent-filter>
101 </receiver>
Ken Shirriff46cb0852009-06-11 22:08:32 -0700102
Fabrice Di Meglio8bb14212010-10-22 17:41:43 -0700103 <receiver android:name="CalendarProviderBroadcastReceiver">
104 <intent-filter>
105 <action android:name="com.android.providers.calendar.intent.CalendarProvider2" />
106 <category android:name="com.android.providers.calendar"/>
107 </intent-filter>
108 </receiver>
109 <service android:name="CalendarProviderIntentService"/>
110
The Android Open Source Projectcf013ec2009-03-03 19:32:38 -0800111 </application>
112</manifest>