blob: e60b78a44bdc762be2f5435bccfc482144164727 [file] [log] [blame]
The Android Open Source Project146de362009-03-03 19:32:18 -08001<?xml version="1.0" encoding="utf-8"?>
2<!--
3/* //device/apps/Calendar/AndroidManifest.xml
4**
5** Copyright 2006, The Android Open Source Project
6**
Michael Chane2ae1ef2009-11-18 18:37:09 -08007** Licensed under the Apache License, Version 2.0 (the "License");
8** you may not use this file except in compliance with the License.
9** You may obtain a copy of the License at
The Android Open Source Project146de362009-03-03 19:32:18 -080010**
Michael Chane2ae1ef2009-11-18 18:37:09 -080011** http://www.apache.org/licenses/LICENSE-2.0
The Android Open Source Project146de362009-03-03 19:32:18 -080012**
Michael Chane2ae1ef2009-11-18 18:37:09 -080013** Unless required by applicable law or agreed to in writing, software
14** distributed under the License is distributed on an "AS IS" BASIS,
15** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16** See the License for the specific language governing permissions and
The Android Open Source Project146de362009-03-03 19:32:18 -080017** limitations under the License.
18*/
19-->
20<manifest xmlns:android="http://schemas.android.com/apk/res/android"
21 package="com.android.calendar"
The Android Open Source Project146de362009-03-03 19:32:18 -080022 android:sharedUserLabel="@string/app_label">
23
Jeff Hamiltona17725e2010-02-16 18:28:16 -060024 <!--
25 NOTE: and original-package cannot be used, since the Eclair
26 version was using a shared user ID with the provider.
27 -->
Jeff Hamiltonc78d2d22010-02-11 16:25:47 -060028
Jeff Hamiltona17725e2010-02-16 18:28:16 -060029 <uses-permission android:name="android.permission.GET_ACCOUNTS" />
RoboErik6c892a22011-09-08 16:54:04 -070030 <uses-permission android:name="android.permission.MANAGE_ACCOUNTS"/>
The Android Open Source Project146de362009-03-03 19:32:18 -080031 <uses-permission android:name="android.permission.INTERNET" />
32 <uses-permission android:name="android.permission.VIBRATE"/>
Michael Chan47f3f702009-07-23 16:01:07 -070033 <uses-permission android:name="android.permission.READ_CONTACTS"/>
The Android Open Source Project146de362009-03-03 19:32:18 -080034 <uses-permission android:name="android.permission.READ_CALENDAR" />
35 <uses-permission android:name="android.permission.WRITE_CALENDAR" />
36 <uses-permission android:name="android.permission.WAKE_LOCK" />
Fred Quintana13719582009-07-22 20:01:03 -070037 <uses-permission android:name="android.permission.USE_CREDENTIALS" />
Erik6b858fc2010-09-15 18:59:04 -070038 <uses-permission android:name="android.permission.READ_SYNC_SETTINGS" />
The Android Open Source Project146de362009-03-03 19:32:18 -080039 <uses-permission android:name="com.google.android.googleapps.permission.GOOGLE_AUTH.mail" />
40
41 <application android:name="CalendarApplication"
Justin Ho77aa9f82011-01-29 12:08:50 -080042 android:label="@string/app_label" android:icon="@mipmap/ic_launcher_calendar"
Erikc29b2d32010-10-26 10:51:31 -070043 android:taskAffinity="android.task.calendar"
Garth Bushellbdadecb2010-10-06 22:35:31 +010044 android:hardwareAccelerated="true"
45 android:backupAgent="com.android.calendar.CalendarBackupAgent" >
46
47 <meta-data android:name="com.google.android.backup.api_key"
48 android:value="AEdPqrEAAAAIM256oVOGnuSel5QKDpL8je_T65ZI8rFnDinssA" />
The Android Open Source Project146de362009-03-03 19:32:18 -080049
Michael Chand6734db2010-07-22 00:48:08 -070050 <activity
51 android:name="AllInOneActivity"
Michael Chan2dd566a2011-01-25 15:17:57 -080052 android:theme="@style/CalendarTheme.WithActionBar"
RoboErika2f6c5a2011-08-31 13:32:57 -070053 android:launchMode="singleTop"
Andy McFadden70983832011-08-30 15:52:32 -070054 android:windowSoftInputMode="adjustPan"
55 android:exported="true">
The Android Open Source Project146de362009-03-03 19:32:18 -080056 <intent-filter>
57 <action android:name="android.intent.action.MAIN" />
58 <category android:name="android.intent.category.DEFAULT" />
59 <category android:name="android.intent.category.LAUNCHER" />
60 </intent-filter>
Erik1ef7f3a2010-02-24 14:46:03 -080061 <intent-filter>
62 <action android:name="android.intent.action.VIEW" />
63 <category android:name="android.intent.category.DEFAULT" />
64 <data android:mimeType="time/epoch" />
65 <data android:host="com.android.calendar" />
66 <data android:scheme="content"/>
67 </intent-filter>
Michael Chan2c7c8512010-12-10 14:12:57 -080068 <intent-filter>
69 <action android:name="android.intent.action.VIEW" />
70 <category android:name="android.intent.category.DEFAULT" />
71 <data android:mimeType="vnd.android.cursor.item/event" />
72 </intent-filter>
RoboErikd8353fb2011-07-21 11:28:11 -070073 </activity>
74
75 <activity-alias android:name="LaunchActivity"
Andy McFadden70983832011-08-30 15:52:32 -070076 android:targetActivity=".AllInOneActivity"
77 android:exported="true">
Erik5f620792010-10-27 12:42:01 -070078 </activity-alias>
79
Isaac Katzenelson60f01c22011-06-03 15:42:01 -070080 <activity android:name="EventInfoActivity"
81 android:theme="@style/CalendarTheme.WithActionBar">
82 <intent-filter>
83 <action android:name="android.intent.action.VIEW" />
84 <category android:name="android.intent.category.DEFAULT" />
85 </intent-filter>
86 </activity>
87
Erik5f620792010-10-27 12:42:01 -070088 <activity android:name=".event.EditEventActivity"
89 android:theme="@style/CalendarTheme.WithActionBar">
90 </activity>
91
92 <activity-alias android:name="EditEventActivity"
Andy McFadden70983832011-08-30 15:52:32 -070093 android:targetActivity=".event.EditEventActivity"
94 android:exported="true">
The Android Open Source Project146de362009-03-03 19:32:18 -080095 <intent-filter>
96 <action android:name="android.intent.action.EDIT" />
Michael Chan7af0e842011-07-01 16:35:01 -070097 <action android:name="android.intent.action.INSERT" />
The Android Open Source Project146de362009-03-03 19:32:18 -080098 <category android:name="android.intent.category.DEFAULT" />
99 <data android:mimeType="vnd.android.cursor.item/event" />
100 </intent-filter>
Erik5f620792010-10-27 12:42:01 -0700101 <intent-filter>
102 <action android:name="android.intent.action.EDIT" />
Michael Chan7af0e842011-07-01 16:35:01 -0700103 <action android:name="android.intent.action.INSERT" />
Erik5f620792010-10-27 12:42:01 -0700104 <category android:name="android.intent.category.DEFAULT" />
105 <data android:mimeType="vnd.android.cursor.dir/event" />
106 </intent-filter>
Erikdd95df52010-08-27 09:31:18 -0700107 </activity-alias>
Michael Chane2ae1ef2009-11-18 18:37:09 -0800108
Michael Chan66988c62009-09-16 15:17:57 -0700109 <activity android:name="GoogleCalendarUriIntentFilter" android:label="@string/app_label"
Andy McFadden70983832011-08-30 15:52:32 -0700110 android:theme="@android:style/Theme.NoDisplay"
Michael Chanb84a1512009-07-07 13:39:33 -0700111 android:configChanges="orientation|keyboardHidden">
112
Andy McFadden70983832011-08-30 15:52:32 -0700113 <intent-filter
114 android:priority="50">
Michael Chanb84a1512009-07-07 13:39:33 -0700115 <action android:name="android.intent.action.VIEW" />
116 <category android:name="android.intent.category.DEFAULT" />
117 <category android:name="android.intent.category.BROWSABLE" />
118 <data android:scheme="http" android:host="www.google.com" android:pathPrefix="/calendar/event" />
119 <data android:scheme="https" android:host="www.google.com" android:pathPrefix="/calendar/event" />
120 <data android:scheme="http" android:host="www.google.com" android:pathPattern="/calendar/hosted/.*/event" />
121 <data android:scheme="https" android:host="www.google.com" android:pathPattern="/calendar/hosted/.*/event" />
122 </intent-filter>
123 </activity>
124
Michael Chan2aeb8d92011-07-10 13:32:09 -0700125 <activity android:name=".selectcalendars.SelectVisibleCalendarsActivity"
126 android:label="@string/select_visible_calendars_title"
127 android:theme="@android:style/Theme.Holo.Light"/>
128
129 <activity android:name=".selectcalendars.SelectSyncedCalendarsMultiAccountActivity"
130 android:label="@string/select_synced_calendars_title"
131 android:theme="@android:style/Theme.Holo.Light"/>
132
Erik7c92a472010-10-01 15:52:00 -0700133 <activity android:name="CalendarSettingsActivity" android:label="@string/preferences_title"
Dianne Hackborn150caa22011-01-23 12:47:46 -0800134 android:theme="@android:style/Theme.Holo.Light"/>
Mason Tang9138ce82010-06-28 11:08:46 -0700135
Mason Tang3a0e67b2010-08-23 16:59:30 -0700136 <!-- Declarations for search -->
137 <!-- Make all activities a searchable context -->
138 <meta-data android:name="android.app.default_searchable"
139 android:value="com.android.calendar.SearchActivity"/>
140
Mason Tang9138ce82010-06-28 11:08:46 -0700141 <activity android:name="SearchActivity" android:label="@string/search_title"
Andy McFadden70983832011-08-30 15:52:32 -0700142 android:launchMode="singleTop" android:theme="@style/CalendarTheme.WithActionBar"
Amith Yamasani68bbfac2011-11-01 16:47:37 -0700143 android:windowSoftInputMode="stateAlwaysHidden"
Andy McFadden70983832011-08-30 15:52:32 -0700144 android:exported="true">
Mason Tang9138ce82010-06-28 11:08:46 -0700145 <intent-filter>
146 <action android:name="android.intent.action.SEARCH"/>
147 </intent-filter>
148 <meta-data android:name="android.app.searchable" android:resource="@xml/searchable"/>
149 </activity>
150
Mason Tang3a0e67b2010-08-23 16:59:30 -0700151 <provider android:name=".CalendarRecentSuggestionsProvider"
152 android:authorities="com.android.calendar.CalendarRecentSuggestionsProvider" />
153
Mason Tang23e7da32010-07-27 15:24:02 -0700154 <!-- Declarations for alerts/reminders -->
155 <activity android:name=".alerts.AlertActivity" android:launchMode="singleInstance"
Michael Chan10d9f112011-01-17 21:17:08 -0800156 android:theme="@android:style/Theme.Holo.DialogWhenLarge" android:excludeFromRecents="true" />
Mason Tang23e7da32010-07-27 15:24:02 -0700157
158 <receiver android:name=".alerts.AlertReceiver">
The Android Open Source Project146de362009-03-03 19:32:18 -0800159 <intent-filter>
160 <action android:name="android.intent.action.EVENT_REMINDER" />
Michael Chane2ae1ef2009-11-18 18:37:09 -0800161 <action android:name="android.intent.action.LOCALE_CHANGED" />
The Android Open Source Project146de362009-03-03 19:32:18 -0800162 <action android:name="android.intent.action.BOOT_COMPLETED" />
163 <action android:name="android.intent.action.TIME_SET" />
Erik320dfc12010-03-17 16:37:18 -0700164 <data android:scheme="content" />
The Android Open Source Project146de362009-03-03 19:32:18 -0800165 </intent-filter>
166 </receiver>
167
Mason Tang23e7da32010-07-27 15:24:02 -0700168 <service android:name=".alerts.AlertService" />
The Android Open Source Project146de362009-03-03 19:32:18 -0800169
Mason Tang23e7da32010-07-27 15:24:02 -0700170 <service android:name=".alerts.DismissAllAlarmsService" />
The Android Open Source Project3cfe2e52009-03-13 13:04:24 -0700171
Mason Tangbb3f08a2010-06-22 17:03:54 -0700172 <!-- Declarations for the widget -->
Mason Tang9a3cb142010-07-27 12:16:41 -0700173 <receiver android:name=".widget.CalendarAppWidgetProvider" android:label="@string/gadget_title">
Mason Tangbb3f08a2010-06-22 17:03:54 -0700174 <intent-filter>
175 <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
176 <action android:name="com.android.calendar.APPWIDGET_UPDATE" />
177 </intent-filter>
178 <meta-data android:name="android.appwidget.provider" android:resource="@xml/appwidget_info" />
179 </receiver>
180
RoboErikf1416202011-08-09 15:44:14 -0700181 <receiver android:name=".widget.CalendarAppWidgetService$CalendarFactory">
182 <intent-filter>
183 <action android:name="android.intent.action.TIMEZONE_CHANGED"/>
184 <action android:name="android.intent.action.DATE_CHANGED"/>
185 <action android:name="android.intent.action.TIME_SET"/>
RoboErik937b49c2011-09-09 10:29:16 -0700186 <action android:name="android.intent.action.LOCALE_CHANGED"/>
RoboErikf1416202011-08-09 15:44:14 -0700187 </intent-filter>
188 <intent-filter>
189 <action android:name="android.intent.action.PROVIDER_CHANGED"/>
190 <data android:scheme="content"/>
191 <data android:host="com.android.calendar"/>
192 </intent-filter>
193 <intent-filter>
194 <action android:name="com.android.calendar.APPWIDGET_SCHEDULED_UPDATE"/>
195 <data android:scheme="content"/>
196 <data android:host="com.android.calendar"/>
RoboErik4c94fb52011-08-16 13:04:04 -0700197 <data android:mimeType="vnd.android.data/update" />
RoboErikf1416202011-08-09 15:44:14 -0700198 </intent-filter>
199 </receiver>
200
Michael Chanb9b34ea2011-03-03 16:12:29 -0800201 <service android:name=".widget.CalendarAppWidgetService"
RoboErikf1416202011-08-09 15:44:14 -0700202 android:permission="android.permission.BIND_REMOTEVIEWS"
Andy McFadden70983832011-08-30 15:52:32 -0700203 android:exported="false">
204 </service>
Mason Tangbb3f08a2010-06-22 17:03:54 -0700205
Andy McFadden70983832011-08-30 15:52:32 -0700206 <activity android:name="CalendarTests" android:label="Calendar Tests"
207 android:exported="false">
The Android Open Source Project146de362009-03-03 19:32:18 -0800208 <intent-filter>
209 <action android:name="android.intent.action.MAIN" />
210 <category android:name="android.intent.category.UNIT_TEST" />
211 </intent-filter>
212 </activity>
Michael Chanbed02752010-04-27 10:56:53 -0700213
214 <service android:name=".AsyncQueryServiceHelper" />
215
The Android Open Source Project146de362009-03-03 19:32:18 -0800216 </application>
217</manifest>
218