OSDN Git Service

am 6b74f6f5: Revert the AlarmAlert to a rotatable activity.
[android-x86/packages-apps-DeskClock.git] / AndroidManifest.xml
1 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
2         package="com.android.alarmclock">
3
4     <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
5     <uses-permission android:name="android.permission.WAKE_LOCK"/>
6     <uses-permission android:name="android.permission.VIBRATE"/>
7     <uses-permission android:name="android.permission.WRITE_SETTINGS" />
8     <uses-permission android:name="android.permission.DISABLE_KEYGUARD" />
9     <uses-permission android:name="android.permission.READ_PHONE_STATE" />
10
11     <application android:label="@string/app_label"
12                  android:icon="@drawable/ic_launcher_alarmclock">
13
14         <provider android:name="AlarmProvider" android:authorities="com.android.alarmclock" />
15
16         <activity android:name="AlarmClock" android:label="@string/app_label">
17             <intent-filter>
18                 <action android:name="android.intent.action.MAIN" />
19                 <category android:name="android.intent.category.DEFAULT" />
20                 <category android:name="android.intent.category.LAUNCHER" />
21             </intent-filter>
22         </activity>
23
24         <activity android:name="SettingsActivity" android:label="@string/settings">
25             <intent-filter>
26                 <action android:name="android.intent.action.MAIN" />
27             </intent-filter>
28         </activity>
29
30         <activity android:name="SetAlarm" android:label="@string/set_alarm"
31                 android:configChanges="orientation|keyboardHidden|keyboard|navigation" />
32
33         <activity android:name="AlarmAlert"
34                 android:excludeFromRecents="true"
35                 android:theme="@style/alarm_alert"
36                 android:launchMode="singleTask"
37                 android:taskAffinity=":AlarmAlert"
38                 android:configChanges="orientation|keyboardHidden|keyboard|navigation"/>
39
40         <!-- This activity is basically the same as AlarmAlert but with a more
41              generic theme. It also shows as full screen (with status bar) but
42              with the wallpaper background. -->
43         <activity android:name="AlarmAlertFullScreen"
44                 android:excludeFromRecents="true"
45                 android:theme="@android:style/Theme.NoTitleBar"
46                 android:launchMode="singleTask"
47                 android:taskAffinity=":AlarmAlert"
48                 android:configChanges="orientation|keyboardHidden|keyboard|navigation"/>
49
50         <activity android:name="ClockPicker" />
51
52         <receiver android:name="AlarmReceiver">
53             <intent-filter>
54                <action android:name="com.android.alarmclock.ALARM_ALERT" />
55                <action android:name="alarm_killed" />
56                <action android:name="cancel_snooze" />
57             </intent-filter>
58         </receiver>
59
60         <!-- This service receives the same intent as AlarmReceiver but it does
61              not respond to the same broadcast. The AlarmReceiver will receive
62              the alert broadcast and will start this service with the same
63              intent. The service plays the alarm alert and vibrates the device.
64              This allows the alert to continue playing even if another activity
65              causes the AlarmAlert activity to pause. -->
66         <service android:name="AlarmKlaxon">
67             <intent-filter>
68                 <action android:name="com.android.alarmclock.ALARM_ALERT" />
69             </intent-filter>
70         </service>
71
72         <receiver android:name="AlarmInitReceiver">
73             <intent-filter>
74                 <action android:name="android.intent.action.BOOT_COMPLETED" />
75                 <action android:name="android.intent.action.TIME_SET" />
76                 <action android:name="android.intent.action.TIMEZONE_CHANGED" />
77             </intent-filter>
78         </receiver>
79
80         <receiver android:name="AnalogAppWidgetProvider" android:label="@string/analog_gadget">
81             <intent-filter>
82                 <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
83             </intent-filter>
84             <meta-data android:name="android.appwidget.provider" android:resource="@xml/analog_appwidget" />
85         </receiver>
86     </application>
87 </manifest>
88