-
Notifications
You must be signed in to change notification settings - Fork 134
/
AndroidManifest.xml
113 lines (94 loc) · 5.11 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
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2012 The CyanogenMod Project (DvTonder)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.cyanogenmod.lockclock"
android:versionCode="22"
android:versionName="3.5" >
<uses-sdk android:minSdkVersion="24" android:targetSdkVersion="24" />
<!-- Weather -->
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="android.permission.INTERNET" />
<protected-broadcast android:name="com.cyanogenmod.lockclock.action.FORCE_WEATHER_UPDATE" />
<!-- Calendar -->
<uses-permission android:name="android.permission.READ_CALENDAR" />
<!-- General -->
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="cyanogenmod.permission.ACCESS_WEATHER_MANAGER" />
<uses-permission android:name="cyanogenmod.permission.READ_WEATHER" />
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:theme="@style/Theme.Main"
android:name=".WidgetApplication" >
<meta-data android:name="com.google.android.gms.version"
android:value="@integer/google_play_services_version" />
<activity
android:name=".preference.Preferences"
android:configChanges="orientation|screenSize"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_CONFIGURE" />
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LEANBACK_SETTINGS" />
</intent-filter>
</activity>
<!-- Preferences fragments -->
<activity android:name=".preference.ClockPreferences" />
<activity android:name=".preference.CalendarPreferences" />
<activity android:name=".preference.WeatherPreferences" />
<!-- The weather forecast activity -->
<activity android:name=".weather.ForecastActivity"
android:hardwareAccelerated="true"
android:noHistory="true"
android:theme="@style/transparent"
android:launchMode="singleInstance"
android:taskAffinity=""
android:excludeFromRecents="true" />
<activity android:name=".weather.PermissionRequestActivity"
android:theme="@android:style/Theme.Translucent.NoTitleBar"
android:excludeFromRecents="true"
android:noHistory="true"
android:exported="true" />
<!-- The Widget receiver -->
<receiver android:name=".ClockWidgetProvider" >
<meta-data android:name="android.appwidget.provider" android:resource="@xml/lock_clock" />
<intent-filter>
<action android:name="android.app.action.NEXT_ALARM_CLOCK_CHANGED" />
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
<action android:name="android.intent.action.TIMEZONE_CHANGED"/>
<action android:name="android.intent.action.DATE_CHANGED"/>
<action android:name="android.intent.action.TIME_SET"/>
<action android:name="android.intent.action.LOCALE_CHANGED"/>
<action android:name="android.intent.action.BOOT_COMPLETED"/>
<action android:name="android.net.conn.CONNECTIVITY_CHANGE"/>
<action android:name="com.android.deskclock.NEXT_ALARM_TIME_SET"/>
<action android:name="com.cyanogenmod.lockclock.action.SHOW_FORECAST" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.PROVIDER_CHANGED"/>
<data android:scheme="content"/>
<data android:host="com.android.calendar"/>
</intent-filter>
</receiver>
<service android:name=".ClockWidgetService"></service>
<service android:name=".weather.WeatherUpdateService"></service>
<service android:name=".weather.WeatherSourceListenerService"></service>
<service android:name=".calendar.CalendarViewsService"
android:permission="android.permission.BIND_REMOTEVIEWS">
</service>
</application>
</manifest>