blob: b030918594b780e74ec3cfcbcff808312f1051d7 [file] [log] [blame]
The Android Open Source Project5fedae02009-03-03 19:32:15 -08001<manifest xmlns:android="http://schemas.android.com/apk/res/android"
Daniel Sandlerfa954242009-10-16 16:12:30 -04002 package="com.android.deskclock">
The Android Open Source Project5fedae02009-03-03 19:32:15 -08003
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" />
Patrick Scott3175f152009-09-03 16:13:26 -04009 <uses-permission android:name="android.permission.READ_PHONE_STATE" />
The Android Open Source Project5fedae02009-03-03 19:32:15 -080010
11 <application android:label="@string/app_label"
12 android:icon="@drawable/ic_launcher_alarmclock">
13
Daniel Sandlerfa954242009-10-16 16:12:30 -040014 <provider android:name="AlarmProvider" android:authorities="com.android.deskclock" />
The Android Open Source Project5fedae02009-03-03 19:32:15 -080015
Daniel Sandlerf8317ad2009-10-20 16:51:32 -040016 <activity android:name="DeskClock"
17 android:label="@string/app_label"
18 android:theme="@android:style/Theme.Wallpaper.NoTitleBar"
Mike Cleronf8d2e942009-10-02 00:28:57 -070019 android:icon="@drawable/ic_widget_analog_clock"
Daniel Sandlere6cf24d2009-11-02 16:23:52 -050020 android:launchMode="singleInstance"
Daniel Sandler2763ab42009-10-27 16:46:57 -040021 android:configChanges="orientation|keyboardHidden|keyboard|navigation">
Daniel Sandlerd1373322009-10-27 09:46:05 -040022 >
Daniel Sandlere6cf24d2009-11-02 16:23:52 -050023
24 <!-- while docked, this is our home application -->
25 <meta-data android:name="android.dock_home" android:value="true" />
26
The Android Open Source Project5fedae02009-03-03 19:32:15 -080027 <intent-filter>
28 <action android:name="android.intent.action.MAIN" />
29 <category android:name="android.intent.category.DEFAULT" />
30 <category android:name="android.intent.category.LAUNCHER" />
Daniel Sandlerfa954242009-10-16 16:12:30 -040031 <category android:name="android.intent.category.DESK_DOCK" />
The Android Open Source Project5fedae02009-03-03 19:32:15 -080032 </intent-filter>
33 </activity>
34
Daniel Sandler8423a172009-11-12 13:40:19 -080035 <activity android:name="AlarmClock"
36 android:label="@string/alarm_list_title"
37 android:taskAffinity=""
38 android:excludeFromRecents="true"
39 android:configChanges="orientation|keyboardHidden|keyboard|navigation"
40 >
Daniel Sandlerf8317ad2009-10-20 16:51:32 -040041 <intent-filter>
42 <action android:name="android.intent.action.MAIN" />
43 </intent-filter>
44 </activity>
45
Daniel Sandler8423a172009-11-12 13:40:19 -080046 <activity android:name="SettingsActivity"
47 android:label="@string/settings"
48 android:taskAffinity=""
49 android:excludeFromRecents="true"
50 >
Jason Parekh13e90212009-03-24 17:50:29 -070051 <intent-filter>
52 <action android:name="android.intent.action.MAIN" />
53 </intent-filter>
54 </activity>
55
Patrick Scottc8928152009-05-14 11:12:54 -040056 <activity android:name="SetAlarm" android:label="@string/set_alarm"
57 android:configChanges="orientation|keyboardHidden|keyboard|navigation" />
The Android Open Source Project5fedae02009-03-03 19:32:15 -080058
Patrick Scottf47699d2009-05-13 08:27:34 -040059 <activity android:name="AlarmAlert"
The Android Open Source Project5fedae02009-03-03 19:32:15 -080060 android:excludeFromRecents="true"
Patrick Scottf47699d2009-05-13 08:27:34 -040061 android:theme="@style/alarm_alert"
Dianne Hackborn29dbeab2009-09-22 13:44:12 -070062 android:launchMode="singleInstance"
63 android:taskAffinity=""
Patrick Scottf47699d2009-05-13 08:27:34 -040064 android:configChanges="orientation|keyboardHidden|keyboard|navigation"/>
65
66 <!-- This activity is basically the same as AlarmAlert but with a more
67 generic theme. It also shows as full screen (with status bar) but
68 with the wallpaper background. -->
69 <activity android:name="AlarmAlertFullScreen"
70 android:excludeFromRecents="true"
Dianne Hackborn29dbeab2009-09-22 13:44:12 -070071 android:theme="@android:style/Theme.Wallpaper.NoTitleBar"
72 android:launchMode="singleInstance"
73 android:taskAffinity=""
Patrick Scottf47699d2009-05-13 08:27:34 -040074 android:configChanges="orientation|keyboardHidden|keyboard|navigation"/>
The Android Open Source Project5fedae02009-03-03 19:32:15 -080075
The Android Open Source Project5fedae02009-03-03 19:32:15 -080076 <receiver android:name="AlarmReceiver">
77 <intent-filter>
Daniel Sandlerfa954242009-10-16 16:12:30 -040078 <action android:name="com.android.deskclock.ALARM_ALERT" />
Patrick Scottd776e512009-06-26 14:52:56 -040079 <action android:name="alarm_killed" />
80 <action android:name="cancel_snooze" />
The Android Open Source Project5fedae02009-03-03 19:32:15 -080081 </intent-filter>
82 </receiver>
83
Patrick Scottd776e512009-06-26 14:52:56 -040084 <!-- This service receives the same intent as AlarmReceiver but it does
85 not respond to the same broadcast. The AlarmReceiver will receive
86 the alert broadcast and will start this service with the same
87 intent. The service plays the alarm alert and vibrates the device.
88 This allows the alert to continue playing even if another activity
89 causes the AlarmAlert activity to pause. -->
90 <service android:name="AlarmKlaxon">
91 <intent-filter>
Daniel Sandlerfa954242009-10-16 16:12:30 -040092 <action android:name="com.android.deskclock.ALARM_ALERT" />
Patrick Scottd776e512009-06-26 14:52:56 -040093 </intent-filter>
94 </service>
95
The Android Open Source Project5fedae02009-03-03 19:32:15 -080096 <receiver android:name="AlarmInitReceiver">
97 <intent-filter>
98 <action android:name="android.intent.action.BOOT_COMPLETED" />
99 <action android:name="android.intent.action.TIME_SET" />
100 <action android:name="android.intent.action.TIMEZONE_CHANGED" />
101 </intent-filter>
102 </receiver>
103
Mike Cleronf8d2e942009-10-02 00:28:57 -0700104 <receiver android:name="AnalogAppWidgetProvider" android:label="@string/analog_gadget"
105 android:icon="@drawable/ic_widget_analog_clock">
The Android Open Source Project5fedae02009-03-03 19:32:15 -0800106 <intent-filter>
The Android Open Source Projectbcdf0e32009-03-11 12:11:58 -0700107 <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
The Android Open Source Project5fedae02009-03-03 19:32:15 -0800108 </intent-filter>
The Android Open Source Projectbcdf0e32009-03-11 12:11:58 -0700109 <meta-data android:name="android.appwidget.provider" android:resource="@xml/analog_appwidget" />
The Android Open Source Project5fedae02009-03-03 19:32:15 -0800110 </receiver>
Daniel Sandlerfa954242009-10-16 16:12:30 -0400111
112 <receiver android:name="DockEventReceiver">
113
114 <intent-filter>
115 <action android:name="android.intent.action.DOCK_EVENT" />
116 </intent-filter>
117
118 <intent-filter>
119 <action android:name="android.provider.Telephony.SECRET_CODE" />
120 <data android:scheme="android_secret_code" android:host="3375" /><!-- DESK -->
121 </intent-filter>
122
123 </receiver>
The Android Open Source Project5fedae02009-03-03 19:32:15 -0800124 </application>
125</manifest>
126