auto import from //branches/cupcake_rel/...@140373
[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"
56             android:exported="true" />
57         
58         <activity android:name="EditEvent" android:label="@string/event_edit_title"
59             android:theme="@android:style/Theme.Light"
60             android:configChanges="orientation|keyboardHidden">
61             
62             <intent-filter>
63                 <action android:name="android.intent.action.EDIT" />
64                 <category android:name="android.intent.category.DEFAULT" />
65                 <data android:mimeType="vnd.android.cursor.item/event" />
66             </intent-filter>
67         </activity>
68         
69         <activity android:name="EventInfoActivity" android:label="@string/event_info_title"
70             android:theme="@android:style/Theme.Light.NoTitleBar"
71             android:configChanges="orientation|keyboardHidden">
72             
73             <intent-filter>
74                 <action android:name="android.intent.action.VIEW" />
75                 <category android:name="android.intent.category.DEFAULT" />
76                 <data android:mimeType="vnd.android.cursor.item/event" />
77             </intent-filter>
78         </activity>
79         <activity android:name="SelectCalendarsActivity" android:label="@string/calendars_title" />
80         <activity android:name="CalendarPreferenceActivity" android:label="@string/preferences_title" />
81         <activity android:name="AlertActivity" android:launchMode="singleInstance"
82              android:theme="@android:style/Theme.Light" android:excludeFromRecents="true" />
83         <receiver android:name="AlertReceiver">
84             <intent-filter>
85                 <action android:name="android.intent.action.EVENT_REMINDER" />
86                 <data android:mimeType="vnd.android.cursor.item/calendar-alert" />
87             </intent-filter>
88             <intent-filter>
89                 <action android:name="android.intent.action.BOOT_COMPLETED" />
90                 <action android:name="android.intent.action.TIME_SET" />
91             </intent-filter>
92         </receiver>
93
94         <service android:name="AlertService" />
95
96         <service android:name="DismissAllAlarmsService" />
97
98         <activity android:name="CalendarTests" android:label="Calendar Tests">
99             <intent-filter>
100                  <action android:name="android.intent.action.MAIN" />
101                  <category android:name="android.intent.category.UNIT_TEST" />
102             </intent-filter>
103         </activity>
104     </application>
105 </manifest>
106