auto import from //depot/cupcake/@132589
[android/platform/packages/apps/Calendar.git] / AndroidManifest.xml
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:sharedUserId="android.uid.calendar"
23         android:sharedUserLabel="@string/app_label">
24
25     <uses-permission android:name="android.permission.INTERNET" />
26     <uses-permission android:name="android.permission.VIBRATE"/>
27     <uses-permission android:name="android.permission.READ_CALENDAR" />
28     <uses-permission android:name="android.permission.WRITE_CALENDAR" />
29     <uses-permission android:name="android.permission.WAKE_LOCK" />
30     <uses-permission android:name="com.google.android.googleapps.permission.GOOGLE_AUTH.mail" />
31
32     <application android:name="CalendarApplication"
33             android:label="@string/app_label" android:icon="@drawable/app_icon"
34             android:taskAffinity="android.task.calendar">
35         <!-- TODO: Remove dependency of application on the test runner
36              (android.test) library. -->
37         <uses-library android:name="android.test.runner" />
38
39         <activity android:name="LaunchActivity"
40             android:theme="@android:style/Theme.Light">
41             <intent-filter>
42                 <action android:name="android.intent.action.MAIN" />
43                 <category android:name="android.intent.category.DEFAULT" />
44                 <category android:name="android.intent.category.LAUNCHER" />
45             </intent-filter>
46         </activity>
47
48         <activity android:name="MonthActivity" android:label="@string/month_view"
49             android:theme="@android:style/Theme.Light.NoTitleBar" />
50         <activity android:name="WeekActivity" android:label="@string/week_view"
51             android:theme="@android:style/Theme.Light.NoTitleBar" />
52         <activity android:name="DayActivity" android:label="@string/day_view"
53             android:theme="@android:style/Theme.Light.NoTitleBar" />
54         <activity android:name="AgendaActivity" android:label="@string/agenda_view" 
55             android:theme="@android:style/Theme.Light.NoTitleBar" />
56         
57         <activity android:name="EditEvent" android:label="@string/event_edit_title"
58             android:theme="@android:style/Theme.Light"
59             android:configChanges="orientation|keyboardHidden">
60             
61             <intent-filter>
62                 <action android:name="android.intent.action.EDIT" />
63                 <category android:name="android.intent.category.DEFAULT" />
64                 <data android:mimeType="vnd.android.cursor.item/event" />
65             </intent-filter>
66         </activity>
67         
68         <activity android:name="EventInfoActivity" android:label="@string/event_info_title"
69                 android:theme="@android:style/Theme.Light"
70             android:configChanges="orientation|keyboardHidden">
71             
72             <intent-filter>
73                 <action android:name="android.intent.action.VIEW" />
74                 <category android:name="android.intent.category.DEFAULT" />
75                 <data android:mimeType="vnd.android.cursor.item/event" />
76             </intent-filter>
77         </activity>
78         <activity android:name="SelectCalendarsActivity" android:label="@string/calendars_title" />
79         <activity android:name="CalendarPreferenceActivity" android:label="@string/preferences_title" />
80         <activity android:name="AlertActivity" android:launchMode="singleInstance"
81              android:theme="@style/Alert" android:excludeFromRecents="true" />
82         <receiver android:name="AlertReceiver">
83             <intent-filter>
84                 <action android:name="android.intent.action.EVENT_REMINDER" />
85                 <data android:mimeType="vnd.android.cursor.item/calendar-alert" />
86             </intent-filter>
87             <intent-filter>
88                 <action android:name="android.intent.action.BOOT_COMPLETED" />
89                 <action android:name="android.intent.action.TIME_SET" />
90             </intent-filter>
91         </receiver>
92
93         <service android:name="AlertService" />
94
95         <activity android:name="CalendarTests" android:label="Calendar Tests">
96             <intent-filter>
97                  <action android:name="android.intent.action.MAIN" />
98                  <category android:name="android.intent.category.UNIT_TEST" />
99             </intent-filter>
100         </activity>
101
102         <receiver android:name="CalendarGadgetProvider">
103             <intent-filter>
104                 <action android:name="android.gadget.action.GADGET_UPDATE" />
105                 <action android:name="com.android.providers.calendar.EVENTS_CHANGED" />
106             </intent-filter>
107             <meta-data android:name="android.gadget.provider" android:resource="@xml/gadget_info" />
108         </receiver>
109     </application>
110 </manifest>
111