1 <manifest xmlns:android="http://schemas.android.com/apk/res/android" 2 package="com.android.deskclock" 3 android:versionCode="301" android:versionName="3.0.0"> 4 5 <original-package android:name="com.android.alarmclock" /> 6 <original-package android:name="com.android.deskclock" /> 7 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" /> 13 <uses-permission android:name="android.permission.READ_PHONE_STATE" /> 14 <uses-permission android:name="android.permission.DEVICE_POWER" /> 15 <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> 16 <uses-sdk android:minSdkVersion="17" android:targetSdkVersion="17" ></uses-sdk> 17 18 <application android:label="@string/app_label" 19 android:icon="@mipmap/ic_launcher_alarmclock" 20 android:requiredForAllUsers="true" 21 android:supportsRtl="true"> 22 23 <provider android:name=".provider.ClockProvider" 24 android:authorities="com.android.deskclock" 25 android:exported="false" /> 26 27 <activity android:name="DeskClock" 28 android:label="@string/app_label" 29 android:theme="@style/DeskClock" 30 android:icon="@mipmap/ic_launcher_alarmclock" 31 android:launchMode="singleTask" 32 > 33 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 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 56 <activity android:name="SettingsActivity" 57 android:label="@string/settings" 58 android:theme="@style/SettingsTheme" 59 android:taskAffinity="" 60 android:excludeFromRecents="true" 61 > 62 <intent-filter> 63 <action android:name="android.intent.action.MAIN" /> 64 </intent-filter> 65 </activity> 66 67 <activity android:name=".worldclock.CitiesActivity" 68 android:label="@string/cities_activity_title" 69 android:theme="@style/CitiesTheme" 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 78 <activity android:name=".alarms.AlarmActivity" 79 android:taskAffinity="" 80 android:excludeFromRecents="true" 81 android:theme="@style/AlarmAlertFullScreenTheme" 82 android:windowSoftInputMode="stateAlwaysHidden" 83 android:showOnLockScreen="true" 84 android:configChanges="orientation|screenSize|keyboardHidden|keyboard|navigation"/> 85 86 <activity android:name="ScreensaverActivity" 87 android:excludeFromRecents="true" 88 android:taskAffinity="" 89 android:theme="@style/ScreensaverActivityTheme" 90 android:configChanges="orientation|screenSize|keyboardHidden|keyboard" /> 91 92 <receiver android:name=".alarms.AlarmStateManager" 93 android:exported="false"> 94 </receiver> 95 96 <service android:name=".alarms.AlarmService" 97 android:exported="false"> 98 </service> 99 100 <activity android:name="HandleApiCalls" 101 android:theme="@android:style/Theme.NoDisplay" 102 android:excludeFromRecents="true" 103 android:permission="com.android.alarm.permission.SET_ALARM"> 104 <intent-filter> 105 <action android:name="android.intent.action.SET_ALARM" /> 106 <category android:name="android.intent.category.DEFAULT" /> 107 </intent-filter> 108 <intent-filter> 109 <action android:name="android.intent.action.SHOW_ALARMS" /> 110 <category android:name="android.intent.category.DEFAULT" /> 111 </intent-filter> 112 <intent-filter> 113 <action android:name="android.intent.action.SET_TIMER" /> 114 <category android:name="android.intent.category.DEFAULT" /> 115 </intent-filter> 116 </activity> 117 118 <activity-alias android:name="HandleSetAlarm" 119 android:targetActivity=".HandleApiCalls" 120 android:exported="true"> 121 </activity-alias> 122 123 124 <receiver android:name="AlarmInitReceiver"> 125 <intent-filter> 126 <action android:name="android.intent.action.BOOT_COMPLETED" /> 127 <action android:name="android.intent.action.TIME_SET" /> 128 <action android:name="android.intent.action.TIMEZONE_CHANGED" /> 129 <action android:name="android.intent.action.LOCALE_CHANGED" /> 130 </intent-filter> 131 </receiver> 132 133 <receiver android:name="com.android.alarmclock.AnalogAppWidgetProvider" android:label="@string/analog_gadget" 134 android:icon="@mipmap/ic_launcher_alarmclock"> 135 <intent-filter> 136 <action android:name="android.appwidget.action.APPWIDGET_UPDATE" /> 137 </intent-filter> 138 <meta-data android:name="android.appwidget.oldName" android:value="com.android.deskclock.AnalogAppWidgetProvider" /> 139 <meta-data android:name="android.appwidget.provider" android:resource="@xml/analog_appwidget" /> 140 </receiver> 141 142 <receiver android:name="com.android.alarmclock.DigitalAppWidgetProvider" android:label="@string/digital_gadget" 143 android:icon="@mipmap/ic_launcher_alarmclock"> 144 <intent-filter> 145 <action android:name="android.appwidget.action.APPWIDGET_UPDATE" /> 146 <action android:name="com.android.deskclock.ON_QUARTER_HOUR" /> 147 <action android:name="android.intent.action.DATE_CHANGED" /> 148 <action android:name="android.intent.action.TIMEZONE_CHANGED" /> 149 <action android:name="android.intent.action.SCREEN_ON" /> 150 <action android:name="android.intent.action.TIME_SET" /> 151 <action android:name="android.intent.action.LOCALE_CHANGED" /> 152 <action android:name="android.intent.action.ALARM_CHANGED" /> 153 <action android:name="com.android.deskclock.worldclock.update" /> 154 </intent-filter> 155 <meta-data android:name="android.appwidget.provider" android:resource="@xml/digital_appwidget" /> 156 </receiver> 157 158 <service android:name="com.android.alarmclock.DigitalAppWidgetService" 159 android:permission="android.permission.BIND_REMOTEVIEWS" 160 android:exported="false" /> 161 162 <receiver android:name="com.android.alarmclock.DigitalWidgetViewsFactory" 163 android:exported="false" /> 164 165 <!-- Dream (screensaver) implementation --> 166 <service android:name="Screensaver" 167 android:exported="true" 168 android:label="@string/app_label"> 169 <intent-filter> 170 <action android:name="android.service.dreams.DreamService" /> 171 <category android:name="android.intent.category.DEFAULT" /> 172 </intent-filter> 173 <meta-data 174 android:name="android.service.dream" 175 android:resource="@xml/dream_info" /> 176 </service> 177 178 <!-- Settings activity for screensaver --> 179 <activity android:name=".ScreensaverSettingsActivity" 180 android:label="@string/screensaver_settings" 181 android:theme="@android:style/Theme.Holo" 182 android:taskAffinity="" 183 android:excludeFromRecents="true" 184 android:exported="true" 185 > 186 <intent-filter> 187 <action android:name="android.intent.action.MAIN" /> 188 </intent-filter> 189 </activity> 190 191 <!-- This activity is basically like the TimerFragment in DeskClock 192 but only during lock screen 193 so that is only has the fired timers --> 194 <activity android:name="com.android.deskclock.timer.TimerAlertFullScreen" 195 android:excludeFromRecents="true" 196 android:theme="@style/AlarmAlertFullScreenTheme" 197 android:launchMode="singleInstance" 198 android:showOnLockScreen="true" 199 android:taskAffinity="" 200 android:configChanges="orientation|screenSize|keyboardHidden|keyboard|navigation"/> 201 202 <service android:name="TimerRingService" 203 android:exported="false" 204 android:description="@string/timer_ring_service_desc"> 205 <intent-filter> 206 <action android:name="com.android.deskclock.TIMER_ALERT" /> 207 </intent-filter> 208 </service> 209 210 <receiver android:name="com.android.deskclock.timer.TimerReceiver" 211 android:exported="false"> 212 <intent-filter> 213 <action android:name="start_timer" /> 214 <action android:name="delete_timer" /> 215 <action android:name="times_up" /> 216 <action android:name="timer_stop" /> 217 <action android:name="timer_reset" /> 218 <action android:name="timer_done" /> 219 <action android:name="timer_update" /> 220 <action android:name="notif_in_use_show" /> 221 <action android:name="notif_in_use_cancel" /> 222 <action android:name="notif_times_up_stop" /> 223 <action android:name="notif_times_up_plus_one" /> 224 <action android:name="notif_times_up_show" /> 225 <action android:name="notif_times_up_cancel" /> 226 </intent-filter> 227 </receiver> 228 229 <service android:name="com.android.deskclock.stopwatch.StopwatchService" 230 android:exported="false" 231 android:description="@string/stopwatch_service_desc"> 232 <intent-filter> 233 <action android:name="start_stopwatch" /> 234 <action android:name="lap_stopwatch" /> 235 <action android:name="stop_stopwatch" /> 236 <action android:name="reset_stopwatch" /> 237 <action android:name="share_stopwatch" /> 238 </intent-filter> 239 </service> 240 </application> 241 </manifest> 242 243