blob: 468a590675ad0fd0eb381022d6cf487d3827564d [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
Paul Keithcbddb5c2019-09-07 16:24:38 -05005 * Copyright 2017-2019, The LineageOS Project
Steve Kondik66dbbd52016-09-03 05:15:27 -07006 *
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
10 *
11 * http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 */
19-->
20<manifest xmlns:android="http://schemas.android.com/apk/res/android"
21 xmlns:androidprv="http://schemas.android.com/apk/prv/res/android"
Sam Mortimer32a2abb2017-09-18 21:40:24 -070022 package="org.lineageos.lineageparts"
Steve Kondik66dbbd52016-09-03 05:15:27 -070023 android:versionCode="1"
24 android:versionName="1.0"
25 android:sharedUserId="android.uid.system">
26
27 <uses-sdk android:minSdkVersion="24" android:targetSdkVersion="24" />
28
Steve Kondikeeeadb52016-09-07 02:21:07 -070029 <uses-permission android:name="android.permission.WRITE_MEDIA_STORAGE" />
30 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
31 <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
32 <uses-permission android:name="android.permission.WRITE_SETTINGS" />
33 <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" />
34 <uses-permission android:name="android.permission.DEVICE_POWER" />
35 <uses-permission android:name="android.permission.CHANGE_CONFIGURATION" />
Steve Kondik03b56502016-09-10 17:17:25 -070036 <uses-permission android:name="android.permission.BIND_DEVICE_ADMIN" />
Steve Kondik362d0d62016-09-25 23:53:46 -070037 <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
Steve Kondik165ebdf2016-10-07 00:17:49 -070038 <uses-permission android:name="android.permission.READ_SEARCH_INDEXABLES" />
Sam Mortimer57018ef2018-11-09 17:14:45 -080039 <uses-permission android:name="android.permission.CHANGE_OVERLAY_PACKAGES" />
Steve Kondikeeeadb52016-09-07 02:21:07 -070040
Sam Mortimer32a2abb2017-09-18 21:40:24 -070041 <uses-permission android:name="lineageos.permission.MANAGE_REMOTE_PREFERENCES" />
Steve Kondik7789bbb2016-09-09 03:14:20 -070042
Rashed Abdel-Tawab3427dba2017-10-08 21:41:34 -040043 <protected-broadcast android:name="lineageos.intent.action.UPDATE_POWER_MENU" />
Sam Mortimer32a2abb2017-09-18 21:40:24 -070044 <protected-broadcast android:name="lineageos.platform.app.profiles.PROFILES_STATE_CHANGED" />
45 <protected-broadcast android:name="org.lineageos.lineageparts.PART_CHANGED" />
46 <protected-broadcast android:name="org.lineageos.lineageparts.REFRESH_PART" />
47 <protected-broadcast android:name="org.lineageos.lineageparts.gestures.UPDATE_SETTINGS" />
Steve Kondik3281bd62016-09-09 23:55:11 -070048
Sam Mortimer32a2abb2017-09-18 21:40:24 -070049 <application android:label="@string/lineageparts_title"
Asher Simondsa9a48062018-02-14 16:38:10 +020050 android:icon="@mipmap/ic_launcher"
Steve Kondik66dbbd52016-09-03 05:15:27 -070051 android:theme="@style/Theme.Settings"
52 android:hardwareAccelerated="true"
53 android:supportsRtl="true"
54 android:defaultToDeviceProtectedStorage="true"
55 android:directBootAware="true">
56
LuK1337ceadf252017-06-01 12:42:54 +020057 <activity android:name=".PartsActivity"
58 android:configChanges="orientation|keyboardHidden|screenSize">
Steve Kondik7789bbb2016-09-09 03:14:20 -070059 <intent-filter>
Steve Kondik974a0ff2016-10-08 03:53:57 -070060 <action android:name="android.intent.action.MAIN" />
Steve Kondik7789bbb2016-09-09 03:14:20 -070061 <category android:name="android.intent.category.DEFAULT" />
62 </intent-filter>
Steve Kondik69144e92016-10-15 01:02:13 -070063 <meta-data
Sam Mortimer32a2abb2017-09-18 21:40:24 -070064 android:name="org.lineageos.settings.summary.receiver"
65 android:value="org.lineageos.lineageparts.PartsUpdater" />
Steve Kondik7789bbb2016-09-09 03:14:20 -070066 </activity>
67
Joey8d100d32018-04-07 14:12:34 +020068 <activity android:name=".trust.TrustOnBoardingActivity"
69 android:label="@string/trust_title"
70 android:theme="@style/OnBoardingStyle"
71 android:exported="true"
Luca Stefani5fba0142018-06-10 17:12:58 +020072 android:enabled="true"
73 android:excludeFromRecents="true">
Joey8d100d32018-04-07 14:12:34 +020074 <intent-filter android:priority="-4">
75 <action android:name="org.lineageos.lineageparts.TRUST_HINT" />
76 <category android:name="android.intent.category.DEFAULT" />
77 </intent-filter>
78 </activity>
79
Steve Kondik69144e92016-10-15 01:02:13 -070080 <receiver android:name=".BootReceiver" android:enabled="true">
Steve Kondik362d0d62016-09-25 23:53:46 -070081 <intent-filter android:priority="2147483647">
82 <action android:name="android.intent.action.BOOT_COMPLETED" />
83 </intent-filter>
84 </receiver>
Steve Kondik7789bbb2016-09-09 03:14:20 -070085
Steve Kondik69144e92016-10-15 01:02:13 -070086 <receiver android:name=".PartsUpdater" android:enabled="true">
Steve Kondikee8f6e82016-10-10 01:31:23 -070087 <intent-filter>
Sam Mortimer32a2abb2017-09-18 21:40:24 -070088 <action android:name="lineageos.intent.action.UPDATE_PREFERENCE" />
Steve Kondik69144e92016-10-15 01:02:13 -070089 <category android:name="android.intent.category.DEFAULT" />
Steve Kondikee8f6e82016-10-10 01:31:23 -070090 </intent-filter>
91 </receiver>
92
Sam Mortimer32a2abb2017-09-18 21:40:24 -070093 <provider android:name=".search.LineagePartsSearchIndexablesProvider"
94 android:authorities="org.lineageos.lineageparts"
Steve Kondik165ebdf2016-10-07 00:17:49 -070095 android:multiprocess="false"
96 android:grantUriPermissions="true"
97 android:permission="android.permission.READ_SEARCH_INDEXABLES"
98 android:exported="true">
99 <intent-filter>
100 <action android:name="android.content.action.SEARCH_INDEXABLES_PROVIDER" />
101 </intent-filter>
102 </provider>
103
Bruno Martinse0a02f42017-10-23 13:10:04 +0100104 <!-- LiveDisplay settings (Display category) -->
105 <activity-alias
106 android:name=".livedisplay.LiveDisplaySettings"
107 android:label="@*lineageos.platform:string/live_display_title"
108 android:targetActivity="PartsActivity">
Paul Keithcbddb5c2019-09-07 16:24:38 -0500109 <intent-filter>
110 <action android:name="com.android.settings.action.IA_SETTINGS" />
Michael Bestas59f95ff2018-01-31 20:33:46 +0200111 <action android:name="org.lineageos.lineageparts.LIVEDISPLAY_SETTINGS" />
Bruno Martinse0a02f42017-10-23 13:10:04 +0100112 <category android:name="android.intent.category.DEFAULT" />
113 </intent-filter>
114 <meta-data
115 android:name="com.android.settings.category"
116 android:value="com.android.settings.category.ia.display" />
117 <meta-data
Paul Keithcbddb5c2019-09-07 16:24:38 -0500118 android:name="com.android.settings.order"
119 android:value="2" />
120 <meta-data
Bruno Martinse0a02f42017-10-23 13:10:04 +0100121 android:name="com.android.settings.summary"
122 android:resource="@string/live_display_summary" />
123 </activity-alias>
124
Simon Shields196aaa42017-11-24 16:38:47 +1100125 <!-- Button settings (System category) -->
Steve Kondik3281bd62016-09-09 23:55:11 -0700126 <activity-alias
127 android:name=".input.ButtonSettings"
128 android:label="@string/button_pref_title"
Simon Shields196aaa42017-11-24 16:38:47 +1100129 android:icon="@drawable/ic_settings_buttons"
Steve Kondik3281bd62016-09-09 23:55:11 -0700130 android:targetActivity="PartsActivity">
Paul Keithcbddb5c2019-09-07 16:24:38 -0500131 <intent-filter>
132 <action android:name="com.android.settings.action.IA_SETTINGS" />
Sam Mortimer32a2abb2017-09-18 21:40:24 -0700133 <action android:name="org.lineageos.lineageparts.BUTTON_SETTINGS" />
Steve Kondik3281bd62016-09-09 23:55:11 -0700134 <category android:name="android.intent.category.DEFAULT" />
135 </intent-filter>
136 <meta-data
137 android:name="com.android.settings.category"
Simon Shields196aaa42017-11-24 16:38:47 +1100138 android:value="com.android.settings.category.ia.system" />
Steve Kondik3281bd62016-09-09 23:55:11 -0700139 <meta-data
Paul Keithcbddb5c2019-09-07 16:24:38 -0500140 android:name="com.android.settings.order"
141 android:value="-256" />
142 <meta-data
Simon Shields196aaa42017-11-24 16:38:47 +1100143 android:name="com.android.settings.summary"
Paul Keithcbddb5c2019-09-07 16:24:38 -0500144 android:resource="@string/summary_empty" />
Steve Kondik3281bd62016-09-09 23:55:11 -0700145 </activity-alias>
146
Zhao Wei Liew2ccca732017-01-21 00:51:22 +0800147 <activity android:name=".gestures.KeyHandler" />
148
Ethan Chend629eb42017-10-05 00:50:26 -0700149 <!-- Profiles settings (System category) -->
Steve Kondik03b56502016-09-10 17:17:25 -0700150 <activity-alias
151 android:name=".profiles.ProfilesSettings"
152 android:label="@string/profiles_settings_title"
Ethan Chend629eb42017-10-05 00:50:26 -0700153 android:icon="@drawable/ic_settings_profiles"
Steve Kondik03b56502016-09-10 17:17:25 -0700154 android:targetActivity="PartsActivity">
Paul Keithcbddb5c2019-09-07 16:24:38 -0500155 <intent-filter>
156 <action android:name="com.android.settings.action.IA_SETTINGS" />
Sam Mortimer32a2abb2017-09-18 21:40:24 -0700157 <action android:name="org.lineageos.lineageparts.PROFILES_SETTINGS" />
Steve Kondik03b56502016-09-10 17:17:25 -0700158 <category android:name="android.intent.category.DEFAULT" />
159 </intent-filter>
160 <meta-data
161 android:name="com.android.settings.category"
Ethan Chend629eb42017-10-05 00:50:26 -0700162 android:value="com.android.settings.category.ia.system" />
Steve Kondik03b56502016-09-10 17:17:25 -0700163 <meta-data
Paul Keithcbddb5c2019-09-07 16:24:38 -0500164 android:name="com.android.settings.order"
165 android:value="-255" />
166 <meta-data
Ethan Chend629eb42017-10-05 00:50:26 -0700167 android:name="com.android.settings.summary"
168 android:resource="@string/summary_empty" />
Steve Kondik03b56502016-09-10 17:17:25 -0700169 </activity-alias>
170
Bruno Martins5c824992017-10-18 19:39:45 +0100171 <!-- Status bar settings (System category) -->
Steve Kondik50c9fe62016-09-14 01:36:48 -0700172 <activity-alias
173 android:name=".statusbar.StatusBarSettings"
174 android:label="@string/status_bar_title"
Bruno Martins5c824992017-10-18 19:39:45 +0100175 android:icon="@drawable/ic_settings_statusbar"
Steve Kondik50c9fe62016-09-14 01:36:48 -0700176 android:targetActivity="PartsActivity">
Paul Keithcbddb5c2019-09-07 16:24:38 -0500177 <intent-filter>
178 <action android:name="com.android.settings.action.IA_SETTINGS" />
Sam Mortimer32a2abb2017-09-18 21:40:24 -0700179 <action android:name="org.lineageos.lineageparts.STATUS_BAR_SETTINGS" />
Steve Kondik50c9fe62016-09-14 01:36:48 -0700180 <category android:name="android.intent.category.DEFAULT" />
181 </intent-filter>
182 <meta-data
183 android:name="com.android.settings.category"
Bruno Martins5c824992017-10-18 19:39:45 +0100184 android:value="com.android.settings.category.ia.system" />
Steve Kondik50c9fe62016-09-14 01:36:48 -0700185 <meta-data
Paul Keithcbddb5c2019-09-07 16:24:38 -0500186 android:name="com.android.settings.order"
187 android:value="-254" />
188 <meta-data
Bruno Martins5c824992017-10-18 19:39:45 +0100189 android:name="com.android.settings.summary"
190 android:resource="@string/summary_empty" />
Steve Kondik50c9fe62016-09-14 01:36:48 -0700191 </activity-alias>
192
Joey90af02f2018-01-20 13:54:57 +0100193 <!-- Style settings (Display category) -->
194 <activity-alias
195 android:name=".style.StylePreferences"
196 android:label="@string/style_title"
197 android:targetActivity="PartsActivity">
Paul Keithcbddb5c2019-09-07 16:24:38 -0500198 <intent-filter>
199 <action android:name="com.android.settings.action.IA_SETTINGS" />
Joey90af02f2018-01-20 13:54:57 +0100200 <action android:name="org.lineageos.lineageparts.STYLE_SETTINGS" />
201 <category android:name="android.intent.category.DEFAULT" />
202 </intent-filter>
203 <meta-data
204 android:name="com.android.settings.category"
205 android:value="com.android.settings.category.ia.display" />
206 <meta-data
Paul Keithcbddb5c2019-09-07 16:24:38 -0500207 android:name="com.android.settings.order"
208 android:value="3" />
209 <meta-data
Joey90af02f2018-01-20 13:54:57 +0100210 android:name="com.android.settings.summary"
211 android:resource="@string/style_summary" />
212 </activity-alias>
213
Paul Keithcbddb5c2019-09-07 16:24:38 -0500214 <!-- Trust interface (Privacy category) -->
Joey8d100d32018-04-07 14:12:34 +0200215 <activity-alias
216 android:name=".trust.TrustPreferences"
217 android:label="@string/trust_title"
218 android:targetActivity="PartsActivity">
Paul Keithcbddb5c2019-09-07 16:24:38 -0500219 <intent-filter>
220 <action android:name="com.android.settings.action.IA_SETTINGS" />
Joey8d100d32018-04-07 14:12:34 +0200221 <action android:name="org.lineageos.lineageparts.TRUST_INTERFACE" />
222 <category android:name="android.intent.category.DEFAULT" />
223 </intent-filter>
Paul Keithcbddb5c2019-09-07 16:24:38 -0500224 <meta-data
225 android:name="com.android.settings.category"
226 android:value="com.android.settings.category.ia.privacy" />
227 <meta-data
228 android:name="com.android.settings.order"
229 android:value="0" />
230 <meta-data
231 android:name="com.android.settings.summary"
232 android:resource="@string/summary_empty" />
Joey8d100d32018-04-07 14:12:34 +0200233 </activity-alias>
234
Bruno Martins082ad672018-02-22 10:03:02 +0000235 <!-- Expanded Desktop settings (Display category) -->
236 <activity-alias
237 android:name=".applications.ExpandedDesktopSettings"
238 android:label="@string/expanded_desktop_settings_title"
239 android:targetActivity="PartsActivity">
Paul Keithcbddb5c2019-09-07 16:24:38 -0500240 <intent-filter>
241 <action android:name="com.android.settings.action.IA_SETTINGS" />
Bruno Martins082ad672018-02-22 10:03:02 +0000242 <action android:name="org.lineageos.lineageparts.EXPANDED_DESKTOP_SETTINGS" />
243 <category android:name="android.intent.category.DEFAULT" />
244 </intent-filter>
245 <meta-data
246 android:name="com.android.settings.category"
247 android:value="com.android.settings.category.ia.display" />
248 <meta-data
Paul Keithcbddb5c2019-09-07 16:24:38 -0500249 android:name="com.android.settings.order"
250 android:value="13" />
251 <meta-data
Bruno Martins082ad672018-02-22 10:03:02 +0000252 android:name="com.android.settings.summary"
253 android:resource="@string/expanded_desktop_settings_summary" />
254 </activity-alias>
255
Bruno Martinscf2f02e2019-09-12 14:00:37 +0100256 <!-- Contributors Cloud (MyDeviceInfo category) -->
257 <activity-alias
258 android:name=".contributors.ContributorsCloudFragment"
259 android:label="@string/contributors_cloud_fragment_title"
260 android:targetActivity="PartsActivity">
261 <intent-filter>
262 <action android:name="com.android.settings.action.IA_SETTINGS" />
263 <action android:name="org.lineageos.lineageparts.CONTRIBUTORS_CLOUD" />
264 <category android:name="android.intent.category.DEFAULT" />
265 </intent-filter>
266 <meta-data
267 android:name="com.android.settings.category"
268 android:value="com.android.settings.category.ia.my_device_info" />
269 <meta-data
270 android:name="com.android.settings.order"
271 android:value="16" />
272 <meta-data
273 android:name="com.android.settings.summary"
274 android:resource="@string/summary_empty" />
275 </activity-alias>
276
Steve Kondikcd4f0ee2016-09-26 00:23:57 -0700277 <!-- Anonymous Statistics -->
Sam Mortimer32a2abb2017-09-18 21:40:24 -0700278 <receiver android:name=".lineagestats.ReportingServiceManager"
Steve Kondikcd4f0ee2016-09-26 00:23:57 -0700279 android:enabled="true"
280 android:exported="false"
281 android:label="ReportingServiceManager">
282 <intent-filter>
283 <action android:name="android.intent.action.BOOT_COMPLETED" />
Sam Mortimer32a2abb2017-09-18 21:40:24 -0700284 <action android:name="org.lineageos.lineageparts.action.TRIGGER_REPORT_METRICS" />
Steve Kondikcd4f0ee2016-09-26 00:23:57 -0700285 </intent-filter>
286 </receiver>
287
288 <service android:label="ReportingService"
289 android:enabled="true"
290 android:exported="false"
Sam Mortimer32a2abb2017-09-18 21:40:24 -0700291 android:name=".lineagestats.ReportingService">
Steve Kondikcd4f0ee2016-09-26 00:23:57 -0700292 </service>
293
Sam Mortimer32a2abb2017-09-18 21:40:24 -0700294 <service android:name=".lineagestats.StatsUploadJobService"
Steve Kondikcd4f0ee2016-09-26 00:23:57 -0700295 android:permission="android.permission.BIND_JOB_SERVICE" />
296
Sam Mortimer32a2abb2017-09-18 21:40:24 -0700297 <service android:name=".lineagestats.ReportingService"
Steve Kondikcd4f0ee2016-09-26 00:23:57 -0700298 android:label="ReportingService"
299 android:enabled="true"
300 android:exported="false" />
301
Michael Bestase4abd6f2017-12-28 01:03:31 +0200302 <!-- Weather settings -->
Steve Kondik3b9691d2016-10-08 21:42:35 -0700303 <activity-alias
304 android:name=".weather.WeatherServiceSettings"
305 android:label="@string/weather_settings_title"
306 android:targetActivity="PartsActivity">
307 <intent-filter android:priority="1">
Sam Mortimer32a2abb2017-09-18 21:40:24 -0700308 <action android:name="lineageos.intent.action.MANAGE_WEATHER_PROVIDER_SERVICES" />
Steve Kondik3b9691d2016-10-08 21:42:35 -0700309 <category android:name="android.intent.category.DEFAULT" />
310 </intent-filter>
311 </activity-alias>
312
Maxim Becker4677ce62017-02-09 14:07:50 +0100313 <activity android:name=".profiles.NFCProfile">
314 <intent-filter>
315 <action android:name="android.nfc.action.NDEF_DISCOVERED"/>
316 <category android:name="android.intent.category.DEFAULT"/>
Bruno Martins84b8a8e2018-02-22 12:22:05 +0000317 <data android:mimeType="lineage/profile" />
Maxim Becker4677ce62017-02-09 14:07:50 +0100318 </intent-filter>
319 </activity>
320
321 <activity
322 android:name=".profiles.NFCProfileSelect"
323 android:label="@string/profile_select"
324 android:excludeFromRecents="true"/>
325
Michael Bestas03645f22014-11-13 21:22:46 +0200326 <activity android:name=".logo.PlatLogoActivity"
327 android:theme="@android:style/Theme.Wallpaper.NoTitleBar.Fullscreen"
328 android:configChanges="orientation|keyboardHidden">
329 <intent-filter>
330 <action android:name="android.intent.action.MAIN" />
331 <category android:name="android.intent.category.DEFAULT" />
332 </intent-filter>
333 </activity>
334
meganukebmp9a6ac452017-12-29 19:45:22 +0200335 <activity android:name=".egg.octo.Ocquarium"
336 android:theme="@android:style/Theme.DeviceDefault.NoActionBar.Fullscreen"
337 android:label="@string/egg_title">
338 <intent-filter>
339 <action android:name="org.lineageos.lineageparts.EASTER_EGG"/>
340 <category android:name="android.intent.category.DEFAULT" />
341 <category android:name="com.android.internal.category.PLATLOGO" />
342 </intent-filter>
343 </activity>
344
Steve Kondik66dbbd52016-09-03 05:15:27 -0700345 </application>
346</manifest>