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> |
| 119 | <action android:name="android.intent.action.SET_TIMER" /> |
| 120 | <category android:name="android.intent.category.DEFAULT" /> |
| 121 | </intent-filter> |
Patrick Scott | 6c528aa | 2010-09-22 09:17:29 -0400 | [diff] [blame] | 122 | </activity> |
| 123 | |
Isaac Katzenelson | 37dcae4 | 2013-08-23 10:48:03 -0700 | [diff] [blame^] | 124 | <activity-alias android:name="HandleSetAlarm" |
| 125 | android:targetActivity=".HandleApiCalls" |
| 126 | android:exported="true"> |
| 127 | </activity-alias> |
| 128 | |
Patrick Scott | d776e51 | 2009-06-26 14:52:56 -0400 | [diff] [blame] | 129 | <!-- This service receives the same intent as AlarmReceiver but it does |
| 130 | not respond to the same broadcast. The AlarmReceiver will receive |
| 131 | the alert broadcast and will start this service with the same |
| 132 | intent. The service plays the alarm alert and vibrates the device. |
| 133 | This allows the alert to continue playing even if another activity |
| 134 | causes the AlarmAlert activity to pause. --> |
Daniel Sandler | 4c6d7c2 | 2010-08-04 15:55:16 -0400 | [diff] [blame] | 135 | <service android:name="AlarmKlaxon" |
Patrick Scott | ed5d2e7 | 2011-02-15 13:16:52 -0500 | [diff] [blame] | 136 | android:exported="false" |
| 137 | android:description="@string/alarm_klaxon_service_desc"> |
Patrick Scott | d776e51 | 2009-06-26 14:52:56 -0400 | [diff] [blame] | 138 | <intent-filter> |
Daniel Sandler | fa95424 | 2009-10-16 16:12:30 -0400 | [diff] [blame] | 139 | <action android:name="com.android.deskclock.ALARM_ALERT" /> |
Patrick Scott | d776e51 | 2009-06-26 14:52:56 -0400 | [diff] [blame] | 140 | </intent-filter> |
| 141 | </service> |
| 142 | |
The Android Open Source Project | 5fedae0 | 2009-03-03 19:32:15 -0800 | [diff] [blame] | 143 | <receiver android:name="AlarmInitReceiver"> |
| 144 | <intent-filter> |
| 145 | <action android:name="android.intent.action.BOOT_COMPLETED" /> |
| 146 | <action android:name="android.intent.action.TIME_SET" /> |
| 147 | <action android:name="android.intent.action.TIMEZONE_CHANGED" /> |
Eric Fischer | 7468e21 | 2009-12-10 14:19:09 -0800 | [diff] [blame] | 148 | <action android:name="android.intent.action.LOCALE_CHANGED" /> |
The Android Open Source Project | 5fedae0 | 2009-03-03 19:32:15 -0800 | [diff] [blame] | 149 | </intent-filter> |
| 150 | </receiver> |
| 151 | |
Patrick Scott | 6b4ab26 | 2010-03-04 16:39:09 -0500 | [diff] [blame] | 152 | <receiver android:name="com.android.alarmclock.AnalogAppWidgetProvider" android:label="@string/analog_gadget" |
Isaac Katzenelson | 7048625 | 2012-10-24 14:23:59 -0700 | [diff] [blame] | 153 | android:icon="@mipmap/ic_launcher_alarmclock"> |
The Android Open Source Project | 5fedae0 | 2009-03-03 19:32:15 -0800 | [diff] [blame] | 154 | <intent-filter> |
The Android Open Source Project | bcdf0e3 | 2009-03-11 12:11:58 -0700 | [diff] [blame] | 155 | <action android:name="android.appwidget.action.APPWIDGET_UPDATE" /> |
The Android Open Source Project | 5fedae0 | 2009-03-03 19:32:15 -0800 | [diff] [blame] | 156 | </intent-filter> |
Romain Guy | 47a25c5 | 2010-03-11 18:14:58 -0800 | [diff] [blame] | 157 | <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] | 158 | <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] | 159 | </receiver> |
Daniel Sandler | c57490d | 2011-05-05 16:51:08 -0400 | [diff] [blame] | 160 | |
Isaac Katzenelson | 7048625 | 2012-10-24 14:23:59 -0700 | [diff] [blame] | 161 | <receiver android:name="com.android.alarmclock.DigitalAppWidgetProvider" android:label="@string/digital_gadget" |
| 162 | android:icon="@mipmap/ic_launcher_alarmclock"> |
| 163 | <intent-filter> |
| 164 | <action android:name="android.appwidget.action.APPWIDGET_UPDATE" /> |
| 165 | </intent-filter> |
| 166 | <meta-data android:name="android.appwidget.provider" android:resource="@xml/digital_appwidget" /> |
| 167 | </receiver> |
| 168 | |
| 169 | <service android:name="com.android.alarmclock.DigitalAppWidgetService" |
| 170 | android:permission="android.permission.BIND_REMOTEVIEWS" |
| 171 | android:exported="false" /> |
| 172 | |
| 173 | <receiver android:name="com.android.alarmclock.DigitalWidgetViewsFactory" |
| 174 | android:exported="false" /> |
| 175 | |
Daniel Sandler | 8f873a2 | 2012-09-29 00:25:18 -0400 | [diff] [blame] | 176 | <!-- Dream (screensaver) implementation --> |
John Spurlock | 90dc136 | 2012-07-31 08:26:46 -0400 | [diff] [blame] | 177 | <service android:name="Screensaver" |
| 178 | android:exported="true" |
| 179 | android:label="@string/app_label"> |
Daniel Sandler | c57490d | 2011-05-05 16:51:08 -0400 | [diff] [blame] | 180 | <intent-filter> |
Daniel Sandler | 17b4ca4 | 2012-09-28 23:07:53 -0400 | [diff] [blame] | 181 | <action android:name="android.service.dreams.DreamService" /> |
Daniel Sandler | c57490d | 2011-05-05 16:51:08 -0400 | [diff] [blame] | 182 | <category android:name="android.intent.category.DEFAULT" /> |
Daniel Sandler | c57490d | 2011-05-05 16:51:08 -0400 | [diff] [blame] | 183 | </intent-filter> |
Daniel Sandler | 8f873a2 | 2012-09-29 00:25:18 -0400 | [diff] [blame] | 184 | <meta-data |
| 185 | android:name="android.service.dream" |
| 186 | android:resource="@xml/dream_info" /> |
John Spurlock | 90dc136 | 2012-07-31 08:26:46 -0400 | [diff] [blame] | 187 | </service> |
Isaac Katzenelson | dfb182f | 2012-09-17 14:54:45 -0700 | [diff] [blame] | 188 | |
Daniel Sandler | 8f873a2 | 2012-09-29 00:25:18 -0400 | [diff] [blame] | 189 | <!-- Settings activity for screensaver --> |
| 190 | <activity android:name=".ScreensaverSettingsActivity" |
| 191 | android:label="@string/screensaver_settings" |
Robyn Coultas | 83e51c1 | 2012-10-10 17:54:39 -0700 | [diff] [blame] | 192 | android:theme="@android:style/Theme.Holo" |
Daniel Sandler | 8f873a2 | 2012-09-29 00:25:18 -0400 | [diff] [blame] | 193 | android:taskAffinity="" |
| 194 | android:excludeFromRecents="true" |
| 195 | android:exported="true" |
| 196 | > |
| 197 | <intent-filter> |
| 198 | <action android:name="android.intent.action.MAIN" /> |
| 199 | </intent-filter> |
| 200 | </activity> |
| 201 | |
Robyn Coultas | 733afe5 | 2012-09-30 12:58:21 -0700 | [diff] [blame] | 202 | <!-- This activity is basically like the TimerFragment in DeskClock |
| 203 | but only during lock screen |
| 204 | so that is only has the fired timers --> |
| 205 | <activity android:name="com.android.deskclock.timer.TimerAlertFullScreen" |
| 206 | android:excludeFromRecents="true" |
| 207 | android:theme="@style/AlarmAlertFullScreenTheme" |
| 208 | android:launchMode="singleInstance" |
Isaac Katzenelson | b0944b8 | 2012-10-23 17:05:59 -0700 | [diff] [blame] | 209 | android:showOnLockScreen="true" |
Robyn Coultas | 98b2b05 | 2012-10-11 17:21:19 -0700 | [diff] [blame] | 210 | android:taskAffinity="" |
| 211 | android:configChanges="orientation|screenSize|keyboardHidden|keyboard|navigation"/> |
Robyn Coultas | 733afe5 | 2012-09-30 12:58:21 -0700 | [diff] [blame] | 212 | |
Isaac Katzenelson | 5cacdd0 | 2012-09-24 21:12:09 -0700 | [diff] [blame] | 213 | <service android:name="TimerRingService" |
| 214 | android:exported="false" |
| 215 | android:description="@string/timer_ring_service_desc"> |
| 216 | <intent-filter> |
| 217 | <action android:name="com.android.deskclock.TIMER_ALERT" /> |
| 218 | </intent-filter> |
| 219 | </service> |
| 220 | |
Isaac Katzenelson | dfb182f | 2012-09-17 14:54:45 -0700 | [diff] [blame] | 221 | <receiver android:name="com.android.deskclock.timer.TimerReceiver" |
| 222 | android:exported="false"> |
| 223 | <intent-filter> |
| 224 | <action android:name="start_timer" /> |
| 225 | <action android:name="delete_timer" /> |
| 226 | <action android:name="times_up" /> |
| 227 | <action android:name="timer_stop" /> |
| 228 | <action android:name="timer_reset" /> |
| 229 | <action android:name="timer_done" /> |
| 230 | <action android:name="timer_update" /> |
Sam Blitzstein | b6a815a | 2012-09-27 17:11:00 -0700 | [diff] [blame] | 231 | <action android:name="notif_in_use_show" /> |
| 232 | <action android:name="notif_in_use_cancel" /> |
Isaac Katzenelson | dfb182f | 2012-09-17 14:54:45 -0700 | [diff] [blame] | 233 | </intent-filter> |
| 234 | </receiver> |
Sam Blitzstein | 287f2d8 | 2012-09-26 11:15:06 -0700 | [diff] [blame] | 235 | |
| 236 | <service android:name="com.android.deskclock.stopwatch.StopwatchService" |
| 237 | android:exported="false" |
| 238 | android:description="@string/stopwatch_service_desc"> |
| 239 | <intent-filter> |
| 240 | <action android:name="start_stopwatch" /> |
| 241 | <action android:name="lap_stopwatch" /> |
| 242 | <action android:name="stop_stopwatch" /> |
| 243 | <action android:name="reset_stopwatch" /> |
| 244 | <action android:name="share_stopwatch" /> |
| 245 | </intent-filter> |
| 246 | </service> |
The Android Open Source Project | 5fedae0 | 2009-03-03 19:32:15 -0800 | [diff] [blame] | 247 | </application> |
| 248 | </manifest> |
| 249 | |