revive a hack that creates a local calendar if the google account authenticator is...
[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_CONTACTS"/>
28     <uses-permission android:name="android.permission.READ_CALENDAR" />
29     <uses-permission android:name="android.permission.WRITE_CALENDAR" />
30     <uses-permission android:name="android.permission.WAKE_LOCK" />
31     <uses-permission android:name="android.permission.USE_CREDENTIALS" />
32     <uses-permission android:name="com.google.android.googleapps.permission.GOOGLE_AUTH.mail" />
33
34     <application android:name="CalendarApplication"
35             android:label="@string/app_label" android:icon="@drawable/app_icon"
36             android:taskAffinity="android.task.calendar">
37         <!-- TODO: Remove dependency of application on the test runner
38              (android.test) library. -->
39         <uses-library android:name="android.test.runner" />
40
41         <activity android:name="LaunchActivity"
42             android:theme="@android:style/Theme.NoDisplay">
43             <intent-filter>
44                 <action android:name="android.intent.action.MAIN" />
45                 <category android:name="android.intent.category.DEFAULT" />
46                 <category android:name="android.intent.category.LAUNCHER" />
47             </intent-filter>
48         </activity>
49
50         <activity android:name="MonthActivity" android:label="@string/month_view"
51             android:theme="@style/CalendarTheme" />
52         <activity android:name="WeekActivity" android:label="@string/week_view"
53             android:theme="@style/CalendarTheme" />
54         <activity android:name="DayActivity" android:label="@string/day_view"
55             android:theme="@style/CalendarTheme" />
56         <activity android:name="AgendaActivity" android:label="@string/agenda_view" 
57             android:theme="@android:style/Theme.Light"
58             android:exported="true" />
59         
60         <activity android:name="EditEvent" android:label="@string/event_edit_title"
61             android:theme="@android:style/Theme"
62             android:configChanges="orientation|keyboardHidden">
63             
64             <intent-filter>
65                 <action android:name="android.intent.action.EDIT" />
66                 <category android:name="android.intent.category.DEFAULT" />
67                 <data android:mimeType="vnd.android.cursor.item/event" />
68             </intent-filter>
69         </activity>
70         
71         <activity android:name="EventInfoActivity" android:label="@string/event_info_title"
72             android:theme="@android:style/Theme.Light"
73             android:configChanges="orientation|keyboardHidden">
74             
75             <intent-filter>
76                 <action android:name="android.intent.action.VIEW" />
77                 <category android:name="android.intent.category.DEFAULT" />
78                 <data android:mimeType="vnd.android.cursor.item/event" />
79             </intent-filter>
80         </activity>
81
82         <activity android:name="GoogleCalendarUriIntentFilter" android:label="@string/app_label"
83             android:theme="@android:style/Theme.Light"
84             android:configChanges="orientation|keyboardHidden">
85
86             <intent-filter>
87                <action android:name="android.intent.action.VIEW" />
88                <category android:name="android.intent.category.DEFAULT" />
89                <category android:name="android.intent.category.BROWSABLE" />
90                <data android:scheme="http" android:host="www.google.com" android:pathPrefix="/calendar/event" />
91                <data android:scheme="https" android:host="www.google.com" android:pathPrefix="/calendar/event" />
92                <data android:scheme="http" android:host="www.google.com" android:pathPattern="/calendar/hosted/.*/event" />
93                <data android:scheme="https" android:host="www.google.com" android:pathPattern="/calendar/hosted/.*/event" />
94             </intent-filter>
95         </activity>
96
97         <activity android:name="SelectCalendarsActivity" android:label="@string/calendars_title" />
98         <activity android:name="CalendarPreferenceActivity" android:label="@string/preferences_title" />
99         <activity android:name="AlertActivity" android:launchMode="singleInstance"
100              android:theme="@android:style/Theme.Light" android:excludeFromRecents="true" />
101         <receiver android:name="AlertReceiver">
102             <intent-filter>
103                 <action android:name="android.intent.action.EVENT_REMINDER" />
104                 <data android:mimeType="vnd.android.cursor.item/calendar-alert" />
105             </intent-filter>
106             <intent-filter>
107                 <action android:name="android.intent.action.BOOT_COMPLETED" />
108                 <action android:name="android.intent.action.TIME_SET" />
109             </intent-filter>
110         </receiver>
111
112         <service android:name="AlertService" />
113
114         <service android:name="DismissAllAlarmsService" />
115
116         <activity android:name="CalendarTests" android:label="Calendar Tests">
117             <intent-filter>
118                  <action android:name="android.intent.action.MAIN" />
119                  <category android:name="android.intent.category.UNIT_TEST" />
120             </intent-filter>
121         </activity>
122     </application>
123 </manifest>
124