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