1 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
2 package="com.android.deskclock">
4 <original-package android:name="com.android.alarmclock" />
5 <original-package android:name="com.android.deskclock" />
7 <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
8 <uses-permission android:name="android.permission.WAKE_LOCK"/>
9 <uses-permission android:name="android.permission.VIBRATE"/>
10 <uses-permission android:name="android.permission.WRITE_SETTINGS" />
11 <uses-permission android:name="android.permission.DISABLE_KEYGUARD" />
12 <uses-permission android:name="android.permission.READ_PHONE_STATE" />
13 <uses-permission android:name="android.permission.DEVICE_POWER" />
15 <application android:label="@string/app_label"
16 android:icon="@drawable/ic_launcher_alarmclock">
18 <provider android:name="AlarmProvider" android:authorities="com.android.deskclock" />
20 <activity android:name="DeskClock"
21 android:label="@string/app_label"
22 android:theme="@android:style/Theme.Wallpaper.NoTitleBar"
23 android:icon="@drawable/ic_launcher_alarmclock"
24 android:launchMode="singleInstance"
25 android:configChanges="orientation|keyboardHidden|keyboard|navigation">
28 <!-- while docked, this is our home application -->
29 <meta-data android:name="android.dock_home" android:value="true" />
32 <action android:name="android.intent.action.MAIN" />
33 <category android:name="android.intent.category.DEFAULT" />
34 <category android:name="android.intent.category.LAUNCHER" />
35 <category android:name="android.intent.category.DESK_DOCK" />
39 <activity android:name="AlarmClock"
40 android:label="@string/alarm_list_title"
41 android:taskAffinity=""
42 android:excludeFromRecents="true"
43 android:configChanges="orientation|keyboardHidden|keyboard|navigation"
46 <action android:name="android.intent.action.MAIN" />
50 <activity android:name="SettingsActivity"
51 android:label="@string/settings"
52 android:taskAffinity=""
53 android:excludeFromRecents="true"
56 <action android:name="android.intent.action.MAIN" />
60 <activity android:name="SetAlarm" android:label="@string/set_alarm"
61 android:configChanges="orientation|keyboardHidden|keyboard|navigation" />
63 <activity android:name="AlarmAlert"
64 android:excludeFromRecents="true"
65 android:theme="@style/alarm_alert"
66 android:launchMode="singleInstance"
67 android:taskAffinity=""
68 android:configChanges="orientation|keyboardHidden|keyboard|navigation"/>
70 <!-- This activity is basically the same as AlarmAlert but with a more
71 generic theme. It also shows as full screen (with status bar) but
72 with the wallpaper background. -->
73 <activity android:name="AlarmAlertFullScreen"
74 android:excludeFromRecents="true"
75 android:theme="@android:style/Theme.Wallpaper.NoTitleBar"
76 android:launchMode="singleInstance"
77 android:taskAffinity=""
78 android:configChanges="orientation|keyboardHidden|keyboard|navigation"/>
80 <receiver android:name="AlarmReceiver">
82 <action android:name="com.android.deskclock.ALARM_ALERT" />
83 <action android:name="alarm_killed" />
84 <action android:name="cancel_snooze" />
88 <!-- This service receives the same intent as AlarmReceiver but it does
89 not respond to the same broadcast. The AlarmReceiver will receive
90 the alert broadcast and will start this service with the same
91 intent. The service plays the alarm alert and vibrates the device.
92 This allows the alert to continue playing even if another activity
93 causes the AlarmAlert activity to pause. -->
94 <service android:name="AlarmKlaxon">
96 <action android:name="com.android.deskclock.ALARM_ALERT" />
100 <receiver android:name="AlarmInitReceiver">
102 <action android:name="android.intent.action.BOOT_COMPLETED" />
103 <action android:name="android.intent.action.TIME_SET" />
104 <action android:name="android.intent.action.TIMEZONE_CHANGED" />
105 <action android:name="android.intent.action.LOCALE_CHANGED" />
109 <receiver android:name="com.android.alarmclock.AnalogAppWidgetProvider" android:label="@string/analog_gadget"
110 android:icon="@drawable/ic_widget_analog_clock">
112 <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
114 <meta-data android:name="android.appwidget.oldName" android:value="com.android.deskclock.AnalogAppWidgetProvider" />
115 <meta-data android:name="android.appwidget.provider" android:resource="@xml/analog_appwidget" />