forked from AOKP/packages_apps_DeskClock
-
Notifications
You must be signed in to change notification settings - Fork 0
/
AndroidManifest.xml
175 lines (153 loc) · 8.49 KB
/
AndroidManifest.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.android.deskclock"
android:versionCode="203" android:versionName="2.0.3">
<original-package android:name="com.android.alarmclock" />
<original-package android:name="com.android.deskclock" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.WAKE_LOCK"/>
<uses-permission android:name="android.permission.VIBRATE"/>
<uses-permission android:name="android.permission.WRITE_SETTINGS" />
<uses-permission android:name="android.permission.DISABLE_KEYGUARD" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.DEVICE_POWER" />
<uses-sdk android:minSdkVersion="4"/>
<application android:label="@string/app_label"
android:icon="@mipmap/ic_launcher_alarmclock">
<provider android:name="AlarmProvider"
android:authorities="com.android.deskclock"
android:exported="false" />
<activity android:name="DeskClock"
android:label="@string/app_label"
android:theme="@android:style/Theme.Holo.Wallpaper.NoTitleBar"
android:icon="@mipmap/ic_launcher_alarmclock"
android:launchMode="singleInstance"
android:configChanges="orientation|keyboardHidden|keyboard|navigation">
>
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.LAUNCHER" />
<category android:name="android.intent.category.DESK_DOCK" />
</intent-filter>
</activity>
<activity android:name="AlarmClock"
android:label="@string/alarm_list_title"
android:theme="@style/AlarmClockTheme"
android:taskAffinity=""
android:excludeFromRecents="true"
android:configChanges="orientation|keyboardHidden|keyboard|navigation"
android:exported="true" />
<activity-alias android:name="com.android.alarmclock.AlarmClock"
android:targetActivity="com.android.deskclock.AlarmClock"
android:exported="true" />
<activity android:name="SettingsActivity"
android:label="@string/settings"
android:taskAffinity=""
android:excludeFromRecents="true"
>
<intent-filter>
<action android:name="android.intent.action.MAIN" />
</intent-filter>
</activity>
<activity android:name="SetAlarm"
android:label="@string/set_alarm"
android:theme="@style/SetAlarmTheme"
android:configChanges="orientation|keyboardHidden|keyboard|navigation" />
<activity android:name="AlarmAlert"
android:excludeFromRecents="true"
android:theme="@android:style/Theme.Holo.Dialog"
android:launchMode="singleInstance"
android:taskAffinity=""
android:configChanges="orientation|keyboardHidden|keyboard|navigation"/>
<!-- This activity is basically the same as AlarmAlert
but full-screen so that it can turn the display on. -->
<activity android:name="AlarmAlertFullScreen"
android:excludeFromRecents="true"
android:theme="@style/AlarmAlertFullScreenTheme"
android:launchMode="singleInstance"
android:taskAffinity=""
android:configChanges="orientation|keyboardHidden|keyboard|navigation"/>
<receiver android:name="AlarmReceiver"
android:exported="false">
<intent-filter>
<action android:name="com.android.deskclock.ALARM_ALERT" />
<action android:name="alarm_killed" />
<action android:name="cancel_snooze" />
</intent-filter>
</receiver>
<activity android:name="HandleSetAlarm"
android:theme="@android:style/Theme.NoDisplay"
android:excludeFromRecents="true"
android:permission="com.android.alarm.permission.SET_ALARM">
<intent-filter>
<action android:name="android.intent.action.SET_ALARM" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<!-- This service receives the same intent as AlarmReceiver but it does
not respond to the same broadcast. The AlarmReceiver will receive
the alert broadcast and will start this service with the same
intent. The service plays the alarm alert and vibrates the device.
This allows the alert to continue playing even if another activity
causes the AlarmAlert activity to pause. -->
<service android:name="AlarmKlaxon"
android:exported="false"
android:description="@string/alarm_klaxon_service_desc">
<intent-filter>
<action android:name="com.android.deskclock.ALARM_ALERT" />
</intent-filter>
</service>
<receiver android:name="AlarmInitReceiver">
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
<action android:name="android.intent.action.TIME_SET" />
<action android:name="android.intent.action.TIMEZONE_CHANGED" />
<action android:name="android.intent.action.LOCALE_CHANGED" />
</intent-filter>
</receiver>
<receiver android:name="com.android.alarmclock.AnalogAppWidgetProvider" android:label="@string/analog_gadget"
android:icon="@mipmap/ic_widget_analog_clock">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
</intent-filter>
<meta-data android:name="android.appwidget.oldName" android:value="com.android.deskclock.AnalogAppWidgetProvider" />
<meta-data android:name="android.appwidget.provider" android:resource="@xml/analog_appwidget" />
</receiver>
<receiver android:name="com.android.alarmclock.AnalogAOKPAppWidgetProvider" android:label="@string/analog_aokp_gadget"
android:icon="@mipmap/ic_widget_analog_aokp_clock">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
<action android:name="android.appwidget.action.APPWIDGET_DELETED" />
<action android:name="android.appwidget.action.APPWIDGET_DISABLED" />
<action android:name="android.appwidget.action.APPWIDGET_ENABLED" />
</intent-filter>
<meta-data android:name="android.appwidget.provider" android:resource="@xml/analog_aokp_appwidget" />
</receiver>
<activity android:name="com.android.alarmclock.AnalogAOKPAppWidgetConfigure">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_CONFIGURE"/>
</intent-filter>
</activity>
<receiver android:name=".DigitalAppWidgetProvider" android:label="@string/digital_gadget"
android:icon="@mipmap/ic_widget_digital_clock">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
<action android:name="android.appwidget.action.APPWIDGET_DISABLED" />
</intent-filter>
<meta-data android:name="android.appwidget.oldName" android:value="com.android.deskclock.DigitalAppWidgetProvider" />
<meta-data android:name="android.appwidget.provider" android:resource="@xml/digital_appwidget" />
</receiver>
<activity android:name=".Screensaver"
android:label="@string/app_label"
android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen"
android:hardwareAccelerated="true"
>
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.DREAM" />
</intent-filter>
</activity>
<service android:name=".DigitalAppWidgetService"></service>
</application>
</manifest>