The Android Open Source Project | 146de36 | 2009-03-03 19:32:18 -0800 | [diff] [blame] | 1 | <?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 Chan | e2ae1ef | 2009-11-18 18:37:09 -0800 | [diff] [blame] | 7 | ** 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 Project | 146de36 | 2009-03-03 19:32:18 -0800 | [diff] [blame] | 10 | ** |
Michael Chan | e2ae1ef | 2009-11-18 18:37:09 -0800 | [diff] [blame] | 11 | ** http://www.apache.org/licenses/LICENSE-2.0 |
The Android Open Source Project | 146de36 | 2009-03-03 19:32:18 -0800 | [diff] [blame] | 12 | ** |
Michael Chan | e2ae1ef | 2009-11-18 18:37:09 -0800 | [diff] [blame] | 13 | ** 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 Project | 146de36 | 2009-03-03 19:32:18 -0800 | [diff] [blame] | 17 | ** 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 Project | 146de36 | 2009-03-03 19:32:18 -0800 | [diff] [blame] | 22 | android:sharedUserLabel="@string/app_label"> |
| 23 | |
Jeff Hamilton | a17725e | 2010-02-16 18:28:16 -0600 | [diff] [blame] | 24 | <!-- |
| 25 | NOTE: and original-package cannot be used, since the Eclair |
| 26 | version was using a shared user ID with the provider. |
| 27 | --> |
Jeff Hamilton | c78d2d2 | 2010-02-11 16:25:47 -0600 | [diff] [blame] | 28 | |
Jeff Hamilton | a17725e | 2010-02-16 18:28:16 -0600 | [diff] [blame] | 29 | <uses-permission android:name="android.permission.GET_ACCOUNTS" /> |
The Android Open Source Project | 146de36 | 2009-03-03 19:32:18 -0800 | [diff] [blame] | 30 | <uses-permission android:name="android.permission.INTERNET" /> |
| 31 | <uses-permission android:name="android.permission.VIBRATE"/> |
Michael Chan | 47f3f70 | 2009-07-23 16:01:07 -0700 | [diff] [blame] | 32 | <uses-permission android:name="android.permission.READ_CONTACTS"/> |
The Android Open Source Project | 146de36 | 2009-03-03 19:32:18 -0800 | [diff] [blame] | 33 | <uses-permission android:name="android.permission.READ_CALENDAR" /> |
| 34 | <uses-permission android:name="android.permission.WRITE_CALENDAR" /> |
| 35 | <uses-permission android:name="android.permission.WAKE_LOCK" /> |
Fred Quintana | 1371958 | 2009-07-22 20:01:03 -0700 | [diff] [blame] | 36 | <uses-permission android:name="android.permission.USE_CREDENTIALS" /> |
Erik | 6b858fc | 2010-09-15 18:59:04 -0700 | [diff] [blame] | 37 | <uses-permission android:name="android.permission.READ_SYNC_SETTINGS" /> |
The Android Open Source Project | 146de36 | 2009-03-03 19:32:18 -0800 | [diff] [blame] | 38 | <uses-permission android:name="com.google.android.googleapps.permission.GOOGLE_AUTH.mail" /> |
| 39 | |
| 40 | <application android:name="CalendarApplication" |
Justin Ho | 77aa9f8 | 2011-01-29 12:08:50 -0800 | [diff] [blame] | 41 | android:label="@string/app_label" android:icon="@mipmap/ic_launcher_calendar" |
Erik | c29b2d3 | 2010-10-26 10:51:31 -0700 | [diff] [blame] | 42 | android:taskAffinity="android.task.calendar" |
Garth Bushell | bdadecb | 2010-10-06 22:35:31 +0100 | [diff] [blame] | 43 | android:hardwareAccelerated="true" |
| 44 | android:backupAgent="com.android.calendar.CalendarBackupAgent" > |
| 45 | |
| 46 | <meta-data android:name="com.google.android.backup.api_key" |
| 47 | android:value="AEdPqrEAAAAIM256oVOGnuSel5QKDpL8je_T65ZI8rFnDinssA" /> |
The Android Open Source Project | 146de36 | 2009-03-03 19:32:18 -0800 | [diff] [blame] | 48 | |
Michael Chan | d6734db | 2010-07-22 00:48:08 -0700 | [diff] [blame] | 49 | <activity |
| 50 | android:name="AllInOneActivity" |
Michael Chan | 2dd566a | 2011-01-25 15:17:57 -0800 | [diff] [blame] | 51 | android:theme="@style/CalendarTheme.WithActionBar" |
| 52 | android:launchMode="singleTop"> |
The Android Open Source Project | 146de36 | 2009-03-03 19:32:18 -0800 | [diff] [blame] | 53 | <intent-filter> |
| 54 | <action android:name="android.intent.action.MAIN" /> |
| 55 | <category android:name="android.intent.category.DEFAULT" /> |
| 56 | <category android:name="android.intent.category.LAUNCHER" /> |
| 57 | </intent-filter> |
Erik | 1ef7f3a | 2010-02-24 14:46:03 -0800 | [diff] [blame] | 58 | <intent-filter> |
| 59 | <action android:name="android.intent.action.VIEW" /> |
| 60 | <category android:name="android.intent.category.DEFAULT" /> |
| 61 | <data android:mimeType="time/epoch" /> |
| 62 | <data android:host="com.android.calendar" /> |
| 63 | <data android:scheme="content"/> |
| 64 | </intent-filter> |
Michael Chan | 2c7c851 | 2010-12-10 14:12:57 -0800 | [diff] [blame] | 65 | <intent-filter> |
| 66 | <action android:name="android.intent.action.VIEW" /> |
| 67 | <category android:name="android.intent.category.DEFAULT" /> |
| 68 | <data android:mimeType="vnd.android.cursor.item/event" /> |
| 69 | </intent-filter> |
RoboErik | d8353fb | 2011-07-21 11:28:11 -0700 | [diff] [blame] | 70 | </activity> |
| 71 | |
| 72 | <activity-alias android:name="LaunchActivity" |
| 73 | android:targetActivity=".AllInOneActivity"> |
Erik | 5f62079 | 2010-10-27 12:42:01 -0700 | [diff] [blame] | 74 | </activity-alias> |
| 75 | |
Isaac Katzenelson | 60f01c2 | 2011-06-03 15:42:01 -0700 | [diff] [blame] | 76 | <activity android:name="EventInfoActivity" |
| 77 | android:theme="@style/CalendarTheme.WithActionBar"> |
| 78 | <intent-filter> |
| 79 | <action android:name="android.intent.action.VIEW" /> |
| 80 | <category android:name="android.intent.category.DEFAULT" /> |
| 81 | </intent-filter> |
| 82 | </activity> |
| 83 | |
Erik | 5f62079 | 2010-10-27 12:42:01 -0700 | [diff] [blame] | 84 | <activity android:name=".event.EditEventActivity" |
| 85 | android:theme="@style/CalendarTheme.WithActionBar"> |
| 86 | </activity> |
| 87 | |
| 88 | <activity-alias android:name="EditEventActivity" |
| 89 | android:targetActivity=".event.EditEventActivity"> |
The Android Open Source Project | 146de36 | 2009-03-03 19:32:18 -0800 | [diff] [blame] | 90 | <intent-filter> |
| 91 | <action android:name="android.intent.action.EDIT" /> |
Michael Chan | 7af0e84 | 2011-07-01 16:35:01 -0700 | [diff] [blame] | 92 | <action android:name="android.intent.action.INSERT" /> |
The Android Open Source Project | 146de36 | 2009-03-03 19:32:18 -0800 | [diff] [blame] | 93 | <category android:name="android.intent.category.DEFAULT" /> |
| 94 | <data android:mimeType="vnd.android.cursor.item/event" /> |
| 95 | </intent-filter> |
Erik | 5f62079 | 2010-10-27 12:42:01 -0700 | [diff] [blame] | 96 | <intent-filter> |
| 97 | <action android:name="android.intent.action.EDIT" /> |
Michael Chan | 7af0e84 | 2011-07-01 16:35:01 -0700 | [diff] [blame] | 98 | <action android:name="android.intent.action.INSERT" /> |
Erik | 5f62079 | 2010-10-27 12:42:01 -0700 | [diff] [blame] | 99 | <category android:name="android.intent.category.DEFAULT" /> |
| 100 | <data android:mimeType="vnd.android.cursor.dir/event" /> |
| 101 | </intent-filter> |
Erik | dd95df5 | 2010-08-27 09:31:18 -0700 | [diff] [blame] | 102 | </activity-alias> |
Michael Chan | e2ae1ef | 2009-11-18 18:37:09 -0800 | [diff] [blame] | 103 | |
Michael Chan | 66988c6 | 2009-09-16 15:17:57 -0700 | [diff] [blame] | 104 | <activity android:name="GoogleCalendarUriIntentFilter" android:label="@string/app_label" |
Michael Chan | b84a151 | 2009-07-07 13:39:33 -0700 | [diff] [blame] | 105 | android:theme="@android:style/Theme.Light" |
| 106 | android:configChanges="orientation|keyboardHidden"> |
| 107 | |
| 108 | <intent-filter> |
| 109 | <action android:name="android.intent.action.VIEW" /> |
| 110 | <category android:name="android.intent.category.DEFAULT" /> |
| 111 | <category android:name="android.intent.category.BROWSABLE" /> |
| 112 | <data android:scheme="http" android:host="www.google.com" android:pathPrefix="/calendar/event" /> |
| 113 | <data android:scheme="https" android:host="www.google.com" android:pathPrefix="/calendar/event" /> |
| 114 | <data android:scheme="http" android:host="www.google.com" android:pathPattern="/calendar/hosted/.*/event" /> |
| 115 | <data android:scheme="https" android:host="www.google.com" android:pathPattern="/calendar/hosted/.*/event" /> |
| 116 | </intent-filter> |
| 117 | </activity> |
| 118 | |
Michael Chan | 2aeb8d9 | 2011-07-10 13:32:09 -0700 | [diff] [blame] | 119 | <activity android:name=".selectcalendars.SelectVisibleCalendarsActivity" |
| 120 | android:label="@string/select_visible_calendars_title" |
| 121 | android:theme="@android:style/Theme.Holo.Light"/> |
| 122 | |
| 123 | <activity android:name=".selectcalendars.SelectSyncedCalendarsMultiAccountActivity" |
| 124 | android:label="@string/select_synced_calendars_title" |
| 125 | android:theme="@android:style/Theme.Holo.Light"/> |
| 126 | |
Erik | 7c92a47 | 2010-10-01 15:52:00 -0700 | [diff] [blame] | 127 | <activity android:name="CalendarSettingsActivity" android:label="@string/preferences_title" |
Dianne Hackborn | 150caa2 | 2011-01-23 12:47:46 -0800 | [diff] [blame] | 128 | android:theme="@android:style/Theme.Holo.Light"/> |
Mason Tang | 9138ce8 | 2010-06-28 11:08:46 -0700 | [diff] [blame] | 129 | |
Mason Tang | 3a0e67b | 2010-08-23 16:59:30 -0700 | [diff] [blame] | 130 | <!-- Declarations for search --> |
| 131 | <!-- Make all activities a searchable context --> |
| 132 | <meta-data android:name="android.app.default_searchable" |
| 133 | android:value="com.android.calendar.SearchActivity"/> |
| 134 | |
Mason Tang | 9138ce8 | 2010-06-28 11:08:46 -0700 | [diff] [blame] | 135 | <activity android:name="SearchActivity" android:label="@string/search_title" |
Mason Tang | 1df2ca6 | 2010-08-18 16:10:25 -0700 | [diff] [blame] | 136 | android:launchMode="singleTop" android:theme="@style/CalendarTheme.WithActionBar"> |
Mason Tang | 9138ce8 | 2010-06-28 11:08:46 -0700 | [diff] [blame] | 137 | <intent-filter> |
| 138 | <action android:name="android.intent.action.SEARCH"/> |
| 139 | </intent-filter> |
| 140 | <meta-data android:name="android.app.searchable" android:resource="@xml/searchable"/> |
| 141 | </activity> |
| 142 | |
Mason Tang | 3a0e67b | 2010-08-23 16:59:30 -0700 | [diff] [blame] | 143 | <provider android:name=".CalendarRecentSuggestionsProvider" |
| 144 | android:authorities="com.android.calendar.CalendarRecentSuggestionsProvider" /> |
| 145 | |
Mason Tang | 23e7da3 | 2010-07-27 15:24:02 -0700 | [diff] [blame] | 146 | <!-- Declarations for alerts/reminders --> |
| 147 | <activity android:name=".alerts.AlertActivity" android:launchMode="singleInstance" |
Michael Chan | 10d9f11 | 2011-01-17 21:17:08 -0800 | [diff] [blame] | 148 | android:theme="@android:style/Theme.Holo.DialogWhenLarge" android:excludeFromRecents="true" /> |
Mason Tang | 23e7da3 | 2010-07-27 15:24:02 -0700 | [diff] [blame] | 149 | |
| 150 | <receiver android:name=".alerts.AlertReceiver"> |
The Android Open Source Project | 146de36 | 2009-03-03 19:32:18 -0800 | [diff] [blame] | 151 | <intent-filter> |
| 152 | <action android:name="android.intent.action.EVENT_REMINDER" /> |
Michael Chan | e2ae1ef | 2009-11-18 18:37:09 -0800 | [diff] [blame] | 153 | <action android:name="android.intent.action.LOCALE_CHANGED" /> |
The Android Open Source Project | 146de36 | 2009-03-03 19:32:18 -0800 | [diff] [blame] | 154 | <action android:name="android.intent.action.BOOT_COMPLETED" /> |
| 155 | <action android:name="android.intent.action.TIME_SET" /> |
Erik | 320dfc1 | 2010-03-17 16:37:18 -0700 | [diff] [blame] | 156 | <data android:scheme="content" /> |
The Android Open Source Project | 146de36 | 2009-03-03 19:32:18 -0800 | [diff] [blame] | 157 | </intent-filter> |
| 158 | </receiver> |
| 159 | |
Mason Tang | 23e7da3 | 2010-07-27 15:24:02 -0700 | [diff] [blame] | 160 | <service android:name=".alerts.AlertService" /> |
The Android Open Source Project | 146de36 | 2009-03-03 19:32:18 -0800 | [diff] [blame] | 161 | |
Mason Tang | 23e7da3 | 2010-07-27 15:24:02 -0700 | [diff] [blame] | 162 | <service android:name=".alerts.DismissAllAlarmsService" /> |
The Android Open Source Project | 3cfe2e5 | 2009-03-13 13:04:24 -0700 | [diff] [blame] | 163 | |
Mason Tang | bb3f08a | 2010-06-22 17:03:54 -0700 | [diff] [blame] | 164 | <!-- Declarations for the widget --> |
Mason Tang | 9a3cb14 | 2010-07-27 12:16:41 -0700 | [diff] [blame] | 165 | <receiver android:name=".widget.CalendarAppWidgetProvider" android:label="@string/gadget_title"> |
Mason Tang | bb3f08a | 2010-06-22 17:03:54 -0700 | [diff] [blame] | 166 | <intent-filter> |
| 167 | <action android:name="android.appwidget.action.APPWIDGET_UPDATE" /> |
| 168 | <action android:name="com.android.calendar.APPWIDGET_UPDATE" /> |
| 169 | </intent-filter> |
| 170 | <meta-data android:name="android.appwidget.provider" android:resource="@xml/appwidget_info" /> |
| 171 | </receiver> |
| 172 | |
RoboErik | f141620 | 2011-08-09 15:44:14 -0700 | [diff] [blame] | 173 | <receiver android:name=".widget.CalendarAppWidgetService$CalendarFactory"> |
| 174 | <intent-filter> |
| 175 | <action android:name="android.intent.action.TIMEZONE_CHANGED"/> |
| 176 | <action android:name="android.intent.action.DATE_CHANGED"/> |
| 177 | <action android:name="android.intent.action.TIME_SET"/> |
| 178 | </intent-filter> |
| 179 | <intent-filter> |
| 180 | <action android:name="android.intent.action.PROVIDER_CHANGED"/> |
| 181 | <data android:scheme="content"/> |
| 182 | <data android:host="com.android.calendar"/> |
| 183 | </intent-filter> |
| 184 | <intent-filter> |
| 185 | <action android:name="com.android.calendar.APPWIDGET_SCHEDULED_UPDATE"/> |
| 186 | <data android:scheme="content"/> |
| 187 | <data android:host="com.android.calendar"/> |
RoboErik | 4c94fb5 | 2011-08-16 13:04:04 -0700 | [diff] [blame^] | 188 | <data android:mimeType="vnd.android.data/update" /> |
RoboErik | f141620 | 2011-08-09 15:44:14 -0700 | [diff] [blame] | 189 | </intent-filter> |
| 190 | </receiver> |
| 191 | |
Michael Chan | b9b34ea | 2011-03-03 16:12:29 -0800 | [diff] [blame] | 192 | <service android:name=".widget.CalendarAppWidgetService" |
RoboErik | f141620 | 2011-08-09 15:44:14 -0700 | [diff] [blame] | 193 | android:permission="android.permission.BIND_REMOTEVIEWS" |
| 194 | android:exported="false"/> |
Mason Tang | bb3f08a | 2010-06-22 17:03:54 -0700 | [diff] [blame] | 195 | |
The Android Open Source Project | 146de36 | 2009-03-03 19:32:18 -0800 | [diff] [blame] | 196 | <activity android:name="CalendarTests" android:label="Calendar Tests"> |
| 197 | <intent-filter> |
| 198 | <action android:name="android.intent.action.MAIN" /> |
| 199 | <category android:name="android.intent.category.UNIT_TEST" /> |
| 200 | </intent-filter> |
| 201 | </activity> |
Michael Chan | bed0275 | 2010-04-27 10:56:53 -0700 | [diff] [blame] | 202 | |
| 203 | <service android:name=".AsyncQueryServiceHelper" /> |
| 204 | |
The Android Open Source Project | 146de36 | 2009-03-03 19:32:18 -0800 | [diff] [blame] | 205 | </application> |
| 206 | </manifest> |
| 207 | |