The Android Open Source Project | 5fedae0 | 2009-03-03 19:32:15 -0800 | [diff] [blame] | 1 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
Patrick Scott | 2142694 | 2010-09-28 13:13:27 -0400 | [diff] [blame] | 2 | package="com.android.deskclock" |
Isaac Katzenelson | 28f4040 | 2013-08-14 10:48:15 -0700 | [diff] [blame] | 3 | android:versionCode="300" android:versionName="3.0.0"> |
The Android Open Source Project | 5fedae0 | 2009-03-03 19:32:15 -0800 | [diff] [blame] | 4 | |
Dianne Hackborn | 34991f8 | 2010-03-03 16:20:05 -0800 | [diff] [blame] | 5 | <original-package android:name="com.android.alarmclock" /> |
Jeff Hamilton | 7e0fc7b | 2010-02-11 16:25:48 -0600 | [diff] [blame] | 6 | <original-package android:name="com.android.deskclock" /> |
| 7 | |
The Android Open Source Project | 5fedae0 | 2009-03-03 19:32:15 -0800 | [diff] [blame] | 8 | <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 Scott | 3175f15 | 2009-09-03 16:13:26 -0400 | [diff] [blame] | 13 | <uses-permission android:name="android.permission.READ_PHONE_STATE" /> |
Mike Lockwood | 15b3053 | 2009-11-20 11:31:49 -0500 | [diff] [blame] | 14 | <uses-permission android:name="android.permission.DEVICE_POWER" /> |
Michael Chan | 8cd619d | 2012-06-04 11:25:44 -0700 | [diff] [blame] | 15 | <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> |
Isaac Katzenelson | c885092 | 2013-04-15 17:55:34 -0700 | [diff] [blame] | 16 | <uses-sdk android:minSdkVersion="17" android:targetSdkVersion="17" ></uses-sdk> |
The Android Open Source Project | 5fedae0 | 2009-03-03 19:32:15 -0800 | [diff] [blame] | 17 | |
| 18 | <application android:label="@string/app_label" |
Isaac Katzenelson | c885092 | 2013-04-15 17:55:34 -0700 | [diff] [blame] | 19 | android:icon="@mipmap/ic_launcher_alarmclock" |
Isaac Katzenelson | f21ef7d | 2013-04-22 19:35:04 -0700 | [diff] [blame] | 20 | android:requiredForAllUsers="true" |
Isaac Katzenelson | c885092 | 2013-04-15 17:55:34 -0700 | [diff] [blame] | 21 | android:supportsRtl="true"> |
The Android Open Source Project | 5fedae0 | 2009-03-03 19:32:15 -0800 | [diff] [blame] | 22 | |
Paul Sliwowski | b839a7d | 2013-08-21 23:43:57 -0700 | [diff] [blame] | 23 | <provider android:name=".provider.ClockProvider" |
Patrick Scott | 6c528aa | 2010-09-22 09:17:29 -0400 | [diff] [blame] | 24 | android:authorities="com.android.deskclock" |
| 25 | android:exported="false" /> |
The Android Open Source Project | 5fedae0 | 2009-03-03 19:32:15 -0800 | [diff] [blame] | 26 | |
Daniel Sandler | f8317ad | 2009-10-20 16:51:32 -0400 | [diff] [blame] | 27 | <activity android:name="DeskClock" |
| 28 | android:label="@string/app_label" |
Isaac Katzenelson | 815e2f7 | 2012-09-07 18:38:22 -0700 | [diff] [blame] | 29 | android:theme="@style/DeskClock" |
Ying Wang | 32a37e9 | 2010-11-23 11:40:16 -0800 | [diff] [blame] | 30 | android:icon="@mipmap/ic_launcher_alarmclock" |
Yorke Lee | be7ea5f | 2012-09-24 14:11:37 -0700 | [diff] [blame] | 31 | android:launchMode="singleTask" |
Daniel Sandler | d137332 | 2009-10-27 09:46:05 -0400 | [diff] [blame] | 32 | > |
Daniel Sandler | e6cf24d | 2009-11-02 16:23:52 -0500 | [diff] [blame] | 33 | |
The Android Open Source Project | 5fedae0 | 2009-03-03 19:32:15 -0800 | [diff] [blame] | 34 | <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 Sandler | dce9d31 | 2012-09-27 21:49:44 -0400 | [diff] [blame] | 41 | <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 Sandler | 8423a17 | 2009-11-12 13:40:19 -0800 | [diff] [blame] | 56 | <activity android:name="SettingsActivity" |
| 57 | android:label="@string/settings" |
Isaac Katzenelson | e4cd2ee | 2012-09-13 21:55:23 -0700 | [diff] [blame] | 58 | android:theme="@style/SettingsTheme" |
Daniel Sandler | 8423a17 | 2009-11-12 13:40:19 -0800 | [diff] [blame] | 59 | android:taskAffinity="" |
| 60 | android:excludeFromRecents="true" |
| 61 | > |
Jason Parekh | 13e9021 | 2009-03-24 17:50:29 -0700 | [diff] [blame] | 62 | <intent-filter> |
| 63 | <action android:name="android.intent.action.MAIN" /> |
| 64 | </intent-filter> |
| 65 | </activity> |
| 66 | |
Isaac Katzenelson | 948edb5 | 2012-09-27 10:09:06 -0700 | [diff] [blame] | 67 | <activity android:name=".worldclock.CitiesActivity" |
| 68 | android:label="@string/cities_activity_title" |
James Kung | c3e13b7 | 2013-08-21 14:11:56 -0700 | [diff] [blame] | 69 | android:theme="@style/CitiesTheme" |
Isaac Katzenelson | 948edb5 | 2012-09-27 10:09:06 -0700 | [diff] [blame] | 70 | 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 Scott | f47699d | 2009-05-13 08:27:34 -0400 | [diff] [blame] | 78 | <activity android:name="AlarmAlert" |
The Android Open Source Project | 5fedae0 | 2009-03-03 19:32:15 -0800 | [diff] [blame] | 79 | android:excludeFromRecents="true" |
Chiao Cheng | dfbd6b4 | 2012-10-01 20:26:30 -0700 | [diff] [blame] | 80 | android:theme="@android:style/Theme.Holo" |
Dianne Hackborn | 29dbeab | 2009-09-22 13:44:12 -0700 | [diff] [blame] | 81 | android:launchMode="singleInstance" |
| 82 | android:taskAffinity="" |
Itzhak Katzenelson | aaecccb | 2012-09-29 19:01:36 -0700 | [diff] [blame] | 83 | android:configChanges="orientation|screenSize|keyboardHidden|keyboard|navigation"/> |
Patrick Scott | f47699d | 2009-05-13 08:27:34 -0400 | [diff] [blame] | 84 | |
Isaac Katzenelson | 65d7dfb | 2012-08-28 16:58:32 -0700 | [diff] [blame] | 85 | <!-- This activity is basically the same as AlarmAlert |
Daniel Sandler | 7065066 | 2011-08-24 00:15:15 -0700 | [diff] [blame] | 86 | but full-screen so that it can turn the display on. --> |
Patrick Scott | f47699d | 2009-05-13 08:27:34 -0400 | [diff] [blame] | 87 | <activity android:name="AlarmAlertFullScreen" |
| 88 | android:excludeFromRecents="true" |
Dmitri Plotnikov | fb6883d | 2011-01-15 19:46:43 -0800 | [diff] [blame] | 89 | android:theme="@style/AlarmAlertFullScreenTheme" |
Dianne Hackborn | 29dbeab | 2009-09-22 13:44:12 -0700 | [diff] [blame] | 90 | android:launchMode="singleInstance" |
| 91 | android:taskAffinity="" |
Isaac Katzenelson | b0944b8 | 2012-10-23 17:05:59 -0700 | [diff] [blame] | 92 | android:showOnLockScreen="true" |
Itzhak Katzenelson | aaecccb | 2012-09-29 19:01:36 -0700 | [diff] [blame] | 93 | android:configChanges="orientation|screenSize|keyboardHidden|keyboard|navigation"/> |
The Android Open Source Project | 5fedae0 | 2009-03-03 19:32:15 -0800 | [diff] [blame] | 94 | |
Sam Blitzstein | 78b8e15 | 2012-10-17 18:31:27 -0700 | [diff] [blame] | 95 | <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 Scott | ed5d2e7 | 2011-02-15 13:16:52 -0500 | [diff] [blame] | 101 | <receiver android:name="AlarmReceiver" |
| 102 | android:exported="false"> |
The Android Open Source Project | 5fedae0 | 2009-03-03 19:32:15 -0800 | [diff] [blame] | 103 | <intent-filter> |
Patrick Scott | 6c528aa | 2010-09-22 09:17:29 -0400 | [diff] [blame] | 104 | <action android:name="com.android.deskclock.ALARM_ALERT" /> |
| 105 | <action android:name="alarm_killed" /> |
| 106 | <action android:name="cancel_snooze" /> |
The Android Open Source Project | 5fedae0 | 2009-03-03 19:32:15 -0800 | [diff] [blame] | 107 | </intent-filter> |
| 108 | </receiver> |
| 109 | |
Isaac Katzenelson | 37dcae4 | 2013-08-23 10:48:03 -0700 | [diff] [blame] | 110 | <activity android:name="HandleApiCalls" |
Patrick Scott | 6c528aa | 2010-09-22 09:17:29 -0400 | [diff] [blame] | 111 | 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 Katzenelson | 37dcae4 | 2013-08-23 10:48:03 -0700 | [diff] [blame] | 118 | <intent-filter> |
Alon Albert | 101ed3d | 2013-08-30 11:25:31 -0700 | [diff] [blame] | 119 | <action android:name="android.intent.action.SHOW_ALARMS" /> |
| 120 | <category android:name="android.intent.category.DEFAULT" /> |
| 121 | </intent-filter> |
| 122 | <intent-filter> |
Isaac Katzenelson | 37dcae4 | 2013-08-23 10:48:03 -0700 | [diff] [blame] | 123 | <action android:name="android.intent.action.SET_TIMER" /> |
| 124 | <category android:name="android.intent.category.DEFAULT" /> |
| 125 | </intent-filter> |
Patrick Scott | 6c528aa | 2010-09-22 09:17:29 -0400 | [diff] [blame] | 126 | </activity> |
| 127 | |
Isaac Katzenelson | 37dcae4 | 2013-08-23 10:48:03 -0700 | [diff] [blame] | 128 | <activity-alias android:name="HandleSetAlarm" |
| 129 | android:targetActivity=".HandleApiCalls" |
| 130 | android:exported="true"> |
| 131 | </activity-alias> |
| 132 | |
Patrick Scott | d776e51 | 2009-06-26 14:52:56 -0400 | [diff] [blame] | 133 | <!-- 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 Sandler | 4c6d7c2 | 2010-08-04 15:55:16 -0400 | [diff] [blame] | 139 | <service android:name="AlarmKlaxon" |
Patrick Scott | ed5d2e7 | 2011-02-15 13:16:52 -0500 | [diff] [blame] | 140 | android:exported="false" |
| 141 | android:description="@string/alarm_klaxon_service_desc"> |
Patrick Scott | d776e51 | 2009-06-26 14:52:56 -0400 | [diff] [blame] | 142 | <intent-filter> |
Daniel Sandler | fa95424 | 2009-10-16 16:12:30 -0400 | [diff] [blame] | 143 | <action android:name="com.android.deskclock.ALARM_ALERT" /> |
Patrick Scott | d776e51 | 2009-06-26 14:52:56 -0400 | [diff] [blame] | 144 | </intent-filter> |
| 145 | </service> |
| 146 | |
The Android Open Source Project | 5fedae0 | 2009-03-03 19:32:15 -0800 | [diff] [blame] | 147 | <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 Fischer | 7468e21 | 2009-12-10 14:19:09 -0800 | [diff] [blame] | 152 | <action android:name="android.intent.action.LOCALE_CHANGED" /> |
The Android Open Source Project | 5fedae0 | 2009-03-03 19:32:15 -0800 | [diff] [blame] | 153 | </intent-filter> |
| 154 | </receiver> |
| 155 | |
Patrick Scott | 6b4ab26 | 2010-03-04 16:39:09 -0500 | [diff] [blame] | 156 | <receiver android:name="com.android.alarmclock.AnalogAppWidgetProvider" android:label="@string/analog_gadget" |
Isaac Katzenelson | 7048625 | 2012-10-24 14:23:59 -0700 | [diff] [blame] | 157 | android:icon="@mipmap/ic_launcher_alarmclock"> |
The Android Open Source Project | 5fedae0 | 2009-03-03 19:32:15 -0800 | [diff] [blame] | 158 | <intent-filter> |
The Android Open Source Project | bcdf0e3 | 2009-03-11 12:11:58 -0700 | [diff] [blame] | 159 | <action android:name="android.appwidget.action.APPWIDGET_UPDATE" /> |
The Android Open Source Project | 5fedae0 | 2009-03-03 19:32:15 -0800 | [diff] [blame] | 160 | </intent-filter> |
Romain Guy | 47a25c5 | 2010-03-11 18:14:58 -0800 | [diff] [blame] | 161 | <meta-data android:name="android.appwidget.oldName" android:value="com.android.deskclock.AnalogAppWidgetProvider" /> |
The Android Open Source Project | bcdf0e3 | 2009-03-11 12:11:58 -0700 | [diff] [blame] | 162 | <meta-data android:name="android.appwidget.provider" android:resource="@xml/analog_appwidget" /> |
The Android Open Source Project | 5fedae0 | 2009-03-03 19:32:15 -0800 | [diff] [blame] | 163 | </receiver> |
Daniel Sandler | c57490d | 2011-05-05 16:51:08 -0400 | [diff] [blame] | 164 | |
Isaac Katzenelson | 7048625 | 2012-10-24 14:23:59 -0700 | [diff] [blame] | 165 | <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 Sandler | 8f873a2 | 2012-09-29 00:25:18 -0400 | [diff] [blame] | 180 | <!-- Dream (screensaver) implementation --> |
John Spurlock | 90dc136 | 2012-07-31 08:26:46 -0400 | [diff] [blame] | 181 | <service android:name="Screensaver" |
| 182 | android:exported="true" |
| 183 | android:label="@string/app_label"> |
Daniel Sandler | c57490d | 2011-05-05 16:51:08 -0400 | [diff] [blame] | 184 | <intent-filter> |
Daniel Sandler | 17b4ca4 | 2012-09-28 23:07:53 -0400 | [diff] [blame] | 185 | <action android:name="android.service.dreams.DreamService" /> |
Daniel Sandler | c57490d | 2011-05-05 16:51:08 -0400 | [diff] [blame] | 186 | <category android:name="android.intent.category.DEFAULT" /> |
Daniel Sandler | c57490d | 2011-05-05 16:51:08 -0400 | [diff] [blame] | 187 | </intent-filter> |
Daniel Sandler | 8f873a2 | 2012-09-29 00:25:18 -0400 | [diff] [blame] | 188 | <meta-data |
| 189 | android:name="android.service.dream" |
| 190 | android:resource="@xml/dream_info" /> |
John Spurlock | 90dc136 | 2012-07-31 08:26:46 -0400 | [diff] [blame] | 191 | </service> |
Isaac Katzenelson | dfb182f | 2012-09-17 14:54:45 -0700 | [diff] [blame] | 192 | |
Daniel Sandler | 8f873a2 | 2012-09-29 00:25:18 -0400 | [diff] [blame] | 193 | <!-- Settings activity for screensaver --> |
| 194 | <activity android:name=".ScreensaverSettingsActivity" |
| 195 | android:label="@string/screensaver_settings" |
Robyn Coultas | 83e51c1 | 2012-10-10 17:54:39 -0700 | [diff] [blame] | 196 | android:theme="@android:style/Theme.Holo" |
Daniel Sandler | 8f873a2 | 2012-09-29 00:25:18 -0400 | [diff] [blame] | 197 | 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 Coultas | 733afe5 | 2012-09-30 12:58:21 -0700 | [diff] [blame] | 206 | <!-- 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 Katzenelson | b0944b8 | 2012-10-23 17:05:59 -0700 | [diff] [blame] | 213 | android:showOnLockScreen="true" |
Robyn Coultas | 98b2b05 | 2012-10-11 17:21:19 -0700 | [diff] [blame] | 214 | android:taskAffinity="" |
| 215 | android:configChanges="orientation|screenSize|keyboardHidden|keyboard|navigation"/> |
Robyn Coultas | 733afe5 | 2012-09-30 12:58:21 -0700 | [diff] [blame] | 216 | |
Isaac Katzenelson | 5cacdd0 | 2012-09-24 21:12:09 -0700 | [diff] [blame] | 217 | <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 Katzenelson | dfb182f | 2012-09-17 14:54:45 -0700 | [diff] [blame] | 225 | <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 Blitzstein | b6a815a | 2012-09-27 17:11:00 -0700 | [diff] [blame] | 235 | <action android:name="notif_in_use_show" /> |
| 236 | <action android:name="notif_in_use_cancel" /> |
Isaac Katzenelson | dfb182f | 2012-09-17 14:54:45 -0700 | [diff] [blame] | 237 | </intent-filter> |
| 238 | </receiver> |
Sam Blitzstein | 287f2d8 | 2012-09-26 11:15:06 -0700 | [diff] [blame] | 239 | |
| 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 Project | 5fedae0 | 2009-03-03 19:32:15 -0800 | [diff] [blame] | 251 | </application> |
| 252 | </manifest> |
| 253 | |