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