blob: 60b13316489a7bd93ac115715d843c12d59470b2 [file] [log] [blame]
The Android Open Source Project5fedae02009-03-03 19:32:15 -08001<manifest xmlns:android="http://schemas.android.com/apk/res/android"
Patrick Scott21426942010-09-28 13:13:27 -04002 package="com.android.deskclock"
Patrick Scott77f14bd2010-12-15 11:15:52 -05003 android:versionCode="203" android:versionName="2.0.3">
The Android Open Source Project5fedae02009-03-03 19:32:15 -08004
Dianne Hackborn34991f82010-03-03 16:20:05 -08005 <original-package android:name="com.android.alarmclock" />
Jeff Hamilton7e0fc7b2010-02-11 16:25:48 -06006 <original-package android:name="com.android.deskclock" />
7
The Android Open Source Project5fedae02009-03-03 19:32:15 -08008 <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
9 <uses-permission android:name="android.permission.WAKE_LOCK"/>
10 <uses-permission android:name="android.permission.VIBRATE"/>
11 <uses-permission android:name="android.permission.WRITE_SETTINGS" />
12 <uses-permission android:name="android.permission.DISABLE_KEYGUARD" />
Patrick Scott3175f152009-09-03 16:13:26 -040013 <uses-permission android:name="android.permission.READ_PHONE_STATE" />
Mike Lockwood15b30532009-11-20 11:31:49 -050014 <uses-permission android:name="android.permission.DEVICE_POWER" />
Michael Chan8cd619d2012-06-04 11:25:44 -070015 <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
Isaac Katzenelson8dcb7f82012-09-17 11:29:56 -070016 <uses-sdk android:minSdkVersion="15"></uses-sdk>
The Android Open Source Project5fedae02009-03-03 19:32:15 -080017
18 <application android:label="@string/app_label"
Ying Wang32a37e92010-11-23 11:40:16 -080019 android:icon="@mipmap/ic_launcher_alarmclock">
The Android Open Source Project5fedae02009-03-03 19:32:15 -080020
Patrick Scott6c528aa2010-09-22 09:17:29 -040021 <provider android:name="AlarmProvider"
22 android:authorities="com.android.deskclock"
23 android:exported="false" />
The Android Open Source Project5fedae02009-03-03 19:32:15 -080024
Daniel Sandlerf8317ad2009-10-20 16:51:32 -040025 <activity android:name="DeskClock"
26 android:label="@string/app_label"
Isaac Katzenelson63211ef2012-09-14 14:53:06 -070027 android:theme="@style/DeskClock"
Ying Wang32a37e92010-11-23 11:40:16 -080028 android:icon="@mipmap/ic_launcher_alarmclock"
Itzhak Katzenelson1ebbca62012-09-29 19:06:51 -070029 android:launchMode="singleTask"
Daniel Sandlerd1373322009-10-27 09:46:05 -040030 >
Daniel Sandlere6cf24d2009-11-02 16:23:52 -050031
The Android Open Source Project5fedae02009-03-03 19:32:15 -080032 <intent-filter>
33 <action android:name="android.intent.action.MAIN" />
34 <category android:name="android.intent.category.DEFAULT" />
35 <category android:name="android.intent.category.LAUNCHER" />
36 </intent-filter>
37 </activity>
38
Daniel Sandler35537542012-09-27 21:49:44 -040039 <activity-alias android:name="DockClock"
40 android:targetActivity="DeskClock"
41 android:label="@string/app_label"
42 android:theme="@style/DeskClock"
43 android:icon="@mipmap/ic_launcher_alarmclock"
44 android:launchMode="singleTask"
45 android:enabled="@bool/config_dockAppEnabled"
46 >
47 <intent-filter>
48 <action android:name="android.intent.action.MAIN" />
49 <category android:name="android.intent.category.DEFAULT" />
50 <category android:name="android.intent.category.DESK_DOCK" />
51 </intent-filter>
52 </activity-alias>
53
Daniel Sandler8423a172009-11-12 13:40:19 -080054 <activity android:name="AlarmClock"
55 android:label="@string/alarm_list_title"
Dmitri Plotnikovfb6883d2011-01-15 19:46:43 -080056 android:theme="@style/AlarmClockTheme"
Daniel Sandler8423a172009-11-12 13:40:19 -080057 android:taskAffinity=""
58 android:excludeFromRecents="true"
Chiao Cheng51193c62012-10-08 17:45:13 -070059 android:launchMode="standard"
Patrick Scottd48d77a2010-04-14 08:39:57 -040060 android:exported="true" />
61
62 <activity-alias android:name="com.android.alarmclock.AlarmClock"
63 android:targetActivity="com.android.deskclock.AlarmClock"
64 android:exported="true" />
Daniel Sandlerf8317ad2009-10-20 16:51:32 -040065
Isaac Katzenelson63211ef2012-09-14 14:53:06 -070066 <activity android:name="SettingsActivity"
67 android:label="@string/settings"
68 android:theme="@style/SettingsTheme"
69 android:taskAffinity=""
70 android:excludeFromRecents="true"
71 >
72 <intent-filter>
73 <action android:name="android.intent.action.MAIN" />
74 </intent-filter>
75 </activity>
76
Isaac Katzenelson421751e2012-09-27 10:09:06 -070077 <activity android:name=".worldclock.CitiesActivity"
78 android:label="@string/cities_activity_title"
79 android:theme="@style/SettingsTheme"
80 android:taskAffinity=""
81 android:excludeFromRecents="true"
82 >
83 <intent-filter>
84 <action android:name="android.intent.action.MAIN" />
85 </intent-filter>
86 </activity>
87
Isaac Katzenelson63211ef2012-09-14 14:53:06 -070088 <activity android:name="SetAlarm"
Dmitri Plotnikovfb6883d2011-01-15 19:46:43 -080089 android:label="@string/set_alarm"
Chiao Cheng4642e842012-10-03 19:28:32 -070090 android:theme="@style/SetAlarmTheme"/>
The Android Open Source Project5fedae02009-03-03 19:32:15 -080091
Patrick Scottf47699d2009-05-13 08:27:34 -040092 <activity android:name="AlarmAlert"
The Android Open Source Project5fedae02009-03-03 19:32:15 -080093 android:excludeFromRecents="true"
Chiao Cheng5c3795c2012-10-01 20:26:30 -070094 android:theme="@android:style/Theme.Holo"
Dianne Hackborn29dbeab2009-09-22 13:44:12 -070095 android:launchMode="singleInstance"
96 android:taskAffinity=""
Dianne Hackbornd7dbd342012-09-28 19:28:05 -070097 android:configChanges="orientation|screenSize|keyboardHidden|keyboard|navigation"/>
Patrick Scottf47699d2009-05-13 08:27:34 -040098
Isaac Katzenelson63211ef2012-09-14 14:53:06 -070099 <!-- This activity is basically the same as AlarmAlert
Daniel Sandler70650662011-08-24 00:15:15 -0700100 but full-screen so that it can turn the display on. -->
Patrick Scottf47699d2009-05-13 08:27:34 -0400101 <activity android:name="AlarmAlertFullScreen"
102 android:excludeFromRecents="true"
Dmitri Plotnikovfb6883d2011-01-15 19:46:43 -0800103 android:theme="@style/AlarmAlertFullScreenTheme"
Dianne Hackborn29dbeab2009-09-22 13:44:12 -0700104 android:launchMode="singleInstance"
105 android:taskAffinity=""
Isaac Katzenelsonfc7cad82012-10-23 17:05:59 -0700106 android:showOnLockScreen="true"
Isaac Katzenelson35f68aa2012-10-19 16:56:05 -0700107 android:screenOrientation="nosensor"
Dianne Hackbornd7dbd342012-09-28 19:28:05 -0700108 android:configChanges="orientation|screenSize|keyboardHidden|keyboard|navigation"/>
The Android Open Source Project5fedae02009-03-03 19:32:15 -0800109
Sam Blitzstein7bcc2d82012-10-17 18:31:27 -0700110 <activity android:name="ScreensaverActivity"
111 android:excludeFromRecents="true"
112 android:taskAffinity=""
113 android:theme="@style/ScreensaverActivityTheme"
114 android:configChanges="orientation|screenSize|keyboardHidden|keyboard" />
115
Patrick Scotted5d2e72011-02-15 13:16:52 -0500116 <receiver android:name="AlarmReceiver"
117 android:exported="false">
The Android Open Source Project5fedae02009-03-03 19:32:15 -0800118 <intent-filter>
Patrick Scott6c528aa2010-09-22 09:17:29 -0400119 <action android:name="com.android.deskclock.ALARM_ALERT" />
120 <action android:name="alarm_killed" />
121 <action android:name="cancel_snooze" />
The Android Open Source Project5fedae02009-03-03 19:32:15 -0800122 </intent-filter>
123 </receiver>
124
Patrick Scott6c528aa2010-09-22 09:17:29 -0400125 <activity android:name="HandleSetAlarm"
126 android:theme="@android:style/Theme.NoDisplay"
127 android:excludeFromRecents="true"
128 android:permission="com.android.alarm.permission.SET_ALARM">
129 <intent-filter>
130 <action android:name="android.intent.action.SET_ALARM" />
131 <category android:name="android.intent.category.DEFAULT" />
132 </intent-filter>
133 </activity>
134
Patrick Scottd776e512009-06-26 14:52:56 -0400135 <!-- This service receives the same intent as AlarmReceiver but it does
136 not respond to the same broadcast. The AlarmReceiver will receive
137 the alert broadcast and will start this service with the same
138 intent. The service plays the alarm alert and vibrates the device.
139 This allows the alert to continue playing even if another activity
140 causes the AlarmAlert activity to pause. -->
Daniel Sandler4c6d7c22010-08-04 15:55:16 -0400141 <service android:name="AlarmKlaxon"
Patrick Scotted5d2e72011-02-15 13:16:52 -0500142 android:exported="false"
143 android:description="@string/alarm_klaxon_service_desc">
Patrick Scottd776e512009-06-26 14:52:56 -0400144 <intent-filter>
Daniel Sandlerfa954242009-10-16 16:12:30 -0400145 <action android:name="com.android.deskclock.ALARM_ALERT" />
Patrick Scottd776e512009-06-26 14:52:56 -0400146 </intent-filter>
147 </service>
148
The Android Open Source Project5fedae02009-03-03 19:32:15 -0800149 <receiver android:name="AlarmInitReceiver">
150 <intent-filter>
151 <action android:name="android.intent.action.BOOT_COMPLETED" />
152 <action android:name="android.intent.action.TIME_SET" />
153 <action android:name="android.intent.action.TIMEZONE_CHANGED" />
Eric Fischer7468e212009-12-10 14:19:09 -0800154 <action android:name="android.intent.action.LOCALE_CHANGED" />
The Android Open Source Project5fedae02009-03-03 19:32:15 -0800155 </intent-filter>
156 </receiver>
157
Patrick Scott6b4ab262010-03-04 16:39:09 -0500158 <receiver android:name="com.android.alarmclock.AnalogAppWidgetProvider" android:label="@string/analog_gadget"
Isaac Katzenelson5c464d32012-10-24 14:23:59 -0700159 android:icon="@mipmap/ic_launcher_alarmclock">
The Android Open Source Project5fedae02009-03-03 19:32:15 -0800160 <intent-filter>
The Android Open Source Projectbcdf0e32009-03-11 12:11:58 -0700161 <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
The Android Open Source Project5fedae02009-03-03 19:32:15 -0800162 </intent-filter>
Romain Guy47a25c52010-03-11 18:14:58 -0800163 <meta-data android:name="android.appwidget.oldName" android:value="com.android.deskclock.AnalogAppWidgetProvider" />
The Android Open Source Projectbcdf0e32009-03-11 12:11:58 -0700164 <meta-data android:name="android.appwidget.provider" android:resource="@xml/analog_appwidget" />
The Android Open Source Project5fedae02009-03-03 19:32:15 -0800165 </receiver>
Daniel Sandlerc57490d2011-05-05 16:51:08 -0400166
Isaac Katzenelson5c464d32012-10-24 14:23:59 -0700167 <receiver android:name="com.android.alarmclock.DigitalAppWidgetProvider" android:label="@string/digital_gadget"
168 android:icon="@mipmap/ic_launcher_alarmclock">
169 <intent-filter>
170 <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
171 </intent-filter>
172 <meta-data android:name="android.appwidget.provider" android:resource="@xml/digital_appwidget" />
173 </receiver>
174
175 <service android:name="com.android.alarmclock.DigitalAppWidgetService"
176 android:permission="android.permission.BIND_REMOTEVIEWS"
177 android:exported="false" />
178
179 <receiver android:name="com.android.alarmclock.DigitalWidgetViewsFactory"
180 android:exported="false" />
181
Daniel Sandlerbb8a0e22012-09-29 00:25:18 -0400182 <!-- Dream (screensaver) implementation -->
John Spurlock90dc1362012-07-31 08:26:46 -0400183 <service android:name="Screensaver"
184 android:exported="true"
185 android:label="@string/app_label">
Daniel Sandlerc57490d2011-05-05 16:51:08 -0400186 <intent-filter>
Dianne Hackborn35b9e3b2012-09-28 17:46:02 -0700187 <action android:name="android.service.dreams.DreamService" />
Daniel Sandlerc57490d2011-05-05 16:51:08 -0400188 <category android:name="android.intent.category.DEFAULT" />
Daniel Sandlerc57490d2011-05-05 16:51:08 -0400189 </intent-filter>
Daniel Sandlerbb8a0e22012-09-29 00:25:18 -0400190 <meta-data
191 android:name="android.service.dream"
192 android:resource="@xml/dream_info" />
John Spurlock90dc1362012-07-31 08:26:46 -0400193 </service>
Isaac Katzenelson871d7d02012-09-17 14:54:45 -0700194
Daniel Sandlerbb8a0e22012-09-29 00:25:18 -0400195 <!-- Settings activity for screensaver -->
196 <activity android:name=".ScreensaverSettingsActivity"
197 android:label="@string/screensaver_settings"
Robyn Coultas1ee06c52012-10-10 17:54:39 -0700198 android:theme="@android:style/Theme.Holo"
Daniel Sandlerbb8a0e22012-09-29 00:25:18 -0400199 android:taskAffinity=""
200 android:excludeFromRecents="true"
201 android:exported="true"
202 >
203 <intent-filter>
204 <action android:name="android.intent.action.MAIN" />
205 </intent-filter>
206 </activity>
207
Robyn Coultas647353d2012-09-30 12:58:21 -0700208 <!-- This activity is basically like the TimerFragment in DeskClock
209 but only during lock screen
210 so that is only has the fired timers -->
211 <activity android:name="com.android.deskclock.timer.TimerAlertFullScreen"
212 android:excludeFromRecents="true"
213 android:theme="@style/AlarmAlertFullScreenTheme"
214 android:launchMode="singleInstance"
Isaac Katzenelsonfc7cad82012-10-23 17:05:59 -0700215 android:showOnLockScreen="true"
Robyn Coultasfeabb7a2012-10-11 17:21:19 -0700216 android:taskAffinity=""
217 android:configChanges="orientation|screenSize|keyboardHidden|keyboard|navigation"/>
Robyn Coultas647353d2012-09-30 12:58:21 -0700218
Isaac Katzenelson3f991042012-09-24 21:12:09 -0700219 <service android:name="TimerRingService"
220 android:exported="false"
221 android:description="@string/timer_ring_service_desc">
222 <intent-filter>
223 <action android:name="com.android.deskclock.TIMER_ALERT" />
224 </intent-filter>
225 </service>
226
Isaac Katzenelson871d7d02012-09-17 14:54:45 -0700227 <receiver android:name="com.android.deskclock.timer.TimerReceiver"
228 android:exported="false">
229 <intent-filter>
230 <action android:name="start_timer" />
231 <action android:name="delete_timer" />
232 <action android:name="times_up" />
233 <action android:name="timer_stop" />
234 <action android:name="timer_reset" />
235 <action android:name="timer_done" />
236 <action android:name="timer_update" />
Itzhak Katzenelson1ce69ab2012-10-01 22:08:39 -0700237 <action android:name="notif_in_use_show" />
238 <action android:name="notif_in_use_cancel" />
Isaac Katzenelson871d7d02012-09-17 14:54:45 -0700239 </intent-filter>
240 </receiver>
Sam Blitzstein113e1da2012-09-26 11:15:06 -0700241
242 <service android:name="com.android.deskclock.stopwatch.StopwatchService"
243 android:exported="false"
244 android:description="@string/stopwatch_service_desc">
245 <intent-filter>
246 <action android:name="start_stopwatch" />
247 <action android:name="lap_stopwatch" />
248 <action android:name="stop_stopwatch" />
249 <action android:name="reset_stopwatch" />
250 <action android:name="share_stopwatch" />
251 </intent-filter>
252 </service>
The Android Open Source Project5fedae02009-03-03 19:32:15 -0800253 </application>
254</manifest>
255