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 ** 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 10 ** 11 ** http://www.apache.org/licenses/LICENSE-2.0 12 ** 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 17 ** limitations under the License. 18 */ 19 --> 20 <manifest xmlns:android="http://schemas.android.com/apk/res/android" 21 package="com.android.calendar" 22 android:sharedUserLabel="@string/app_label"> 23 24 <!-- 25 NOTE: and original-package cannot be used, since the Eclair 26 version was using a shared user ID with the provider. 27 --> 28 29 <uses-permission android:name="android.permission.GET_ACCOUNTS" /> 30 <uses-permission android:name="android.permission.MANAGE_ACCOUNTS"/> 31 <uses-permission android:name="android.permission.INTERNET" /> 32 <uses-permission android:name="android.permission.VIBRATE"/> 33 <uses-permission android:name="android.permission.READ_CONTACTS"/> 34 <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" /> 37 <uses-permission android:name="android.permission.USE_CREDENTIALS" /> 38 <uses-permission android:name="android.permission.READ_SYNC_SETTINGS" /> 39 <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> 40 <uses-permission android:name="com.google.android.googleapps.permission.GOOGLE_AUTH.mail" /> 41 <uses-sdk android:minSdkVersion="15" android:targetSdkVersion="18"></uses-sdk> 42 43 <application android:name="CalendarApplication" 44 android:label="@string/app_label" android:icon="@mipmap/ic_launcher_calendar" 45 android:taskAffinity="android.task.calendar" 46 android:hardwareAccelerated="true" 47 android:backupAgent="com.android.calendar.CalendarBackupAgent" 48 android:requiredAccountType="*" > 49 50 <meta-data android:name="com.google.android.backup.api_key" 51 android:value="AEdPqrEAAAAIM256oVOGnuSel5QKDpL8je_T65ZI8rFnDinssA" /> 52 53 <activity 54 android:name="AllInOneActivity" 55 android:theme="@style/CalendarTheme.WithActionBar" 56 android:launchMode="singleTask" 57 android:windowSoftInputMode="adjustPan" 58 android:exported="true"> 59 <intent-filter> 60 <action android:name="android.intent.action.MAIN" /> 61 <category android:name="android.intent.category.DEFAULT" /> 62 <category android:name="android.intent.category.LAUNCHER" /> 63 <category android:name="android.intent.category.APP_CALENDAR" /> 64 </intent-filter> 65 <intent-filter> 66 <action android:name="android.intent.action.VIEW" /> 67 <category android:name="android.intent.category.DEFAULT" /> 68 <data android:mimeType="time/epoch" /> 69 <data android:host="com.android.calendar" /> 70 <data android:scheme="content"/> 71 </intent-filter> 72 </activity> 73 74 <activity-alias android:name="LaunchActivity" 75 android:targetActivity=".AllInOneActivity" 76 android:exported="true"> 77 </activity-alias> 78 79 <activity android:name="EventInfoActivity" 80 android:parentActivityName="com.android.calendar.AllInOneActivity" 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 <intent-filter> 87 <action android:name="android.intent.action.VIEW" /> 88 <category android:name="android.intent.category.DEFAULT" /> 89 <data android:mimeType="vnd.android.cursor.item/event" /> 90 </intent-filter> 91 <meta-data android:name="android.support.PARENT_ACTIVITY" 92 android:value="com.android.calendar.AllInOneActivity" /> 93 </activity> 94 95 <activity android:name=".event.EditEventActivity" 96 android:theme="@style/CalendarTheme.WithActionBar"> 97 </activity> 98 99 <activity-alias android:name="EditEventActivity" 100 android:targetActivity=".event.EditEventActivity" 101 android:exported="true"> 102 <intent-filter> 103 <action android:name="android.intent.action.EDIT" /> 104 <action android:name="android.intent.action.INSERT" /> 105 <category android:name="android.intent.category.DEFAULT" /> 106 <data android:mimeType="vnd.android.cursor.item/event" /> 107 </intent-filter> 108 <intent-filter> 109 <action android:name="android.intent.action.EDIT" /> 110 <action android:name="android.intent.action.INSERT" /> 111 <category android:name="android.intent.category.DEFAULT" /> 112 <data android:mimeType="vnd.android.cursor.dir/event" /> 113 </intent-filter> 114 </activity-alias> 115 116 <activity android:name="GoogleCalendarUriIntentFilter" android:label="@string/app_label" 117 android:theme="@android:style/Theme.NoDisplay" 118 android:configChanges="orientation|keyboardHidden"> 119 120 <intent-filter 121 android:priority="50"> 122 <action android:name="android.intent.action.VIEW" /> 123 <category android:name="android.intent.category.DEFAULT" /> 124 <category android:name="android.intent.category.BROWSABLE" /> 125 <data android:scheme="http" android:host="www.google.com" android:pathPrefix="/calendar/event" /> 126 <data android:scheme="https" android:host="www.google.com" android:pathPrefix="/calendar/event" /> 127 <data android:scheme="http" android:host="www.google.com" android:pathPattern="/calendar/hosted/.*/event" /> 128 <data android:scheme="https" android:host="www.google.com" android:pathPattern="/calendar/hosted/.*/event" /> 129 </intent-filter> 130 </activity> 131 132 <activity android:name=".selectcalendars.SelectVisibleCalendarsActivity" 133 android:label="@string/select_visible_calendars_title" 134 android:theme="@android:style/Theme.Holo.Light"/> 135 136 <activity android:name=".selectcalendars.SelectSyncedCalendarsMultiAccountActivity" 137 android:label="@string/select_synced_calendars_title" 138 android:theme="@android:style/Theme.Holo.Light"/> 139 140 <activity android:name="CalendarSettingsActivity" android:label="@string/preferences_title" 141 android:theme="@android:style/Theme.Holo.Light"/> 142 143 <!-- Declarations for search --> 144 <!-- Make all activities a searchable context --> 145 <meta-data android:name="android.app.default_searchable" 146 android:value="com.android.calendar.SearchActivity"/> 147 148 <activity android:name="SearchActivity" android:label="@string/search_title" 149 android:launchMode="singleTop" android:theme="@style/CalendarTheme.WithActionBar" 150 android:windowSoftInputMode="stateAlwaysHidden" 151 android:exported="true"> 152 <intent-filter> 153 <action android:name="android.intent.action.SEARCH"/> 154 </intent-filter> 155 <meta-data android:name="android.app.searchable" android:resource="@xml/searchable"/> 156 </activity> 157 158 <provider android:name=".CalendarRecentSuggestionsProvider" 159 android:exported="false" 160 android:authorities="com.android.calendar.CalendarRecentSuggestionsProvider" /> 161 162 <!-- Declarations for alerts/reminders --> 163 <activity android:name=".alerts.AlertActivity" android:launchMode="singleInstance" 164 android:theme="@android:style/Theme.Holo.Dialog" android:excludeFromRecents="true" /> 165 166 <activity android:name=".alerts.QuickResponseActivity" android:launchMode="singleInstance" 167 android:theme="@android:style/Theme.Holo.Dialog" android:excludeFromRecents="true" 168 android:label="@string/quick_response_dialog_title" /> 169 170 <receiver android:name=".alerts.AlertReceiver"> 171 <intent-filter> 172 <action android:name="android.intent.action.EVENT_REMINDER" /> 173 <action android:name="android.intent.action.TIME_SET" /> 174 <data android:scheme="content" /> 175 </intent-filter> 176 <intent-filter> 177 <action android:name="android.intent.action.BOOT_COMPLETED" /> 178 </intent-filter> 179 <intent-filter> 180 <action android:name="android.intent.action.LOCALE_CHANGED" /> 181 </intent-filter> 182 <intent-filter> 183 <action android:name="android.intent.action.PROVIDER_CHANGED"/> 184 <data android:scheme="content"/> 185 <data android:host="com.android.calendar"/> 186 </intent-filter> 187 </receiver> 188 189 <receiver android:name=".alerts.GlobalDismissManager" 190 android:exported="false" /> 191 192 <service android:name=".alerts.AlertService" /> 193 194 <service android:name=".alerts.DismissAlarmsService" /> 195 196 <service android:name=".alerts.SnoozeAlarmsService" /> 197 198 <service android:name=".alerts.InitAlarmsService" /> 199 200 <!-- Declarations for the widget --> 201 <receiver android:name=".widget.CalendarAppWidgetProvider" android:label="@string/gadget_title"> 202 <intent-filter> 203 <action android:name="android.appwidget.action.APPWIDGET_UPDATE" /> 204 <action android:name="com.android.calendar.APPWIDGET_UPDATE" /> 205 </intent-filter> 206 <meta-data android:name="android.appwidget.provider" android:resource="@xml/appwidget_info" /> 207 </receiver> 208 209 <receiver android:name=".widget.CalendarAppWidgetService$CalendarFactory"> 210 <intent-filter> 211 <action android:name="android.intent.action.TIMEZONE_CHANGED"/> 212 <action android:name="android.intent.action.DATE_CHANGED"/> 213 <action android:name="android.intent.action.TIME_SET"/> 214 <action android:name="android.intent.action.LOCALE_CHANGED"/> 215 </intent-filter> 216 <intent-filter> 217 <action android:name="android.intent.action.PROVIDER_CHANGED"/> 218 <data android:scheme="content"/> 219 <data android:host="com.android.calendar"/> 220 </intent-filter> 221 <intent-filter> 222 <action android:name="com.android.calendar.APPWIDGET_SCHEDULED_UPDATE"/> 223 <data android:scheme="content"/> 224 <data android:host="com.android.calendar"/> 225 <data android:mimeType="vnd.android.data/update" /> 226 </intent-filter> 227 </receiver> 228 229 <service android:name=".widget.CalendarAppWidgetService" 230 android:permission="android.permission.BIND_REMOTEVIEWS" 231 android:exported="false"> 232 </service> 233 234 <service android:name=".AsyncQueryServiceHelper" /> 235 236 </application> 237 </manifest> 238 239