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