OSDN Git Service

resolved conflicts for merge of e2285895 to master
[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
10     <application android:label="@string/app_label"
11                  android:icon="@drawable/ic_launcher_alarmclock">
12
13         <provider android:name="AlarmProvider" android:authorities="com.android.alarmclock" />
14
15         <activity android:name="AlarmClock" android:label="@string/app_label">
16             <intent-filter>
17                 <action android:name="android.intent.action.MAIN" />
18                 <category android:name="android.intent.category.DEFAULT" />
19                 <category android:name="android.intent.category.LAUNCHER" />
20             </intent-filter>
21         </activity>
22
23         <activity android:name="SettingsActivity" android:label="@string/settings">
24             <intent-filter>
25                 <action android:name="android.intent.action.MAIN" />
26             </intent-filter>
27         </activity>
28
29         <activity android:name="SetAlarm" android:label="@string/set_alarm"
30                 android:configChanges="orientation|keyboardHidden|keyboard|navigation" />
31
32         <activity android:name="AlarmAlert"
33                 android:excludeFromRecents="true"
34                 android:theme="@style/alarm_alert"
35                 android:launchMode="singleTask"
36                 android:taskAffinity=":AlarmAlert"
37                 android:screenOrientation="portrait"
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:screenOrientation="portrait"
49                 android:configChanges="orientation|keyboardHidden|keyboard|navigation"/>
50
51         <activity android:name="ClockPicker" />
52
53         <receiver android:name="AlarmReceiver">
54             <intent-filter>
55                <action android:name="com.android.alarmclock.ALARM_ALERT" />
56             </intent-filter>
57         </receiver>
58
59         <receiver android:name="AlarmInitReceiver">
60             <intent-filter>
61                 <action android:name="android.intent.action.BOOT_COMPLETED" />
62                 <action android:name="android.intent.action.TIME_SET" />
63                 <action android:name="android.intent.action.TIMEZONE_CHANGED" />
64             </intent-filter>
65         </receiver>
66
67         <receiver android:name="AnalogAppWidgetProvider" android:label="@string/analog_gadget">
68             <intent-filter>
69                 <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
70             </intent-filter>
71             <meta-data android:name="android.appwidget.provider" android:resource="@xml/analog_appwidget" />
72         </receiver>
73     </application>
74 </manifest>
75