blob: 86d77bd459b374c2da5775a5b112549f85a9bf5c [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"
Isaac Katzenelson28f40402013-08-14 10:48:15 -07003 android:versionCode="300" android:versionName="3.0.0">
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 Katzenelsonc8850922013-04-15 17:55:34 -070016 <uses-sdk android:minSdkVersion="17" android:targetSdkVersion="17" ></uses-sdk>
The Android Open Source Project5fedae02009-03-03 19:32:15 -080017
18 <application android:label="@string/app_label"
Isaac Katzenelsonc8850922013-04-15 17:55:34 -070019 android:icon="@mipmap/ic_launcher_alarmclock"
Isaac Katzenelsonf21ef7d2013-04-22 19:35:04 -070020 android:requiredForAllUsers="true"
Isaac Katzenelsonc8850922013-04-15 17:55:34 -070021 android:supportsRtl="true">
The Android Open Source Project5fedae02009-03-03 19:32:15 -080022
Paul Sliwowskib839a7d2013-08-21 23:43:57 -070023 <provider android:name=".provider.ClockProvider"
Patrick Scott6c528aa2010-09-22 09:17:29 -040024 android:authorities="com.android.deskclock"
25 android:exported="false" />
The Android Open Source Project5fedae02009-03-03 19:32:15 -080026
Daniel Sandlerf8317ad2009-10-20 16:51:32 -040027 <activity android:name="DeskClock"
28 android:label="@string/app_label"
Isaac Katzenelson815e2f72012-09-07 18:38:22 -070029 android:theme="@style/DeskClock"
Ying Wang32a37e92010-11-23 11:40:16 -080030 android:icon="@mipmap/ic_launcher_alarmclock"
Yorke Leebe7ea5f2012-09-24 14:11:37 -070031 android:launchMode="singleTask"
Daniel Sandlerd1373322009-10-27 09:46:05 -040032 >
Daniel Sandlere6cf24d2009-11-02 16:23:52 -050033
The Android Open Source Project5fedae02009-03-03 19:32:15 -080034 <intent-filter>
35 <action android:name="android.intent.action.MAIN" />
36 <category android:name="android.intent.category.DEFAULT" />
37 <category android:name="android.intent.category.LAUNCHER" />
38 </intent-filter>
39 </activity>
40
Daniel Sandlerdce9d312012-09-27 21:49:44 -040041 <activity-alias android:name="DockClock"
42 android:targetActivity="DeskClock"
43 android:label="@string/app_label"
44 android:theme="@style/DeskClock"
45 android:icon="@mipmap/ic_launcher_alarmclock"
46 android:launchMode="singleTask"
47 android:enabled="@bool/config_dockAppEnabled"
48 >
49 <intent-filter>
50 <action android:name="android.intent.action.MAIN" />
51 <category android:name="android.intent.category.DEFAULT" />
52 <category android:name="android.intent.category.DESK_DOCK" />
53 </intent-filter>
54 </activity-alias>
55
Daniel Sandler8423a172009-11-12 13:40:19 -080056 <activity android:name="SettingsActivity"
57 android:label="@string/settings"
Isaac Katzenelsone4cd2ee2012-09-13 21:55:23 -070058 android:theme="@style/SettingsTheme"
Daniel Sandler8423a172009-11-12 13:40:19 -080059 android:taskAffinity=""
60 android:excludeFromRecents="true"
61 >
Jason Parekh13e90212009-03-24 17:50:29 -070062 <intent-filter>
63 <action android:name="android.intent.action.MAIN" />
64 </intent-filter>
65 </activity>
66
Isaac Katzenelson948edb52012-09-27 10:09:06 -070067 <activity android:name=".worldclock.CitiesActivity"
68 android:label="@string/cities_activity_title"
James Kungc3e13b72013-08-21 14:11:56 -070069 android:theme="@style/CitiesTheme"
Isaac Katzenelson948edb52012-09-27 10:09:06 -070070 android:taskAffinity=""
71 android:excludeFromRecents="true"
72 >
73 <intent-filter>
74 <action android:name="android.intent.action.MAIN" />
75 </intent-filter>
76 </activity>
77
Patrick Scottf47699d2009-05-13 08:27:34 -040078 <activity android:name="AlarmAlert"
The Android Open Source Project5fedae02009-03-03 19:32:15 -080079 android:excludeFromRecents="true"
Chiao Chengdfbd6b42012-10-01 20:26:30 -070080 android:theme="@android:style/Theme.Holo"
Dianne Hackborn29dbeab2009-09-22 13:44:12 -070081 android:launchMode="singleInstance"
82 android:taskAffinity=""
Itzhak Katzenelsonaaecccb2012-09-29 19:01:36 -070083 android:configChanges="orientation|screenSize|keyboardHidden|keyboard|navigation"/>
Patrick Scottf47699d2009-05-13 08:27:34 -040084
Isaac Katzenelson65d7dfb2012-08-28 16:58:32 -070085 <!-- This activity is basically the same as AlarmAlert
Daniel Sandler70650662011-08-24 00:15:15 -070086 but full-screen so that it can turn the display on. -->
Patrick Scottf47699d2009-05-13 08:27:34 -040087 <activity android:name="AlarmAlertFullScreen"
88 android:excludeFromRecents="true"
Dmitri Plotnikovfb6883d2011-01-15 19:46:43 -080089 android:theme="@style/AlarmAlertFullScreenTheme"
Dianne Hackborn29dbeab2009-09-22 13:44:12 -070090 android:launchMode="singleInstance"
91 android:taskAffinity=""
Isaac Katzenelsonb0944b82012-10-23 17:05:59 -070092 android:showOnLockScreen="true"
Itzhak Katzenelsonaaecccb2012-09-29 19:01:36 -070093 android:configChanges="orientation|screenSize|keyboardHidden|keyboard|navigation"/>
The Android Open Source Project5fedae02009-03-03 19:32:15 -080094
Sam Blitzstein78b8e152012-10-17 18:31:27 -070095 <activity android:name="ScreensaverActivity"
96 android:excludeFromRecents="true"
97 android:taskAffinity=""
98 android:theme="@style/ScreensaverActivityTheme"
99 android:configChanges="orientation|screenSize|keyboardHidden|keyboard" />
100
Patrick Scotted5d2e72011-02-15 13:16:52 -0500101 <receiver android:name="AlarmReceiver"
102 android:exported="false">
The Android Open Source Project5fedae02009-03-03 19:32:15 -0800103 <intent-filter>
Patrick Scott6c528aa2010-09-22 09:17:29 -0400104 <action android:name="com.android.deskclock.ALARM_ALERT" />
105 <action android:name="alarm_killed" />
106 <action android:name="cancel_snooze" />
The Android Open Source Project5fedae02009-03-03 19:32:15 -0800107 </intent-filter>
108 </receiver>
109
Isaac Katzenelson37dcae42013-08-23 10:48:03 -0700110 <activity android:name="HandleApiCalls"
Patrick Scott6c528aa2010-09-22 09:17:29 -0400111 android:theme="@android:style/Theme.NoDisplay"
112 android:excludeFromRecents="true"
113 android:permission="com.android.alarm.permission.SET_ALARM">
114 <intent-filter>
115 <action android:name="android.intent.action.SET_ALARM" />
116 <category android:name="android.intent.category.DEFAULT" />
117 </intent-filter>
Isaac Katzenelson37dcae42013-08-23 10:48:03 -0700118 <intent-filter>
Alon Albert101ed3d2013-08-30 11:25:31 -0700119 <action android:name="android.intent.action.SHOW_ALARMS" />
120 <category android:name="android.intent.category.DEFAULT" />
121 </intent-filter>
122 <intent-filter>
Isaac Katzenelson37dcae42013-08-23 10:48:03 -0700123 <action android:name="android.intent.action.SET_TIMER" />
124 <category android:name="android.intent.category.DEFAULT" />
125 </intent-filter>
Patrick Scott6c528aa2010-09-22 09:17:29 -0400126 </activity>
127
Isaac Katzenelson37dcae42013-08-23 10:48:03 -0700128 <activity-alias android:name="HandleSetAlarm"
129 android:targetActivity=".HandleApiCalls"
130 android:exported="true">
131 </activity-alias>
132
Patrick Scottd776e512009-06-26 14:52:56 -0400133 <!-- This service receives the same intent as AlarmReceiver but it does
134 not respond to the same broadcast. The AlarmReceiver will receive
135 the alert broadcast and will start this service with the same
136 intent. The service plays the alarm alert and vibrates the device.
137 This allows the alert to continue playing even if another activity
138 causes the AlarmAlert activity to pause. -->
Daniel Sandler4c6d7c22010-08-04 15:55:16 -0400139 <service android:name="AlarmKlaxon"
Patrick Scotted5d2e72011-02-15 13:16:52 -0500140 android:exported="false"
141 android:description="@string/alarm_klaxon_service_desc">
Patrick Scottd776e512009-06-26 14:52:56 -0400142 <intent-filter>
Daniel Sandlerfa954242009-10-16 16:12:30 -0400143 <action android:name="com.android.deskclock.ALARM_ALERT" />
Patrick Scottd776e512009-06-26 14:52:56 -0400144 </intent-filter>
145 </service>
146
The Android Open Source Project5fedae02009-03-03 19:32:15 -0800147 <receiver android:name="AlarmInitReceiver">
148 <intent-filter>
149 <action android:name="android.intent.action.BOOT_COMPLETED" />
150 <action android:name="android.intent.action.TIME_SET" />
151 <action android:name="android.intent.action.TIMEZONE_CHANGED" />
Eric Fischer7468e212009-12-10 14:19:09 -0800152 <action android:name="android.intent.action.LOCALE_CHANGED" />
The Android Open Source Project5fedae02009-03-03 19:32:15 -0800153 </intent-filter>
154 </receiver>
155
Patrick Scott6b4ab262010-03-04 16:39:09 -0500156 <receiver android:name="com.android.alarmclock.AnalogAppWidgetProvider" android:label="@string/analog_gadget"
Isaac Katzenelson70486252012-10-24 14:23:59 -0700157 android:icon="@mipmap/ic_launcher_alarmclock">
The Android Open Source Project5fedae02009-03-03 19:32:15 -0800158 <intent-filter>
The Android Open Source Projectbcdf0e32009-03-11 12:11:58 -0700159 <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
The Android Open Source Project5fedae02009-03-03 19:32:15 -0800160 </intent-filter>
Romain Guy47a25c52010-03-11 18:14:58 -0800161 <meta-data android:name="android.appwidget.oldName" android:value="com.android.deskclock.AnalogAppWidgetProvider" />
The Android Open Source Projectbcdf0e32009-03-11 12:11:58 -0700162 <meta-data android:name="android.appwidget.provider" android:resource="@xml/analog_appwidget" />
The Android Open Source Project5fedae02009-03-03 19:32:15 -0800163 </receiver>
Daniel Sandlerc57490d2011-05-05 16:51:08 -0400164
Isaac Katzenelson70486252012-10-24 14:23:59 -0700165 <receiver android:name="com.android.alarmclock.DigitalAppWidgetProvider" android:label="@string/digital_gadget"
166 android:icon="@mipmap/ic_launcher_alarmclock">
167 <intent-filter>
168 <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
169 </intent-filter>
170 <meta-data android:name="android.appwidget.provider" android:resource="@xml/digital_appwidget" />
171 </receiver>
172
173 <service android:name="com.android.alarmclock.DigitalAppWidgetService"
174 android:permission="android.permission.BIND_REMOTEVIEWS"
175 android:exported="false" />
176
177 <receiver android:name="com.android.alarmclock.DigitalWidgetViewsFactory"
178 android:exported="false" />
179
Daniel Sandler8f873a22012-09-29 00:25:18 -0400180 <!-- Dream (screensaver) implementation -->
John Spurlock90dc1362012-07-31 08:26:46 -0400181 <service android:name="Screensaver"
182 android:exported="true"
183 android:label="@string/app_label">
Daniel Sandlerc57490d2011-05-05 16:51:08 -0400184 <intent-filter>
Daniel Sandler17b4ca42012-09-28 23:07:53 -0400185 <action android:name="android.service.dreams.DreamService" />
Daniel Sandlerc57490d2011-05-05 16:51:08 -0400186 <category android:name="android.intent.category.DEFAULT" />
Daniel Sandlerc57490d2011-05-05 16:51:08 -0400187 </intent-filter>
Daniel Sandler8f873a22012-09-29 00:25:18 -0400188 <meta-data
189 android:name="android.service.dream"
190 android:resource="@xml/dream_info" />
John Spurlock90dc1362012-07-31 08:26:46 -0400191 </service>
Isaac Katzenelsondfb182f2012-09-17 14:54:45 -0700192
Daniel Sandler8f873a22012-09-29 00:25:18 -0400193 <!-- Settings activity for screensaver -->
194 <activity android:name=".ScreensaverSettingsActivity"
195 android:label="@string/screensaver_settings"
Robyn Coultas83e51c12012-10-10 17:54:39 -0700196 android:theme="@android:style/Theme.Holo"
Daniel Sandler8f873a22012-09-29 00:25:18 -0400197 android:taskAffinity=""
198 android:excludeFromRecents="true"
199 android:exported="true"
200 >
201 <intent-filter>
202 <action android:name="android.intent.action.MAIN" />
203 </intent-filter>
204 </activity>
205
Robyn Coultas733afe52012-09-30 12:58:21 -0700206 <!-- This activity is basically like the TimerFragment in DeskClock
207 but only during lock screen
208 so that is only has the fired timers -->
209 <activity android:name="com.android.deskclock.timer.TimerAlertFullScreen"
210 android:excludeFromRecents="true"
211 android:theme="@style/AlarmAlertFullScreenTheme"
212 android:launchMode="singleInstance"
Isaac Katzenelsonb0944b82012-10-23 17:05:59 -0700213 android:showOnLockScreen="true"
Robyn Coultas98b2b052012-10-11 17:21:19 -0700214 android:taskAffinity=""
215 android:configChanges="orientation|screenSize|keyboardHidden|keyboard|navigation"/>
Robyn Coultas733afe52012-09-30 12:58:21 -0700216
Isaac Katzenelson5cacdd02012-09-24 21:12:09 -0700217 <service android:name="TimerRingService"
218 android:exported="false"
219 android:description="@string/timer_ring_service_desc">
220 <intent-filter>
221 <action android:name="com.android.deskclock.TIMER_ALERT" />
222 </intent-filter>
223 </service>
224
Isaac Katzenelsondfb182f2012-09-17 14:54:45 -0700225 <receiver android:name="com.android.deskclock.timer.TimerReceiver"
226 android:exported="false">
227 <intent-filter>
228 <action android:name="start_timer" />
229 <action android:name="delete_timer" />
230 <action android:name="times_up" />
231 <action android:name="timer_stop" />
232 <action android:name="timer_reset" />
233 <action android:name="timer_done" />
234 <action android:name="timer_update" />
Sam Blitzsteinb6a815a2012-09-27 17:11:00 -0700235 <action android:name="notif_in_use_show" />
236 <action android:name="notif_in_use_cancel" />
Isaac Katzenelsondfb182f2012-09-17 14:54:45 -0700237 </intent-filter>
238 </receiver>
Sam Blitzstein287f2d82012-09-26 11:15:06 -0700239
240 <service android:name="com.android.deskclock.stopwatch.StopwatchService"
241 android:exported="false"
242 android:description="@string/stopwatch_service_desc">
243 <intent-filter>
244 <action android:name="start_stopwatch" />
245 <action android:name="lap_stopwatch" />
246 <action android:name="stop_stopwatch" />
247 <action android:name="reset_stopwatch" />
248 <action android:name="share_stopwatch" />
249 </intent-filter>
250 </service>
The Android Open Source Project5fedae02009-03-03 19:32:15 -0800251 </application>
252</manifest>
253