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