OSDN Git Service

AI 144137: am: CL 144136 Make calendar widget correctly launch Calendar app instead...
[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         <activity android:name="SelectCalendarsActivity" android:label="@string/calendars_title" />
81         <activity android:name="CalendarPreferenceActivity" android:label="@string/preferences_title" />
82         <activity android:name="AlertActivity" android:launchMode="singleInstance"
83              android:theme="@android:style/Theme.Light" android:excludeFromRecents="true" />
84         <receiver android:name="AlertReceiver">
85             <intent-filter>
86                 <action android:name="android.intent.action.EVENT_REMINDER" />
87                 <data android:mimeType="vnd.android.cursor.item/calendar-alert" />
88             </intent-filter>
89             <intent-filter>
90                 <action android:name="android.intent.action.BOOT_COMPLETED" />
91                 <action android:name="android.intent.action.TIME_SET" />
92             </intent-filter>
93         </receiver>
94
95         <service android:name="AlertService" />
96
97         <service android:name="DismissAllAlarmsService" />
98
99         <activity android:name="CalendarTests" android:label="Calendar Tests">
100             <intent-filter>
101                  <action android:name="android.intent.action.MAIN" />
102                  <category android:name="android.intent.category.UNIT_TEST" />
103             </intent-filter>
104         </activity>
105     </application>
106 </manifest>
107