Justin Klaassen | 1e76b67 | 2015-01-23 17:57:11 -0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
| 3 | Copyright (C) 2015 The Android Open Source Project |
| 4 | |
| 5 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | you may not use this file except in compliance with the License. |
| 7 | You may obtain a copy of the License at |
| 8 | |
| 9 | http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | |
| 11 | Unless required by applicable law or agreed to in writing, software |
| 12 | distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | See the License for the specific language governing permissions and |
| 15 | limitations under the License. |
| 16 | --> |
| 17 | |
Justin Klaassen | b94725c | 2015-12-02 11:52:44 -0800 | [diff] [blame] | 18 | <manifest |
| 19 | xmlns:android="http://schemas.android.com/apk/res/android" |
Justin Klaassen | c624a3f | 2015-12-21 19:08:28 -0800 | [diff] [blame^] | 20 | xmlns:tools="http://schemas.android.com/tools" |
Justin Klaassen | b94725c | 2015-12-02 11:52:44 -0800 | [diff] [blame] | 21 | package="com.android.deskclock" |
| 22 | android:versionCode="440" |
| 23 | android:versionName="4.4.0"> |
The Android Open Source Project | 5fedae0 | 2009-03-03 19:32:15 -0800 | [diff] [blame] | 24 | |
Dianne Hackborn | 34991f8 | 2010-03-03 16:20:05 -0800 | [diff] [blame] | 25 | <original-package android:name="com.android.alarmclock" /> |
Jeff Hamilton | 7e0fc7b | 2010-02-11 16:25:48 -0600 | [diff] [blame] | 26 | <original-package android:name="com.android.deskclock" /> |
| 27 | |
Daria Evdokimova | 9b639f9 | 2015-06-03 15:40:01 -0700 | [diff] [blame] | 28 | <uses-sdk android:minSdkVersion="19" android:targetSdkVersion="23" /> |
Justin Klaassen | 1e76b67 | 2015-01-23 17:57:11 -0800 | [diff] [blame] | 29 | |
The Android Open Source Project | 5fedae0 | 2009-03-03 19:32:15 -0800 | [diff] [blame] | 30 | <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> |
Justin Klaassen | b94725c | 2015-12-02 11:52:44 -0800 | [diff] [blame] | 31 | <uses-permission android:name="android.permission.WAKE_LOCK" /> |
| 32 | <uses-permission android:name="android.permission.VIBRATE" /> |
The Android Open Source Project | 5fedae0 | 2009-03-03 19:32:15 -0800 | [diff] [blame] | 33 | <uses-permission android:name="android.permission.DISABLE_KEYGUARD" /> |
James Lemieux | 089897e | 2015-06-29 14:41:08 -0700 | [diff] [blame] | 34 | <!-- WRITE_SETTINGS is required to record the upcoming alarm prior to L --> |
| 35 | <uses-permission android:name="android.permission.WRITE_SETTINGS" /> |
James Lemieux | 95559b2 | 2015-06-26 13:53:55 -0700 | [diff] [blame] | 36 | <!-- READ_PHONE_STATE is required to determine when a phone call exists prior to M --> |
Patrick Scott | 3175f15 | 2009-09-03 16:13:26 -0400 | [diff] [blame] | 37 | <uses-permission android:name="android.permission.READ_PHONE_STATE" /> |
James Lemieux | 4d8e08e | 2015-07-06 18:14:09 -0700 | [diff] [blame] | 38 | <!-- READ_EXTERNAL_STORAGE is required to play custom ringtones from the SD card prior to M --> |
| 39 | <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> |
The Android Open Source Project | 5fedae0 | 2009-03-03 19:32:15 -0800 | [diff] [blame] | 40 | |
Justin Klaassen | b94725c | 2015-12-02 11:52:44 -0800 | [diff] [blame] | 41 | <application |
| 42 | android:name=".DeskClockApplication" |
| 43 | android:allowBackup="true" |
| 44 | android:backupAgent="DeskClockBackupAgent" |
| 45 | android:fullBackupContent="@xml/backup_scheme" |
| 46 | android:fullBackupOnly="true" |
| 47 | android:icon="@mipmap/ic_launcher_alarmclock" |
| 48 | android:label="@string/app_label" |
| 49 | android:requiredForAllUsers="true" |
| 50 | android:supportsRtl="true"> |
The Android Open Source Project | 5fedae0 | 2009-03-03 19:32:15 -0800 | [diff] [blame] | 51 | |
Justin Klaassen | b94725c | 2015-12-02 11:52:44 -0800 | [diff] [blame] | 52 | <provider |
| 53 | android:name=".provider.ClockProvider" |
| 54 | android:authorities="com.android.deskclock" |
| 55 | android:exported="false" /> |
The Android Open Source Project | 5fedae0 | 2009-03-03 19:32:15 -0800 | [diff] [blame] | 56 | |
Justin Klaassen | b94725c | 2015-12-02 11:52:44 -0800 | [diff] [blame] | 57 | <activity |
| 58 | android:name=".DeskClock" |
| 59 | android:icon="@mipmap/ic_launcher_alarmclock" |
| 60 | android:label="@string/app_label" |
| 61 | android:launchMode="singleTask" |
| 62 | android:theme="@style/DeskClockTheme"> |
The Android Open Source Project | 5fedae0 | 2009-03-03 19:32:15 -0800 | [diff] [blame] | 63 | <intent-filter> |
| 64 | <action android:name="android.intent.action.MAIN" /> |
| 65 | <category android:name="android.intent.category.DEFAULT" /> |
| 66 | <category android:name="android.intent.category.LAUNCHER" /> |
| 67 | </intent-filter> |
| 68 | </activity> |
| 69 | |
Justin Klaassen | b94725c | 2015-12-02 11:52:44 -0800 | [diff] [blame] | 70 | <activity-alias |
| 71 | android:name=".DockClock" |
Justin Klaassen | c624a3f | 2015-12-21 19:08:28 -0800 | [diff] [blame^] | 72 | android:enabled="false" |
Justin Klaassen | b94725c | 2015-12-02 11:52:44 -0800 | [diff] [blame] | 73 | android:icon="@mipmap/ic_launcher_alarmclock" |
| 74 | android:label="@string/app_label" |
| 75 | android:launchMode="singleTask" |
| 76 | android:targetActivity="DeskClock" |
| 77 | android:theme="@style/DeskClockTheme"> |
Daniel Sandler | dce9d31 | 2012-09-27 21:49:44 -0400 | [diff] [blame] | 78 | <intent-filter> |
| 79 | <action android:name="android.intent.action.MAIN" /> |
| 80 | <category android:name="android.intent.category.DEFAULT" /> |
| 81 | <category android:name="android.intent.category.DESK_DOCK" /> |
| 82 | </intent-filter> |
| 83 | </activity-alias> |
| 84 | |
Justin Klaassen | b94725c | 2015-12-02 11:52:44 -0800 | [diff] [blame] | 85 | <activity |
| 86 | android:name=".settings.SettingsActivity" |
| 87 | android:excludeFromRecents="true" |
| 88 | android:label="@string/settings" |
| 89 | android:taskAffinity="" |
| 90 | android:theme="@style/SettingsTheme"> |
Jason Parekh | 13e9021 | 2009-03-24 17:50:29 -0700 | [diff] [blame] | 91 | <intent-filter> |
| 92 | <action android:name="android.intent.action.MAIN" /> |
| 93 | </intent-filter> |
| 94 | </activity> |
| 95 | |
Justin Klaassen | b94725c | 2015-12-02 11:52:44 -0800 | [diff] [blame] | 96 | <activity |
| 97 | android:name=".worldclock.CitySelectionActivity" |
| 98 | android:excludeFromRecents="true" |
| 99 | android:label="@string/cities_activity_title" |
| 100 | android:taskAffinity="" |
| 101 | android:theme="@style/CitiesTheme"> |
Isaac Katzenelson | 948edb5 | 2012-09-27 10:09:06 -0700 | [diff] [blame] | 102 | <intent-filter> |
| 103 | <action android:name="android.intent.action.MAIN" /> |
| 104 | </intent-filter> |
| 105 | </activity> |
| 106 | |
Justin Klaassen | b94725c | 2015-12-02 11:52:44 -0800 | [diff] [blame] | 107 | <activity |
| 108 | android:name=".alarms.AlarmActivity" |
| 109 | android:excludeFromRecents="true" |
| 110 | android:showOnLockScreen="true" |
| 111 | android:taskAffinity="" |
| 112 | android:theme="@style/AlarmAlertFullScreenTheme" |
| 113 | android:windowSoftInputMode="stateAlwaysHidden" /> |
The Android Open Source Project | 5fedae0 | 2009-03-03 19:32:15 -0800 | [diff] [blame] | 114 | |
Justin Klaassen | b94725c | 2015-12-02 11:52:44 -0800 | [diff] [blame] | 115 | <activity |
| 116 | android:name=".ScreensaverActivity" |
| 117 | android:configChanges="orientation|screenSize|keyboardHidden|keyboard" |
| 118 | android:excludeFromRecents="true" |
| 119 | android:taskAffinity="" |
| 120 | android:theme="@style/ScreensaverActivityTheme" /> |
Sam Blitzstein | 78b8e15 | 2012-10-17 18:31:27 -0700 | [diff] [blame] | 121 | |
Justin Klaassen | b94725c | 2015-12-02 11:52:44 -0800 | [diff] [blame] | 122 | <receiver |
| 123 | android:name=".alarms.AlarmStateManager" |
| 124 | android:exported="false" /> |
The Android Open Source Project | 5fedae0 | 2009-03-03 19:32:15 -0800 | [diff] [blame] | 125 | |
Justin Klaassen | b94725c | 2015-12-02 11:52:44 -0800 | [diff] [blame] | 126 | <service |
| 127 | android:name=".alarms.AlarmService" |
| 128 | android:exported="false" /> |
Paul Sliwowski | ab0d28c | 2013-08-26 17:26:21 -0700 | [diff] [blame] | 129 | |
Justin Klaassen | b94725c | 2015-12-02 11:52:44 -0800 | [diff] [blame] | 130 | <activity |
| 131 | android:name=".HandleApiCalls" |
| 132 | android:excludeFromRecents="true" |
| 133 | android:launchMode="singleTask" |
| 134 | android:permission="com.android.alarm.permission.SET_ALARM" |
| 135 | android:taskAffinity="" |
| 136 | android:theme="@android:style/Theme.NoDisplay"> |
Patrick Scott | 6c528aa | 2010-09-22 09:17:29 -0400 | [diff] [blame] | 137 | <intent-filter> |
| 138 | <action android:name="android.intent.action.SET_ALARM" /> |
| 139 | <category android:name="android.intent.category.DEFAULT" /> |
James Lemieux | 76846b7 | 2015-07-20 18:02:58 -0700 | [diff] [blame] | 140 | <category android:name="android.intent.category.VOICE" /> |
Patrick Scott | 6c528aa | 2010-09-22 09:17:29 -0400 | [diff] [blame] | 141 | </intent-filter> |
Isaac Katzenelson | 37dcae4 | 2013-08-23 10:48:03 -0700 | [diff] [blame] | 142 | <intent-filter> |
Daria Evdokimova | 972fca9 | 2015-06-11 15:07:32 -0700 | [diff] [blame] | 143 | <action android:name="android.intent.action.DISMISS_ALARM" /> |
| 144 | <category android:name="android.intent.category.DEFAULT" /> |
James Lemieux | 76846b7 | 2015-07-20 18:02:58 -0700 | [diff] [blame] | 145 | <category android:name="android.intent.category.VOICE" /> |
Daria Evdokimova | 972fca9 | 2015-06-11 15:07:32 -0700 | [diff] [blame] | 146 | </intent-filter> |
| 147 | <intent-filter> |
Daria Evdokimova | 15888e3 | 2015-06-12 18:21:10 -0700 | [diff] [blame] | 148 | <action android:name="android.intent.action.SNOOZE_ALARM" /> |
| 149 | <category android:name="android.intent.category.DEFAULT" /> |
James Lemieux | 76846b7 | 2015-07-20 18:02:58 -0700 | [diff] [blame] | 150 | <category android:name="android.intent.category.VOICE" /> |
Daria Evdokimova | 15888e3 | 2015-06-12 18:21:10 -0700 | [diff] [blame] | 151 | </intent-filter> |
| 152 | <intent-filter> |
Alon Albert | 101ed3d | 2013-08-30 11:25:31 -0700 | [diff] [blame] | 153 | <action android:name="android.intent.action.SHOW_ALARMS" /> |
| 154 | <category android:name="android.intent.category.DEFAULT" /> |
James Lemieux | 76846b7 | 2015-07-20 18:02:58 -0700 | [diff] [blame] | 155 | <category android:name="android.intent.category.VOICE" /> |
Alon Albert | 101ed3d | 2013-08-30 11:25:31 -0700 | [diff] [blame] | 156 | </intent-filter> |
| 157 | <intent-filter> |
Isaac Katzenelson | 37dcae4 | 2013-08-23 10:48:03 -0700 | [diff] [blame] | 158 | <action android:name="android.intent.action.SET_TIMER" /> |
| 159 | <category android:name="android.intent.category.DEFAULT" /> |
James Lemieux | 76846b7 | 2015-07-20 18:02:58 -0700 | [diff] [blame] | 160 | <category android:name="android.intent.category.VOICE" /> |
Isaac Katzenelson | 37dcae4 | 2013-08-23 10:48:03 -0700 | [diff] [blame] | 161 | </intent-filter> |
Patrick Scott | 6c528aa | 2010-09-22 09:17:29 -0400 | [diff] [blame] | 162 | </activity> |
| 163 | |
Justin Klaassen | b94725c | 2015-12-02 11:52:44 -0800 | [diff] [blame] | 164 | <activity-alias |
| 165 | android:name="HandleSetAlarm" |
| 166 | android:exported="true" |
| 167 | android:targetActivity=".HandleApiCalls" /> |
Isaac Katzenelson | 37dcae4 | 2013-08-23 10:48:03 -0700 | [diff] [blame] | 168 | |
Justin Klaassen | b94725c | 2015-12-02 11:52:44 -0800 | [diff] [blame] | 169 | <activity |
| 170 | android:name=".HandleDeskClockApiCalls" |
Daria Evdokimova | 5f59453 | 2015-05-26 18:49:34 -0700 | [diff] [blame] | 171 | android:excludeFromRecents="true" |
| 172 | android:launchMode="singleTask" |
James Lemieux | 76846b7 | 2015-07-20 18:02:58 -0700 | [diff] [blame] | 173 | android:permission="com.android.alarm.permission.SET_ALARM" |
Justin Klaassen | b94725c | 2015-12-02 11:52:44 -0800 | [diff] [blame] | 174 | android:taskAffinity="" |
| 175 | android:theme="@android:style/Theme.NoDisplay"> |
Daria Evdokimova | 5f59453 | 2015-05-26 18:49:34 -0700 | [diff] [blame] | 176 | <intent-filter> |
Daria Evdokimova | 972fca9 | 2015-06-11 15:07:32 -0700 | [diff] [blame] | 177 | <action android:name="com.android.deskclock.action.SHOW_CLOCK" /> |
Daria Evdokimova | 5f59453 | 2015-05-26 18:49:34 -0700 | [diff] [blame] | 178 | <category android:name="android.intent.category.DEFAULT" /> |
James Lemieux | 76846b7 | 2015-07-20 18:02:58 -0700 | [diff] [blame] | 179 | <category android:name="android.intent.category.VOICE" /> |
Daria Evdokimova | 5f59453 | 2015-05-26 18:49:34 -0700 | [diff] [blame] | 180 | </intent-filter> |
| 181 | <intent-filter> |
Daria Evdokimova | 972fca9 | 2015-06-11 15:07:32 -0700 | [diff] [blame] | 182 | <action android:name="com.android.deskclock.action.ADD_CLOCK" /> |
Daria Evdokimova | 5f59453 | 2015-05-26 18:49:34 -0700 | [diff] [blame] | 183 | <category android:name="android.intent.category.DEFAULT" /> |
James Lemieux | 76846b7 | 2015-07-20 18:02:58 -0700 | [diff] [blame] | 184 | <category android:name="android.intent.category.VOICE" /> |
Daria Evdokimova | 5f59453 | 2015-05-26 18:49:34 -0700 | [diff] [blame] | 185 | </intent-filter> |
| 186 | <intent-filter> |
Daria Evdokimova | 972fca9 | 2015-06-11 15:07:32 -0700 | [diff] [blame] | 187 | <action android:name="com.android.deskclock.action.DELETE_CLOCK" /> |
Daria Evdokimova | 5f59453 | 2015-05-26 18:49:34 -0700 | [diff] [blame] | 188 | <category android:name="android.intent.category.DEFAULT" /> |
James Lemieux | 76846b7 | 2015-07-20 18:02:58 -0700 | [diff] [blame] | 189 | <category android:name="android.intent.category.VOICE" /> |
Daria Evdokimova | 5f59453 | 2015-05-26 18:49:34 -0700 | [diff] [blame] | 190 | </intent-filter> |
| 191 | <intent-filter> |
Daria Evdokimova | 972fca9 | 2015-06-11 15:07:32 -0700 | [diff] [blame] | 192 | <action android:name="com.android.deskclock.action.START_TIMER" /> |
Daria Evdokimova | 5f59453 | 2015-05-26 18:49:34 -0700 | [diff] [blame] | 193 | <category android:name="android.intent.category.DEFAULT" /> |
James Lemieux | 76846b7 | 2015-07-20 18:02:58 -0700 | [diff] [blame] | 194 | <category android:name="android.intent.category.VOICE" /> |
Daria Evdokimova | 5f59453 | 2015-05-26 18:49:34 -0700 | [diff] [blame] | 195 | </intent-filter> |
| 196 | <intent-filter> |
Daria Evdokimova | 972fca9 | 2015-06-11 15:07:32 -0700 | [diff] [blame] | 197 | <action android:name="com.android.deskclock.action.RESET_TIMER" /> |
Daria Evdokimova | 5f59453 | 2015-05-26 18:49:34 -0700 | [diff] [blame] | 198 | <category android:name="android.intent.category.DEFAULT" /> |
James Lemieux | 76846b7 | 2015-07-20 18:02:58 -0700 | [diff] [blame] | 199 | <category android:name="android.intent.category.VOICE" /> |
Daria Evdokimova | 5f59453 | 2015-05-26 18:49:34 -0700 | [diff] [blame] | 200 | </intent-filter> |
| 201 | <intent-filter> |
James Lemieux | 6d603b7 | 2015-11-06 16:36:59 -0800 | [diff] [blame] | 202 | <action android:name="com.android.deskclock.action.PAUSE_TIMER" /> |
Daria Evdokimova | 5f59453 | 2015-05-26 18:49:34 -0700 | [diff] [blame] | 203 | <category android:name="android.intent.category.DEFAULT" /> |
James Lemieux | 76846b7 | 2015-07-20 18:02:58 -0700 | [diff] [blame] | 204 | <category android:name="android.intent.category.VOICE" /> |
Daria Evdokimova | 5f59453 | 2015-05-26 18:49:34 -0700 | [diff] [blame] | 205 | </intent-filter> |
| 206 | <intent-filter> |
Daria Evdokimova | 972fca9 | 2015-06-11 15:07:32 -0700 | [diff] [blame] | 207 | <action android:name="com.android.deskclock.action.SHOW_TIMERS" /> |
Daria Evdokimova | 5f59453 | 2015-05-26 18:49:34 -0700 | [diff] [blame] | 208 | <category android:name="android.intent.category.DEFAULT" /> |
James Lemieux | 76846b7 | 2015-07-20 18:02:58 -0700 | [diff] [blame] | 209 | <category android:name="android.intent.category.VOICE" /> |
Daria Evdokimova | 5f59453 | 2015-05-26 18:49:34 -0700 | [diff] [blame] | 210 | </intent-filter> |
| 211 | <intent-filter> |
Daria Evdokimova | 972fca9 | 2015-06-11 15:07:32 -0700 | [diff] [blame] | 212 | <action android:name="com.android.deskclock.action.DELETE_TIMER" /> |
Daria Evdokimova | 5f59453 | 2015-05-26 18:49:34 -0700 | [diff] [blame] | 213 | <category android:name="android.intent.category.DEFAULT" /> |
James Lemieux | 76846b7 | 2015-07-20 18:02:58 -0700 | [diff] [blame] | 214 | <category android:name="android.intent.category.VOICE" /> |
Daria Evdokimova | 5f59453 | 2015-05-26 18:49:34 -0700 | [diff] [blame] | 215 | </intent-filter> |
| 216 | <intent-filter> |
Daria Evdokimova | 972fca9 | 2015-06-11 15:07:32 -0700 | [diff] [blame] | 217 | <action android:name="com.android.deskclock.action.SHOW_STOPWATCH" /> |
Daria Evdokimova | 5f59453 | 2015-05-26 18:49:34 -0700 | [diff] [blame] | 218 | <category android:name="android.intent.category.DEFAULT" /> |
James Lemieux | 76846b7 | 2015-07-20 18:02:58 -0700 | [diff] [blame] | 219 | <category android:name="android.intent.category.VOICE" /> |
Daria Evdokimova | 5f59453 | 2015-05-26 18:49:34 -0700 | [diff] [blame] | 220 | </intent-filter> |
| 221 | <intent-filter> |
Daria Evdokimova | 972fca9 | 2015-06-11 15:07:32 -0700 | [diff] [blame] | 222 | <action android:name="com.android.deskclock.action.START_STOPWATCH" /> |
Daria Evdokimova | 5f59453 | 2015-05-26 18:49:34 -0700 | [diff] [blame] | 223 | <category android:name="android.intent.category.DEFAULT" /> |
James Lemieux | 76846b7 | 2015-07-20 18:02:58 -0700 | [diff] [blame] | 224 | <category android:name="android.intent.category.VOICE" /> |
Daria Evdokimova | 5f59453 | 2015-05-26 18:49:34 -0700 | [diff] [blame] | 225 | </intent-filter> |
| 226 | <intent-filter> |
James Lemieux | 24a54fc | 2015-09-18 16:45:45 -0700 | [diff] [blame] | 227 | <action android:name="com.android.deskclock.action.PAUSE_STOPWATCH" /> |
Daria Evdokimova | 5f59453 | 2015-05-26 18:49:34 -0700 | [diff] [blame] | 228 | <category android:name="android.intent.category.DEFAULT" /> |
James Lemieux | 76846b7 | 2015-07-20 18:02:58 -0700 | [diff] [blame] | 229 | <category android:name="android.intent.category.VOICE" /> |
Daria Evdokimova | 5f59453 | 2015-05-26 18:49:34 -0700 | [diff] [blame] | 230 | </intent-filter> |
| 231 | <intent-filter> |
Daria Evdokimova | 972fca9 | 2015-06-11 15:07:32 -0700 | [diff] [blame] | 232 | <action android:name="com.android.deskclock.action.LAP_STOPWATCH" /> |
Daria Evdokimova | 5f59453 | 2015-05-26 18:49:34 -0700 | [diff] [blame] | 233 | <category android:name="android.intent.category.DEFAULT" /> |
James Lemieux | 76846b7 | 2015-07-20 18:02:58 -0700 | [diff] [blame] | 234 | <category android:name="android.intent.category.VOICE" /> |
Daria Evdokimova | 5f59453 | 2015-05-26 18:49:34 -0700 | [diff] [blame] | 235 | </intent-filter> |
| 236 | <intent-filter> |
Daria Evdokimova | 972fca9 | 2015-06-11 15:07:32 -0700 | [diff] [blame] | 237 | <action android:name="com.android.deskclock.action.RESET_STOPWATCH" /> |
Daria Evdokimova | 5f59453 | 2015-05-26 18:49:34 -0700 | [diff] [blame] | 238 | <category android:name="android.intent.category.DEFAULT" /> |
James Lemieux | 76846b7 | 2015-07-20 18:02:58 -0700 | [diff] [blame] | 239 | <category android:name="android.intent.category.VOICE" /> |
Daria Evdokimova | 5f59453 | 2015-05-26 18:49:34 -0700 | [diff] [blame] | 240 | </intent-filter> |
| 241 | </activity> |
Patrick Scott | d776e51 | 2009-06-26 14:52:56 -0400 | [diff] [blame] | 242 | |
Justin Klaassen | b94725c | 2015-12-02 11:52:44 -0800 | [diff] [blame] | 243 | <receiver android:name=".AlarmInitReceiver"> |
The Android Open Source Project | 5fedae0 | 2009-03-03 19:32:15 -0800 | [diff] [blame] | 244 | <intent-filter> |
| 245 | <action android:name="android.intent.action.BOOT_COMPLETED" /> |
| 246 | <action android:name="android.intent.action.TIME_SET" /> |
| 247 | <action android:name="android.intent.action.TIMEZONE_CHANGED" /> |
Eric Fischer | 7468e21 | 2009-12-10 14:19:09 -0800 | [diff] [blame] | 248 | <action android:name="android.intent.action.LOCALE_CHANGED" /> |
Annie Chin | a9bd1af | 2015-08-26 12:29:03 -0700 | [diff] [blame] | 249 | <action android:name="android.intent.action.MY_PACKAGE_REPLACED" /> |
The Android Open Source Project | 5fedae0 | 2009-03-03 19:32:15 -0800 | [diff] [blame] | 250 | </intent-filter> |
| 251 | </receiver> |
| 252 | |
James Lemieux | 34142b1 | 2015-08-13 15:52:55 -0700 | [diff] [blame] | 253 | <receiver |
| 254 | android:name="com.android.alarmclock.AnalogAppWidgetProvider" |
| 255 | android:icon="@mipmap/ic_launcher_alarmclock" |
| 256 | android:label="@string/analog_gadget"> |
The Android Open Source Project | 5fedae0 | 2009-03-03 19:32:15 -0800 | [diff] [blame] | 257 | <intent-filter> |
Justin Klaassen | b94725c | 2015-12-02 11:52:44 -0800 | [diff] [blame] | 258 | <action android:name="android.appwidget.action.APPWIDGET_UPDATE" /> |
The Android Open Source Project | 5fedae0 | 2009-03-03 19:32:15 -0800 | [diff] [blame] | 259 | </intent-filter> |
James Lemieux | 34142b1 | 2015-08-13 15:52:55 -0700 | [diff] [blame] | 260 | |
| 261 | <meta-data |
| 262 | android:name="android.appwidget.oldName" |
Justin Klaassen | b94725c | 2015-12-02 11:52:44 -0800 | [diff] [blame] | 263 | android:value="com.android.deskclock.AnalogAppWidgetProvider" /> |
James Lemieux | 34142b1 | 2015-08-13 15:52:55 -0700 | [diff] [blame] | 264 | <meta-data |
| 265 | android:name="android.appwidget.provider" |
Justin Klaassen | b94725c | 2015-12-02 11:52:44 -0800 | [diff] [blame] | 266 | android:resource="@xml/analog_appwidget" /> |
The Android Open Source Project | 5fedae0 | 2009-03-03 19:32:15 -0800 | [diff] [blame] | 267 | </receiver> |
Daniel Sandler | c57490d | 2011-05-05 16:51:08 -0400 | [diff] [blame] | 268 | |
James Lemieux | 34142b1 | 2015-08-13 15:52:55 -0700 | [diff] [blame] | 269 | <receiver |
| 270 | android:name="com.android.alarmclock.DigitalAppWidgetProvider" |
| 271 | android:icon="@mipmap/ic_launcher_alarmclock" |
| 272 | android:label="@string/digital_gadget"> |
Isaac Katzenelson | 7048625 | 2012-10-24 14:23:59 -0700 | [diff] [blame] | 273 | <intent-filter> |
Justin Klaassen | b94725c | 2015-12-02 11:52:44 -0800 | [diff] [blame] | 274 | <action android:name="android.intent.action.TIME_SET" /> |
| 275 | <action android:name="android.intent.action.SCREEN_ON" /> |
| 276 | <action android:name="android.intent.action.DATE_CHANGED" /> |
| 277 | <action android:name="android.intent.action.LOCALE_CHANGED" /> |
| 278 | <action android:name="android.intent.action.TIMEZONE_CHANGED" /> |
| 279 | <action android:name="com.android.deskclock.DIGITAL_WIDGET_CHANGED" /> |
| 280 | <action android:name="com.android.deskclock.ON_QUARTER_HOUR" /> |
| 281 | <action android:name="android.appwidget.action.APPWIDGET_UPDATE" /> |
| 282 | <action android:name="android.app.action.NEXT_ALARM_CLOCK_CHANGED" /> |
James Lemieux | 34142b1 | 2015-08-13 15:52:55 -0700 | [diff] [blame] | 283 | </intent-filter> |
| 284 | <meta-data |
| 285 | android:name="android.appwidget.provider" |
Justin Klaassen | b94725c | 2015-12-02 11:52:44 -0800 | [diff] [blame] | 286 | android:resource="@xml/digital_appwidget" /> |
Isaac Katzenelson | 7048625 | 2012-10-24 14:23:59 -0700 | [diff] [blame] | 287 | </receiver> |
| 288 | |
Justin Klaassen | b94725c | 2015-12-02 11:52:44 -0800 | [diff] [blame] | 289 | <service |
| 290 | android:name="com.android.alarmclock.DigitalAppWidgetService" |
| 291 | android:exported="false" |
| 292 | android:permission="android.permission.BIND_REMOTEVIEWS" /> |
Isaac Katzenelson | 7048625 | 2012-10-24 14:23:59 -0700 | [diff] [blame] | 293 | |
Daniel Sandler | 8f873a2 | 2012-09-29 00:25:18 -0400 | [diff] [blame] | 294 | <!-- Dream (screensaver) implementation --> |
Justin Klaassen | b94725c | 2015-12-02 11:52:44 -0800 | [diff] [blame] | 295 | <service |
| 296 | android:name=".Screensaver" |
John Spurlock | 90dc136 | 2012-07-31 08:26:46 -0400 | [diff] [blame] | 297 | android:exported="true" |
Budi Kusmiantoro | c913ae6 | 2014-09-24 18:31:20 -0700 | [diff] [blame] | 298 | android:label="@string/app_label" |
| 299 | android:permission="android.permission.BIND_DREAM_SERVICE"> |
Daniel Sandler | c57490d | 2011-05-05 16:51:08 -0400 | [diff] [blame] | 300 | <intent-filter> |
Daniel Sandler | 17b4ca4 | 2012-09-28 23:07:53 -0400 | [diff] [blame] | 301 | <action android:name="android.service.dreams.DreamService" /> |
Adrian Roos | c074327 | 2014-07-09 17:45:04 +0200 | [diff] [blame] | 302 | <action android:name="android.app.action.NEXT_ALARM_CLOCK_CHANGED" /> |
Daniel Sandler | c57490d | 2011-05-05 16:51:08 -0400 | [diff] [blame] | 303 | <category android:name="android.intent.category.DEFAULT" /> |
Daniel Sandler | c57490d | 2011-05-05 16:51:08 -0400 | [diff] [blame] | 304 | </intent-filter> |
Daniel Sandler | 8f873a2 | 2012-09-29 00:25:18 -0400 | [diff] [blame] | 305 | <meta-data |
| 306 | android:name="android.service.dream" |
| 307 | android:resource="@xml/dream_info" /> |
John Spurlock | 90dc136 | 2012-07-31 08:26:46 -0400 | [diff] [blame] | 308 | </service> |
Isaac Katzenelson | dfb182f | 2012-09-17 14:54:45 -0700 | [diff] [blame] | 309 | |
Daniel Sandler | 8f873a2 | 2012-09-29 00:25:18 -0400 | [diff] [blame] | 310 | <!-- Settings activity for screensaver --> |
Justin Klaassen | b94725c | 2015-12-02 11:52:44 -0800 | [diff] [blame] | 311 | <activity |
| 312 | android:name=".settings.ScreensaverSettingsActivity" |
| 313 | android:excludeFromRecents="true" |
| 314 | android:exported="true" |
| 315 | android:label="@string/screensaver_settings" |
| 316 | android:taskAffinity="" |
| 317 | android:theme="@style/SettingsTheme"> |
Daniel Sandler | 8f873a2 | 2012-09-29 00:25:18 -0400 | [diff] [blame] | 318 | <intent-filter> |
| 319 | <action android:name="android.intent.action.MAIN" /> |
| 320 | </intent-filter> |
| 321 | </activity> |
| 322 | |
Daria Evdokimova | e6f7354 | 2015-06-12 17:12:23 -0700 | [diff] [blame] | 323 | <activity |
| 324 | android:name=".AlarmSelectionActivity" |
| 325 | android:label="@string/dismiss_alarm" |
Justin Klaassen | b94725c | 2015-12-02 11:52:44 -0800 | [diff] [blame] | 326 | android:theme="@android:style/Theme.Holo.Light.Dialog.NoActionBar" /> |
Daria Evdokimova | e6f7354 | 2015-06-12 17:12:23 -0700 | [diff] [blame] | 327 | |
James Lemieux | 6d603b7 | 2015-11-06 16:36:59 -0800 | [diff] [blame] | 328 | <!-- This activity displays only the timers that have expired with only a reset button |
| 329 | present. This makes the activity appropriate for display above the lock screen so that |
| 330 | users have the limited ability to silence expired timers but nothing else. --> |
Justin Klaassen | b94725c | 2015-12-02 11:52:44 -0800 | [diff] [blame] | 331 | <activity |
| 332 | android:name=".timer.ExpiredTimersActivity" |
| 333 | android:configChanges="screenSize|keyboardHidden|keyboard|navigation" |
| 334 | android:excludeFromRecents="true" |
| 335 | android:launchMode="singleInstance" |
| 336 | android:showOnLockScreen="true" |
| 337 | android:taskAffinity="" |
| 338 | android:theme="@style/ExpiredTimersActivityTheme" /> |
Robyn Coultas | 733afe5 | 2012-09-30 12:58:21 -0700 | [diff] [blame] | 339 | |
Justin Klaassen | b94725c | 2015-12-02 11:52:44 -0800 | [diff] [blame] | 340 | <service |
| 341 | android:name=".timer.TimerService" |
| 342 | android:description="@string/timer_service_desc" |
Justin Klaassen | c624a3f | 2015-12-21 19:08:28 -0800 | [diff] [blame^] | 343 | android:exported="false" |
| 344 | tools:ignore="ManifestResource" /> |
Isaac Katzenelson | 5cacdd0 | 2012-09-24 21:12:09 -0700 | [diff] [blame] | 345 | |
Justin Klaassen | b94725c | 2015-12-02 11:52:44 -0800 | [diff] [blame] | 346 | <service |
| 347 | android:name=".stopwatch.StopwatchService" |
| 348 | android:description="@string/stopwatch_service_desc" |
Justin Klaassen | c624a3f | 2015-12-21 19:08:28 -0800 | [diff] [blame^] | 349 | android:exported="false" |
| 350 | tools:ignore="ManifestResource" /> |
Justin Klaassen | b94725c | 2015-12-02 11:52:44 -0800 | [diff] [blame] | 351 | |
The Android Open Source Project | 5fedae0 | 2009-03-03 19:32:15 -0800 | [diff] [blame] | 352 | </application> |
| 353 | </manifest> |