OSDN Git Service

Merge commit 'goog/readonly-korg-master' into merge_korg_master
[android-x86/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             android:clearTaskOnLaunch="true">
42             <intent-filter>
43                 <action android:name="android.intent.action.MAIN" />
44                 <category android:name="android.intent.category.DEFAULT" />
45                 <category android:name="android.intent.category.LAUNCHER" />
46             </intent-filter>
47         </activity>
48
49         <activity android:name="MonthActivity" android:label="@string/month_view"
50             android:theme="@style/CalendarTheme" />
51         <activity android:name="WeekActivity" android:label="@string/week_view"
52             android:theme="@style/CalendarTheme" />
53         <activity android:name="DayActivity" android:label="@string/day_view"
54             android:theme="@style/CalendarTheme" />
55         <activity android:name="AgendaActivity" android:label="@string/agenda_view" 
56             android:theme="@android:style/Theme.Light"
57             android:exported="true" />
58         
59         <activity android:name="EditEvent" android:label="@string/event_edit_title"
60             android:theme="@android:style/Theme.Light"
61             android:configChanges="orientation|keyboardHidden">
62             
63             <intent-filter>
64                 <action android:name="android.intent.action.EDIT" />
65                 <category android:name="android.intent.category.DEFAULT" />
66                 <data android:mimeType="vnd.android.cursor.item/event" />
67             </intent-filter>
68         </activity>
69         
70         <activity android:name="EventInfoActivity" android:label="@string/event_info_title"
71             android:theme="@android:style/Theme.Light"
72             android:configChanges="orientation|keyboardHidden">
73             
74             <intent-filter>
75                 <action android:name="android.intent.action.VIEW" />
76                 <category android:name="android.intent.category.DEFAULT" />
77                 <data android:mimeType="vnd.android.cursor.item/event" />
78             </intent-filter>
79         </activity>
80
81         <activity android:name="GoogleCalendarUriIntentFilter" android:label="@string/event_info_title"
82             android:theme="@android:style/Theme.Light"
83             android:configChanges="orientation|keyboardHidden">
84
85             <intent-filter>
86                <action android:name="android.intent.action.VIEW" />
87                <category android:name="android.intent.category.DEFAULT" />
88                <category android:name="android.intent.category.BROWSABLE" />
89                <data android:scheme="http" android:host="www.google.com" android:pathPrefix="/calendar/event" />
90                <data android:scheme="https" android:host="www.google.com" android:pathPrefix="/calendar/event" />
91                <data android:scheme="http" android:host="www.google.com" android:pathPattern="/calendar/hosted/.*/event" />
92                <data android:scheme="https" android:host="www.google.com" android:pathPattern="/calendar/hosted/.*/event" />
93             </intent-filter>
94         </activity>
95
96         <activity android:name="SelectCalendarsActivity" android:label="@string/calendars_title" />
97         <activity android:name="CalendarPreferenceActivity" android:label="@string/preferences_title" />
98         <activity android:name="AlertActivity" android:launchMode="singleInstance"
99              android:theme="@android:style/Theme.Light" android:excludeFromRecents="true" />
100         <receiver android:name="AlertReceiver">
101             <intent-filter>
102                 <action android:name="android.intent.action.EVENT_REMINDER" />
103                 <data android:mimeType="vnd.android.cursor.item/calendar-alert" />
104             </intent-filter>
105             <intent-filter>
106                 <action android:name="android.intent.action.BOOT_COMPLETED" />
107                 <action android:name="android.intent.action.TIME_SET" />
108             </intent-filter>
109         </receiver>
110
111         <service android:name="AlertService" />
112
113         <service android:name="DismissAllAlarmsService" />
114
115         <activity android:name="CalendarTests" android:label="Calendar Tests">
116             <intent-filter>
117                  <action android:name="android.intent.action.MAIN" />
118                  <category android:name="android.intent.category.UNIT_TEST" />
119             </intent-filter>
120         </activity>
121     </application>
122 </manifest>
123