forked from dannl/DeskClock_4.0-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAndroidManifest.xml
168 lines (151 loc) · 7.18 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
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.baina.deskclock"
android:versionCode="203"
android:versionName="2.0.3" >
<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="11"
android:targetSdkVersion="19" />
<application
android:allowBackup="false"
android:icon="@mipmap/ic_launcher_alarmclock"
android:label="@string/app_label" >
<provider
android:name="com.android.deskclock.AlarmProvider"
android:authorities="com.baina.deskclock"
android:exported="false" />
<activity
android:name="com.android.deskclock.DeskClock"
android:configChanges="orientation|keyboardHidden|keyboard|navigation"
android:icon="@mipmap/ic_launcher_alarmclock"
android:label="@string/app_label"
android:launchMode="singleInstance"
android:theme="@android:style/Theme.Holo.Wallpaper.NoTitleBar" >
>
<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="com.android.deskclock.AlarmClock"
android:configChanges="orientation|keyboardHidden|keyboard|navigation"
android:excludeFromRecents="true"
android:exported="true"
android:label="@string/alarm_list_title"
android:taskAffinity=""
android:theme="@style/AlarmClockTheme" />
<activity-alias
android:name="com.android.alarmclock.AlarmClock"
android:exported="true"
android:targetActivity="com.android.deskclock.AlarmClock" />
<activity
android:name="com.android.deskclock.SettingsActivity"
android:excludeFromRecents="true"
android:label="@string/settings"
android:taskAffinity="" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
</intent-filter>
</activity>
<activity
android:name="com.android.deskclock.SetAlarm"
android:configChanges="orientation|keyboardHidden|keyboard|navigation"
android:label="@string/set_alarm"
android:theme="@style/SetAlarmTheme" />
<activity
android:name="com.android.deskclock.AlarmAlert"
android:configChanges="orientation|keyboardHidden|keyboard|navigation"
android:excludeFromRecents="true"
android:launchMode="singleInstance"
android:taskAffinity=""
android:theme="@android:style/Theme.Holo.Dialog" />
<!--
This activity is basically the same as AlarmAlert
but full-screen so that it can turn the display on.
-->
<activity
android:name="com.android.deskclock.AlarmAlertFullScreen"
android:configChanges="orientation|keyboardHidden|keyboard|navigation"
android:excludeFromRecents="true"
android:launchMode="singleInstance"
android:taskAffinity=""
android:theme="@style/AlarmAlertFullScreenTheme" />
<receiver
android:name="com.android.deskclock.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="com.android.deskclock.HandleSetAlarm"
android:excludeFromRecents="true"
android:permission="com.android.alarm.permission.SET_ALARM"
android:theme="@android:style/Theme.NoDisplay" >
<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="com.android.deskclock.AlarmKlaxon"
android:description="@string/alarm_klaxon_service_desc"
android:exported="false" >
<intent-filter>
<action android:name="com.android.deskclock.ALARM_ALERT" />
</intent-filter>
</service>
<receiver android:name="com.android.deskclock.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:icon="@mipmap/ic_widget_analog_clock"
android:label="@string/analog_gadget" >
<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>
<activity
android:name="com.android.deskclock.Screensaver"
android:hardwareAccelerated="true"
android:label="@string/app_label"
android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen" >
<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>
</application>
</manifest>