1<manifest xmlns:android="http://schemas.android.com/apk/res/android" 2 package="com.android.alarmclock"> 3 4 <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> 5 <uses-permission android:name="android.permission.WAKE_LOCK"/> 6 <uses-permission android:name="android.permission.VIBRATE"/> 7 <uses-permission android:name="android.permission.WRITE_SETTINGS" /> 8 <uses-permission android:name="android.permission.DISABLE_KEYGUARD" /> 9 <uses-permission android:name="android.permission.READ_PHONE_STATE" /> 10 11 <application android:label="@string/app_label" 12 android:icon="@drawable/ic_launcher_alarmclock"> 13 14 <provider android:name="AlarmProvider" android:authorities="com.android.alarmclock" /> 15 16 <activity android:name="AlarmClock" android:label="@string/app_label" 17 android:icon="@drawable/ic_widget_analog_clock" 18 android:configChanges="orientation|keyboardHidden|keyboard|navigation"> 19 <intent-filter> 20 <action android:name="android.intent.action.MAIN" /> 21 <category android:name="android.intent.category.DEFAULT" /> 22 <category android:name="android.intent.category.LAUNCHER" /> 23 </intent-filter> 24 </activity> 25 26 <activity android:name="SettingsActivity" android:label="@string/settings"> 27 <intent-filter> 28 <action android:name="android.intent.action.MAIN" /> 29 </intent-filter> 30 </activity> 31 32 <activity android:name="SetAlarm" android:label="@string/set_alarm" 33 android:configChanges="orientation|keyboardHidden|keyboard|navigation" /> 34 35 <activity android:name="AlarmAlert" 36 android:excludeFromRecents="true" 37 android:theme="@style/alarm_alert" 38 android:launchMode="singleInstance" 39 android:taskAffinity="" 40 android:configChanges="orientation|keyboardHidden|keyboard|navigation"/> 41 42 <!-- This activity is basically the same as AlarmAlert but with a more 43 generic theme. It also shows as full screen (with status bar) but 44 with the wallpaper background. --> 45 <activity android:name="AlarmAlertFullScreen" 46 android:excludeFromRecents="true" 47 android:theme="@android:style/Theme.Wallpaper.NoTitleBar" 48 android:launchMode="singleInstance" 49 android:taskAffinity="" 50 android:configChanges="orientation|keyboardHidden|keyboard|navigation"/> 51 52 <activity android:name="ClockPicker" /> 53 54 <receiver android:name="AlarmReceiver"> 55 <intent-filter> 56 <action android:name="com.android.alarmclock.ALARM_ALERT" /> 57 <action android:name="alarm_killed" /> 58 <action android:name="cancel_snooze" /> 59 </intent-filter> 60 </receiver> 61 62 <!-- This service receives the same intent as AlarmReceiver but it does 63 not respond to the same broadcast. The AlarmReceiver will receive 64 the alert broadcast and will start this service with the same 65 intent. The service plays the alarm alert and vibrates the device. 66 This allows the alert to continue playing even if another activity 67 causes the AlarmAlert activity to pause. --> 68 <service android:name="AlarmKlaxon"> 69 <intent-filter> 70 <action android:name="com.android.alarmclock.ALARM_ALERT" /> 71 </intent-filter> 72 </service> 73 74 <receiver android:name="AlarmInitReceiver"> 75 <intent-filter> 76 <action android:name="android.intent.action.BOOT_COMPLETED" /> 77 <action android:name="android.intent.action.TIME_SET" /> 78 <action android:name="android.intent.action.TIMEZONE_CHANGED" /> 79 </intent-filter> 80 </receiver> 81 82 <receiver android:name="AnalogAppWidgetProvider" android:label="@string/analog_gadget" 83 android:icon="@drawable/ic_widget_analog_clock"> 84 <intent-filter> 85 <action android:name="android.appwidget.action.APPWIDGET_UPDATE" /> 86 </intent-filter> 87 <meta-data android:name="android.appwidget.provider" android:resource="@xml/analog_appwidget" /> 88 </receiver> 89 </application> 90</manifest> 91 92