OSDN Git Service

Merge the fullscreen change from master to donut for security.
[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
31         <activity android:name="AlarmAlert"
32                 android:excludeFromRecents="true"
33                 android:theme="@style/alarm_alert"
34                 android:launchMode="singleTask"
35                 android:taskAffinity=":AlarmAlert"
36                 android:screenOrientation="portrait"
37                 android:configChanges="orientation|keyboardHidden|keyboard|navigation"/>
38
39         <!-- This activity is basically the same as AlarmAlert but with a more
40              generic theme. It also shows as full screen (with status bar) but
41              with the wallpaper background. -->
42         <activity android:name="AlarmAlertFullScreen"
43                 android:excludeFromRecents="true"
44                 android:theme="@android:style/Theme.NoTitleBar"
45                 android:launchMode="singleTask"
46                 android:taskAffinity=":AlarmAlert"
47                 android:screenOrientation="portrait"
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             </intent-filter>
56         </receiver>
57
58         <receiver android:name="AlarmInitReceiver">
59             <intent-filter>
60                 <action android:name="android.intent.action.BOOT_COMPLETED" />
61                 <action android:name="android.intent.action.TIME_SET" />
62                 <action android:name="android.intent.action.TIMEZONE_CHANGED" />
63             </intent-filter>
64         </receiver>
65
66         <receiver android:name="AnalogAppWidgetProvider" android:label="@string/analog_gadget">
67             <intent-filter>
68                 <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
69             </intent-filter>
70             <meta-data android:name="android.appwidget.provider" android:resource="@xml/analog_appwidget" />
71         </receiver>
72     </application>
73 </manifest>
74