OSDN Git Service

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