blob: 1bdf33d1bb0148bbfa6d7d73fa5f827e0511266c [file] [log] [blame]
Steve Kondik66dbbd52016-09-03 05:15:27 -07001<?xml version="1.0" encoding="utf-8"?>
2<!--
3/**
4 * Copyright 2016, The CyanogenMod Project
5 *
6 * Licensed under the Apache License, Version 2.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
9 *
10 * http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
17 */
18-->
19<manifest xmlns:android="http://schemas.android.com/apk/res/android"
20 xmlns:androidprv="http://schemas.android.com/apk/prv/res/android"
21 package="org.cyanogenmod.cmparts"
22 android:versionCode="1"
23 android:versionName="1.0"
24 android:sharedUserId="android.uid.system">
25
26 <uses-sdk android:minSdkVersion="24" android:targetSdkVersion="24" />
27
Steve Kondikeeeadb52016-09-07 02:21:07 -070028 <uses-permission android:name="android.permission.WRITE_MEDIA_STORAGE" />
29 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
30 <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
31 <uses-permission android:name="android.permission.WRITE_SETTINGS" />
32 <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" />
33 <uses-permission android:name="android.permission.DEVICE_POWER" />
34 <uses-permission android:name="android.permission.CHANGE_CONFIGURATION" />
Steve Kondik03b56502016-09-10 17:17:25 -070035 <uses-permission android:name="android.permission.BIND_DEVICE_ADMIN" />
Steve Kondik362d0d62016-09-25 23:53:46 -070036 <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
Steve Kondik165ebdf2016-10-07 00:17:49 -070037 <uses-permission android:name="android.permission.READ_SEARCH_INDEXABLES" />
Steve Kondikeeeadb52016-09-07 02:21:07 -070038
Steve Kondik69144e92016-10-15 01:02:13 -070039 <uses-permission android:name="cyanogenmod.permission.MANAGE_REMOTE_PREFERENCES" />
Steve Kondik7789bbb2016-09-09 03:14:20 -070040
Steve Kondik3281bd62016-09-09 23:55:11 -070041 <protected-broadcast android:name="cyanogenmod.platform.app.profiles.PROFILES_STATE_CHANGED" />
Steve Kondike5f76112016-09-12 22:20:04 -070042 <protected-broadcast android:name="org.cyanogenmod.cmparts.PART_CHANGED" />
Steve Kondikee8f6e82016-10-10 01:31:23 -070043 <protected-broadcast android:name="org.cyanogenmod.cmparts.REFRESH_PART" />
Steve Kondik3281bd62016-09-09 23:55:11 -070044
Steve Kondik66dbbd52016-09-03 05:15:27 -070045 <application android:label="@string/cmparts_title"
46 android:theme="@style/Theme.Settings"
47 android:hardwareAccelerated="true"
48 android:supportsRtl="true"
49 android:defaultToDeviceProtectedStorage="true"
50 android:directBootAware="true">
51
Steve Kondik69144e92016-10-15 01:02:13 -070052 <activity android:name=".PartsActivity">
Steve Kondik7789bbb2016-09-09 03:14:20 -070053 <intent-filter>
Steve Kondik974a0ff2016-10-08 03:53:57 -070054 <action android:name="android.intent.action.MAIN" />
Steve Kondik7789bbb2016-09-09 03:14:20 -070055 <category android:name="android.intent.category.DEFAULT" />
56 </intent-filter>
Steve Kondik69144e92016-10-15 01:02:13 -070057 <meta-data
58 android:name="org.cyanogenmod.settings.summary.receiver"
59 android:value="org.cyanogenmod.cmparts.PartsUpdater" />
Steve Kondik7789bbb2016-09-09 03:14:20 -070060 </activity>
61
Steve Kondik69144e92016-10-15 01:02:13 -070062 <receiver android:name=".BootReceiver" android:enabled="true">
Steve Kondik362d0d62016-09-25 23:53:46 -070063 <intent-filter android:priority="2147483647">
64 <action android:name="android.intent.action.BOOT_COMPLETED" />
65 </intent-filter>
66 </receiver>
Steve Kondik7789bbb2016-09-09 03:14:20 -070067
Steve Kondik69144e92016-10-15 01:02:13 -070068 <receiver android:name=".PartsUpdater" android:enabled="true">
Steve Kondikee8f6e82016-10-10 01:31:23 -070069 <intent-filter>
Steve Kondik69144e92016-10-15 01:02:13 -070070 <action android:name="cyanogenmod.intent.action.UPDATE_PREFERENCE" />
71 <category android:name="android.intent.category.DEFAULT" />
Steve Kondikee8f6e82016-10-10 01:31:23 -070072 </intent-filter>
73 </receiver>
74
Steve Kondik165ebdf2016-10-07 00:17:49 -070075 <provider android:name=".search.CMPartsSearchIndexablesProvider"
76 android:authorities="org.cyanogenmod.cmparts"
77 android:multiprocess="false"
78 android:grantUriPermissions="true"
79 android:permission="android.permission.READ_SEARCH_INDEXABLES"
80 android:exported="true">
81 <intent-filter>
82 <action android:name="android.content.action.SEARCH_INDEXABLES_PROVIDER" />
83 </intent-filter>
84 </provider>
85
Steve Kondik3281bd62016-09-09 23:55:11 -070086 <!-- Privacy settings (dashboard) -->
Steve Kondikee833542016-09-20 00:44:09 -070087 <activity-alias
Sam Mortimer4f343492016-10-09 16:02:11 -070088 android:name=".PrivacySettings"
Steve Kondikee833542016-09-20 00:44:09 -070089 android:label="@string/privacy_settings_title"
90 android:targetActivity="PartsActivity">
Steve Kondik73acb442016-10-09 00:24:55 -070091 <intent-filter android:priority="1">
Steve Kondik66dbbd52016-09-03 05:15:27 -070092 <action android:name="com.android.settings.action.EXTRA_SETTINGS" />
Steve Kondik3281bd62016-09-09 23:55:11 -070093 <action android:name="org.cyanogenmod.cmparts.PRIVACY_SETTINGS" />
94 <category android:name="android.intent.category.DEFAULT" />
Steve Kondik66dbbd52016-09-03 05:15:27 -070095 </intent-filter>
96 <meta-data
97 android:name="com.android.settings.category"
98 android:value="com.android.settings.category.personal" />
99 <meta-data
100 android:name="com.android.settings.icon"
101 android:resource="@drawable/ic_settings_privacy" />
Steve Kondik63d9c6d2016-10-11 02:34:02 -0700102 <meta-data
103 android:name="org.cyanogenmod.settings.summary.receiver"
Steve Kondik69144e92016-10-15 01:02:13 -0700104 android:value="org.cyanogenmod.cmparts.PartsUpdater" />
Steve Kondik63d9c6d2016-10-11 02:34:02 -0700105 <meta-data
106 android:name="org.cyanogenmod.settings.summary.key"
107 android:value="privacy_settings" />
Steve Kondikee833542016-09-20 00:44:09 -0700108 </activity-alias>
Steve Kondik66dbbd52016-09-03 05:15:27 -0700109
Steve Kondik3281bd62016-09-09 23:55:11 -0700110 <!-- Button settings (dashboard) -->
111 <activity-alias
112 android:name=".input.ButtonSettings"
113 android:label="@string/button_pref_title"
114 android:targetActivity="PartsActivity">
115 <intent-filter android:priority="1">
116 <action android:name="com.android.settings.action.EXTRA_SETTINGS" />
117 <action android:name="org.cyanogenmod.cmparts.BUTTON_SETTINGS" />
118 <category android:name="android.intent.category.DEFAULT" />
119 </intent-filter>
120 <meta-data
121 android:name="com.android.settings.category"
122 android:value="com.android.settings.category.device" />
123 <meta-data
124 android:name="com.android.settings.icon"
125 android:resource="@drawable/ic_settings_buttons" />
Steve Kondik63d9c6d2016-10-11 02:34:02 -0700126 <meta-data
127 android:name="org.cyanogenmod.settings.summary.receiver"
Steve Kondik69144e92016-10-15 01:02:13 -0700128 android:value="org.cyanogenmod.cmparts.PartsUpdater" />
Steve Kondik63d9c6d2016-10-11 02:34:02 -0700129 <meta-data
130 android:name="org.cyanogenmod.settings.summary.key"
131 android:value="button_settings" />
Steve Kondik3281bd62016-09-09 23:55:11 -0700132 </activity-alias>
133
Steve Kondik03b56502016-09-10 17:17:25 -0700134 <!-- Profiles settings (dashboard) -->
135 <activity-alias
136 android:name=".profiles.ProfilesSettings"
137 android:label="@string/profiles_settings_title"
138 android:targetActivity="PartsActivity">
Steve Kondik73acb442016-10-09 00:24:55 -0700139 <intent-filter android:priority="1">
Steve Kondik03b56502016-09-10 17:17:25 -0700140 <action android:name="com.android.settings.action.EXTRA_SETTINGS" />
141 <action android:name="org.cyanogenmod.cmparts.PROFILES_SETTINGS" />
142 <category android:name="android.intent.category.DEFAULT" />
143 </intent-filter>
144 <meta-data
145 android:name="com.android.settings.category"
146 android:value="com.android.settings.category.personal" />
147 <meta-data
148 android:name="com.android.settings.icon"
149 android:resource="@drawable/ic_settings_profiles" />
Steve Kondik63d9c6d2016-10-11 02:34:02 -0700150 <meta-data
151 android:name="org.cyanogenmod.settings.summary.receiver"
Steve Kondik69144e92016-10-15 01:02:13 -0700152 android:value="org.cyanogenmod.cmparts.PartsUpdater" />
Steve Kondik63d9c6d2016-10-11 02:34:02 -0700153 <meta-data
154 android:name="org.cyanogenmod.settings.summary.key"
155 android:value="profiles_settings" />
Steve Kondik03b56502016-09-10 17:17:25 -0700156 </activity-alias>
157
Steve Kondik50c9fe62016-09-14 01:36:48 -0700158 <!-- Status bar settings (dashboard) -->
159 <activity-alias
160 android:name=".statusbar.StatusBarSettings"
161 android:label="@string/status_bar_title"
162 android:targetActivity="PartsActivity">
163 <intent-filter android:priority="1">
164 <action android:name="com.android.settings.action.EXTRA_SETTINGS" />
165 <action android:name="org.cyanogenmod.cmparts.STATUS_BAR_SETTINGS" />
166 <category android:name="android.intent.category.DEFAULT" />
167 </intent-filter>
168 <meta-data
169 android:name="com.android.settings.category"
Steve Kondik73acb442016-10-09 00:24:55 -0700170 android:value="com.android.settings.category.system" />
Steve Kondik50c9fe62016-09-14 01:36:48 -0700171 <meta-data
172 android:name="com.android.settings.icon"
173 android:resource="@drawable/ic_settings_statusbar" />
Steve Kondik63d9c6d2016-10-11 02:34:02 -0700174 <meta-data
175 android:name="org.cyanogenmod.settings.summary.receiver"
Steve Kondik69144e92016-10-15 01:02:13 -0700176 android:value="org.cyanogenmod.cmparts.PartsUpdater" />
Steve Kondik63d9c6d2016-10-11 02:34:02 -0700177 <meta-data
178 android:name="org.cyanogenmod.settings.summary.key"
179 android:value="status_bar_settings" />
Steve Kondik50c9fe62016-09-14 01:36:48 -0700180 </activity-alias>
181
Steve Kondikcd4f0ee2016-09-26 00:23:57 -0700182 <!-- Anonymous Statistics -->
183 <receiver android:name=".cmstats.ReportingServiceManager"
184 android:enabled="true"
185 android:exported="false"
186 android:label="ReportingServiceManager">
187 <intent-filter>
188 <action android:name="android.intent.action.BOOT_COMPLETED" />
189 <action android:name="org.cyanogenmod.cmparts.action.TRIGGER_REPORT_METRICS" />
190 </intent-filter>
191 </receiver>
192
193 <service android:label="ReportingService"
194 android:enabled="true"
195 android:exported="false"
196 android:name=".cmstats.ReportingService">
197 </service>
198
199 <service android:name=".cmstats.StatsUploadJobService"
200 android:permission="android.permission.BIND_JOB_SERVICE" />
201
202 <service android:name=".cmstats.ReportingService"
203 android:label="ReportingService"
204 android:enabled="true"
205 android:exported="false" />
206
Steve Kondik63d9c6d2016-10-11 02:34:02 -0700207 <!-- Weather settings -->
Steve Kondik3b9691d2016-10-08 21:42:35 -0700208 <activity-alias
209 android:name=".weather.WeatherServiceSettings"
210 android:label="@string/weather_settings_title"
211 android:targetActivity="PartsActivity">
212 <intent-filter android:priority="1">
213 <action android:name="cyanogenmod.intent.action.MANAGE_WEATHER_PROVIDER_SERVICES" />
214 <category android:name="android.intent.category.DEFAULT" />
215 </intent-filter>
216 </activity-alias>
217
Steve Kondik66dbbd52016-09-03 05:15:27 -0700218 </application>
219</manifest>