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