blob: 80a046762f773af86b53e95ee80ef79302a5b4c9 [file] [log] [blame]
Michael W9fbeb192023-10-01 17:45:23 +02001<?xml version="1.0" encoding="utf-8"?>
2<!--
Michael W26cc2292023-10-01 16:18:54 +02003 SPDX-FileCopyrightText: 2016 The CyanogenMod Project
DroidFreak320d1cf5b2024-02-03 02:34:15 +05304 SPDX-FileCopyrightText: 2017-2024 The LineageOS Project
Michael W26cc2292023-10-01 16:18:54 +02005 SPDX-License-Identifier: Apache-2.0
Steve Kondik66dbbd52016-09-03 05:15:27 -07006-->
7<manifest xmlns:android="http://schemas.android.com/apk/res/android"
Sam Mortimer32a2abb2017-09-18 21:40:24 -07008 package="org.lineageos.lineageparts"
Michael W26cc2292023-10-01 16:18:54 +02009 android:sharedUserId="android.uid.system"
Steve Kondik66dbbd52016-09-03 05:15:27 -070010 android:versionCode="1"
Michael W26cc2292023-10-01 16:18:54 +020011 android:versionName="1.0">
Steve Kondik66dbbd52016-09-03 05:15:27 -070012
Steve Kondikeeeadb52016-09-07 02:21:07 -070013 <uses-permission android:name="android.permission.WRITE_MEDIA_STORAGE" />
14 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
15 <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
16 <uses-permission android:name="android.permission.WRITE_SETTINGS" />
17 <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" />
18 <uses-permission android:name="android.permission.DEVICE_POWER" />
19 <uses-permission android:name="android.permission.CHANGE_CONFIGURATION" />
Steve Kondik03b56502016-09-10 17:17:25 -070020 <uses-permission android:name="android.permission.BIND_DEVICE_ADMIN" />
Steve Kondik362d0d62016-09-25 23:53:46 -070021 <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
Steve Kondik165ebdf2016-10-07 00:17:49 -070022 <uses-permission android:name="android.permission.READ_SEARCH_INDEXABLES" />
Ashwin R C5d6a8c62020-05-27 15:17:10 +000023 <uses-permission android:name="android.permission.VIBRATE" />
Steve Kondikeeeadb52016-09-07 02:21:07 -070024
Sam Mortimer32a2abb2017-09-18 21:40:24 -070025 <uses-permission android:name="lineageos.permission.MANAGE_REMOTE_PREFERENCES" />
Steve Kondik7789bbb2016-09-09 03:14:20 -070026
Rashed Abdel-Tawab3427dba2017-10-08 21:41:34 -040027 <protected-broadcast android:name="lineageos.intent.action.UPDATE_POWER_MENU" />
Sam Mortimer32a2abb2017-09-18 21:40:24 -070028 <protected-broadcast android:name="lineageos.platform.app.profiles.PROFILES_STATE_CHANGED" />
29 <protected-broadcast android:name="org.lineageos.lineageparts.PART_CHANGED" />
30 <protected-broadcast android:name="org.lineageos.lineageparts.REFRESH_PART" />
31 <protected-broadcast android:name="org.lineageos.lineageparts.gestures.UPDATE_SETTINGS" />
Steve Kondik3281bd62016-09-09 23:55:11 -070032
Michael W26cc2292023-10-01 16:18:54 +020033 <application
34 android:defaultToDeviceProtectedStorage="true"
35 android:directBootAware="true"
36 android:hardwareAccelerated="true"
37 android:icon="@mipmap/ic_launcher"
38 android:label="@string/lineageparts_title"
39 android:supportsRtl="true"
40 android:theme="@style/Theme.SubSettingsBase">
Steve Kondik66dbbd52016-09-03 05:15:27 -070041
Michael W26cc2292023-10-01 16:18:54 +020042 <activity
43 android:name=".PartsActivity"
Michael Bestasaa0a6d82023-02-09 03:01:32 +020044 android:configChanges="orientation|keyboardHidden|screenSize"
45 android:exported="true">
Steve Kondik7789bbb2016-09-09 03:14:20 -070046 <intent-filter>
Steve Kondik974a0ff2016-10-08 03:53:57 -070047 <action android:name="android.intent.action.MAIN" />
Steve Kondik7789bbb2016-09-09 03:14:20 -070048 <category android:name="android.intent.category.DEFAULT" />
49 </intent-filter>
Steve Kondik69144e92016-10-15 01:02:13 -070050 <meta-data
Sam Mortimer32a2abb2017-09-18 21:40:24 -070051 android:name="org.lineageos.settings.summary.receiver"
52 android:value="org.lineageos.lineageparts.PartsUpdater" />
Steve Kondik7789bbb2016-09-09 03:14:20 -070053 </activity>
54
Michael W26cc2292023-10-01 16:18:54 +020055 <activity
56 android:name=".trust.TrustOnBoardingActivity"
Luca Stefani5fba0142018-06-10 17:12:58 +020057 android:enabled="true"
Michael W26cc2292023-10-01 16:18:54 +020058 android:excludeFromRecents="true"
59 android:exported="true"
60 android:label="@string/trust_title"
61 android:theme="@style/OnBoardingStyle">
Joey8d100d32018-04-07 14:12:34 +020062 <intent-filter android:priority="-4">
63 <action android:name="org.lineageos.lineageparts.TRUST_HINT" />
64 <category android:name="android.intent.category.DEFAULT" />
65 </intent-filter>
66 </activity>
67
Michael W26cc2292023-10-01 16:18:54 +020068 <receiver
69 android:name=".BootReceiver"
Michael Bestasaa0a6d82023-02-09 03:01:32 +020070 android:enabled="true"
71 android:exported="false">
Steve Kondik362d0d62016-09-25 23:53:46 -070072 <intent-filter android:priority="2147483647">
73 <action android:name="android.intent.action.BOOT_COMPLETED" />
74 </intent-filter>
75 </receiver>
Steve Kondik7789bbb2016-09-09 03:14:20 -070076
Michael W26cc2292023-10-01 16:18:54 +020077 <receiver
78 android:name=".PartsUpdater"
Michael Bestasaa0a6d82023-02-09 03:01:32 +020079 android:enabled="true"
80 android:exported="false">
Steve Kondikee8f6e82016-10-10 01:31:23 -070081 <intent-filter>
Sam Mortimer32a2abb2017-09-18 21:40:24 -070082 <action android:name="lineageos.intent.action.UPDATE_PREFERENCE" />
Steve Kondik69144e92016-10-15 01:02:13 -070083 <category android:name="android.intent.category.DEFAULT" />
Steve Kondikee8f6e82016-10-10 01:31:23 -070084 </intent-filter>
85 </receiver>
86
Michael W26cc2292023-10-01 16:18:54 +020087 <provider
88 android:name=".search.LineagePartsSearchIndexablesProvider"
89 android:authorities="org.lineageos.lineageparts"
90 android:exported="true"
91 android:grantUriPermissions="true"
92 android:multiprocess="false"
93 android:permission="android.permission.READ_SEARCH_INDEXABLES">
Steve Kondik165ebdf2016-10-07 00:17:49 -070094 <intent-filter>
95 <action android:name="android.content.action.SEARCH_INDEXABLES_PROVIDER" />
96 </intent-filter>
97 </provider>
98
Danny Trunkdcbebe62023-01-22 21:31:08 +010099 <!-- Charging control settings (Battery category) -->
100 <activity-alias
101 android:name=".health.ChargingControlSettings"
Michael Bestasaa0a6d82023-02-09 03:01:32 +0200102 android:exported="true"
Danny Trunkdcbebe62023-01-22 21:31:08 +0100103 android:label="@string/charging_control_title"
104 android:targetActivity="PartsActivity">
105 <intent-filter>
106 <action android:name="org.lineageos.lineageparts.CHARGING_CONTROL_SETTINGS" />
107 <category android:name="android.intent.category.DEFAULT" />
108 </intent-filter>
109 </activity-alias>
110
Simon Shields196aaa42017-11-24 16:38:47 +1100111 <!-- Button settings (System category) -->
Steve Kondik3281bd62016-09-09 23:55:11 -0700112 <activity-alias
113 android:name=".input.ButtonSettings"
Michael Bestasaa0a6d82023-02-09 03:01:32 +0200114 android:exported="true"
Steve Kondik3281bd62016-09-09 23:55:11 -0700115 android:label="@string/button_pref_title"
116 android:targetActivity="PartsActivity">
Paul Keithcbddb5c2019-09-07 16:24:38 -0500117 <intent-filter>
118 <action android:name="com.android.settings.action.IA_SETTINGS" />
Sam Mortimer32a2abb2017-09-18 21:40:24 -0700119 <action android:name="org.lineageos.lineageparts.BUTTON_SETTINGS" />
Steve Kondik3281bd62016-09-09 23:55:11 -0700120 <category android:name="android.intent.category.DEFAULT" />
121 </intent-filter>
Michael W26cc2292023-10-01 16:18:54 +0200122
Steve Kondik3281bd62016-09-09 23:55:11 -0700123 <meta-data
124 android:name="com.android.settings.category"
Simon Shields196aaa42017-11-24 16:38:47 +1100125 android:value="com.android.settings.category.ia.system" />
Steve Kondik3281bd62016-09-09 23:55:11 -0700126 <meta-data
LuK13375816d9f2021-10-09 20:03:16 +0200127 android:name="com.android.settings.icon"
128 android:resource="@drawable/ic_settings_buttons" />
129 <meta-data
130 android:name="com.android.settings.icon_tintable"
131 android:value="true" />
132 <meta-data
Paul Keithcbddb5c2019-09-07 16:24:38 -0500133 android:name="com.android.settings.order"
134 android:value="-256" />
135 <meta-data
DroidFreak32214dacb2023-05-01 22:46:09 +0530136 android:name="com.android.settings.profile"
137 android:value="primary_profile_only" />
138 <meta-data
Simon Shields196aaa42017-11-24 16:38:47 +1100139 android:name="com.android.settings.summary"
Paul Keithcbddb5c2019-09-07 16:24:38 -0500140 android:resource="@string/summary_empty" />
Steve Kondik3281bd62016-09-09 23:55:11 -0700141 </activity-alias>
142
Zhao Wei Liew2ccca732017-01-21 00:51:22 +0800143 <activity android:name=".gestures.KeyHandler" />
144
Ethan Chend629eb42017-10-05 00:50:26 -0700145 <!-- Profiles settings (System category) -->
Steve Kondik03b56502016-09-10 17:17:25 -0700146 <activity-alias
147 android:name=".profiles.ProfilesSettings"
Michael Bestasaa0a6d82023-02-09 03:01:32 +0200148 android:exported="true"
Steve Kondik03b56502016-09-10 17:17:25 -0700149 android:label="@string/profiles_settings_title"
150 android:targetActivity="PartsActivity">
Paul Keithcbddb5c2019-09-07 16:24:38 -0500151 <intent-filter>
152 <action android:name="com.android.settings.action.IA_SETTINGS" />
Sam Mortimer32a2abb2017-09-18 21:40:24 -0700153 <action android:name="org.lineageos.lineageparts.PROFILES_SETTINGS" />
Steve Kondik03b56502016-09-10 17:17:25 -0700154 <category android:name="android.intent.category.DEFAULT" />
155 </intent-filter>
Michael W26cc2292023-10-01 16:18:54 +0200156
Steve Kondik03b56502016-09-10 17:17:25 -0700157 <meta-data
158 android:name="com.android.settings.category"
Ethan Chend629eb42017-10-05 00:50:26 -0700159 android:value="com.android.settings.category.ia.system" />
Steve Kondik03b56502016-09-10 17:17:25 -0700160 <meta-data
LuK13375816d9f2021-10-09 20:03:16 +0200161 android:name="com.android.settings.icon"
162 android:resource="@drawable/ic_settings_profiles" />
163 <meta-data
164 android:name="com.android.settings.icon_tintable"
165 android:value="true" />
166 <meta-data
Paul Keithcbddb5c2019-09-07 16:24:38 -0500167 android:name="com.android.settings.order"
168 android:value="-255" />
169 <meta-data
DroidFreak32214dacb2023-05-01 22:46:09 +0530170 android:name="com.android.settings.profile"
171 android:value="primary_profile_only" />
172 <meta-data
Ethan Chend629eb42017-10-05 00:50:26 -0700173 android:name="com.android.settings.summary"
174 android:resource="@string/summary_empty" />
Steve Kondik03b56502016-09-10 17:17:25 -0700175 </activity-alias>
176
DroidFreak320d1cf5b2024-02-03 02:34:15 +0530177 <!-- Rotation settings -->
178 <activity-alias
179 android:name=".hardware.DisplayRotation"
180 android:exported="true"
181 android:targetActivity="PartsActivity">
182 <intent-filter>
183 <action android:name="org.lineageos.lineageparts.DISPLAY_ROTATION" />
184 <category android:name="android.intent.category.DEFAULT" />
185 </intent-filter>
186 </activity-alias>
187
Bruno Martins5c824992017-10-18 19:39:45 +0100188 <!-- Status bar settings (System category) -->
Steve Kondik50c9fe62016-09-14 01:36:48 -0700189 <activity-alias
190 android:name=".statusbar.StatusBarSettings"
Michael Bestasaa0a6d82023-02-09 03:01:32 +0200191 android:exported="true"
Steve Kondik50c9fe62016-09-14 01:36:48 -0700192 android:label="@string/status_bar_title"
193 android:targetActivity="PartsActivity">
Paul Keithcbddb5c2019-09-07 16:24:38 -0500194 <intent-filter>
195 <action android:name="com.android.settings.action.IA_SETTINGS" />
Sam Mortimer32a2abb2017-09-18 21:40:24 -0700196 <action android:name="org.lineageos.lineageparts.STATUS_BAR_SETTINGS" />
Steve Kondik50c9fe62016-09-14 01:36:48 -0700197 <category android:name="android.intent.category.DEFAULT" />
198 </intent-filter>
Michael W26cc2292023-10-01 16:18:54 +0200199
Steve Kondik50c9fe62016-09-14 01:36:48 -0700200 <meta-data
201 android:name="com.android.settings.category"
Bruno Martins5c824992017-10-18 19:39:45 +0100202 android:value="com.android.settings.category.ia.system" />
Steve Kondik50c9fe62016-09-14 01:36:48 -0700203 <meta-data
LuK13375816d9f2021-10-09 20:03:16 +0200204 android:name="com.android.settings.icon"
205 android:resource="@drawable/ic_settings_statusbar" />
206 <meta-data
207 android:name="com.android.settings.icon_tintable"
208 android:value="true" />
209 <meta-data
Paul Keithcbddb5c2019-09-07 16:24:38 -0500210 android:name="com.android.settings.order"
211 android:value="-254" />
212 <meta-data
DroidFreak32214dacb2023-05-01 22:46:09 +0530213 android:name="com.android.settings.profile"
214 android:value="primary_profile_only" />
215 <meta-data
Bruno Martins5c824992017-10-18 19:39:45 +0100216 android:name="com.android.settings.summary"
217 android:resource="@string/summary_empty" />
Steve Kondik50c9fe62016-09-14 01:36:48 -0700218 </activity-alias>
219
Paul Keithcbddb5c2019-09-07 16:24:38 -0500220 <!-- Trust interface (Privacy category) -->
Joey8d100d32018-04-07 14:12:34 +0200221 <activity-alias
222 android:name=".trust.TrustPreferences"
Michael Bestasaa0a6d82023-02-09 03:01:32 +0200223 android:exported="true"
Joey8d100d32018-04-07 14:12:34 +0200224 android:label="@string/trust_title"
225 android:targetActivity="PartsActivity">
Paul Keithcbddb5c2019-09-07 16:24:38 -0500226 <intent-filter>
227 <action android:name="com.android.settings.action.IA_SETTINGS" />
Joey8d100d32018-04-07 14:12:34 +0200228 <action android:name="org.lineageos.lineageparts.TRUST_INTERFACE" />
229 <category android:name="android.intent.category.DEFAULT" />
230 </intent-filter>
Michael W26cc2292023-10-01 16:18:54 +0200231
Paul Keithcbddb5c2019-09-07 16:24:38 -0500232 <meta-data
233 android:name="com.android.settings.category"
234 android:value="com.android.settings.category.ia.privacy" />
235 <meta-data
236 android:name="com.android.settings.order"
Nicholas Lim779f45a2023-05-18 00:30:31 +0800237 android:value="-256" />
Paul Keithcbddb5c2019-09-07 16:24:38 -0500238 <meta-data
DroidFreak32214dacb2023-05-01 22:46:09 +0530239 android:name="com.android.settings.profile"
240 android:value="primary_profile_only" />
241 <meta-data
Paul Keithcbddb5c2019-09-07 16:24:38 -0500242 android:name="com.android.settings.summary"
Nicholas Lim779f45a2023-05-18 00:30:31 +0800243 android:resource="@string/trust_summary" />
Joey8d100d32018-04-07 14:12:34 +0200244 </activity-alias>
245
Bruno Martinscf2f02e2019-09-12 14:00:37 +0100246 <!-- Contributors Cloud (MyDeviceInfo category) -->
Dominik Baronellic8761a62022-10-14 11:56:48 +0200247<!--
Bruno Martinscf2f02e2019-09-12 14:00:37 +0100248 <activity-alias
249 android:name=".contributors.ContributorsCloudFragment"
Michael Bestasaa0a6d82023-02-09 03:01:32 +0200250 android:exported="true"
Bruno Martinscf2f02e2019-09-12 14:00:37 +0100251 android:label="@string/contributors_cloud_fragment_title"
252 android:targetActivity="PartsActivity">
253 <intent-filter>
254 <action android:name="com.android.settings.action.IA_SETTINGS" />
255 <action android:name="org.lineageos.lineageparts.CONTRIBUTORS_CLOUD" />
256 <category android:name="android.intent.category.DEFAULT" />
257 </intent-filter>
Michael W26cc2292023-10-01 16:18:54 +0200258
Bruno Martinscf2f02e2019-09-12 14:00:37 +0100259 <meta-data
260 android:name="com.android.settings.category"
261 android:value="com.android.settings.category.ia.my_device_info" />
262 <meta-data
263 android:name="com.android.settings.order"
Bruno Martins2c9043b2021-12-31 16:29:07 +0000264 android:value="2" />
Bruno Martinscf2f02e2019-09-12 14:00:37 +0100265 <meta-data
DroidFreak32214dacb2023-05-01 22:46:09 +0530266 android:name="com.android.settings.profile"
267 android:value="primary_profile_only" />
268 <meta-data
Bruno Martinscf2f02e2019-09-12 14:00:37 +0100269 android:name="com.android.settings.summary"
270 android:resource="@string/summary_empty" />
271 </activity-alias>
Dominik Baronellic8761a62022-10-14 11:56:48 +0200272-->
Bruno Martinscf2f02e2019-09-12 14:00:37 +0100273
Steve Kondikcd4f0ee2016-09-26 00:23:57 -0700274 <!-- Anonymous Statistics -->
Michael W26cc2292023-10-01 16:18:54 +0200275 <receiver
276 android:name=".lineagestats.ReportingServiceManager"
Steve Kondikcd4f0ee2016-09-26 00:23:57 -0700277 android:enabled="true"
278 android:exported="false"
279 android:label="ReportingServiceManager">
280 <intent-filter>
281 <action android:name="android.intent.action.BOOT_COMPLETED" />
Sam Mortimer32a2abb2017-09-18 21:40:24 -0700282 <action android:name="org.lineageos.lineageparts.action.TRIGGER_REPORT_METRICS" />
Steve Kondikcd4f0ee2016-09-26 00:23:57 -0700283 </intent-filter>
284 </receiver>
285
Michael W26cc2292023-10-01 16:18:54 +0200286 <service
287 android:name=".lineagestats.ReportingService"
288 android:enabled="true"
289 android:exported="false"
290 android:label="ReportingService" />
Steve Kondikcd4f0ee2016-09-26 00:23:57 -0700291
Michael W26cc2292023-10-01 16:18:54 +0200292 <service
293 android:name=".lineagestats.StatsUploadJobService"
294 android:permission="android.permission.BIND_JOB_SERVICE" />
Steve Kondikcd4f0ee2016-09-26 00:23:57 -0700295
Michael Bestasaa0a6d82023-02-09 03:01:32 +0200296 <activity
297 android:name=".profiles.NFCProfile"
298 android:exported="true">
Maxim Becker4677ce62017-02-09 14:07:50 +0100299 <intent-filter>
Michael W26cc2292023-10-01 16:18:54 +0200300 <action android:name="android.nfc.action.NDEF_DISCOVERED" />
301 <category android:name="android.intent.category.DEFAULT" />
Bruno Martins84b8a8e2018-02-22 12:22:05 +0000302 <data android:mimeType="lineage/profile" />
Maxim Becker4677ce62017-02-09 14:07:50 +0100303 </intent-filter>
304 </activity>
305
306 <activity
307 android:name=".profiles.NFCProfileSelect"
Michael W26cc2292023-10-01 16:18:54 +0200308 android:excludeFromRecents="true"
309 android:label="@string/profile_select" />
Maxim Becker4677ce62017-02-09 14:07:50 +0100310
Michael W26cc2292023-10-01 16:18:54 +0200311 <activity
312 android:name=".logo.PlatLogoActivity"
313 android:configChanges="orientation|keyboardHidden"
Michael Bestasaa0a6d82023-02-09 03:01:32 +0200314 android:exported="true"
Michael W26cc2292023-10-01 16:18:54 +0200315 android:theme="@style/EggStyle">
Michael Bestas03645f22014-11-13 21:22:46 +0200316 <intent-filter>
317 <action android:name="android.intent.action.MAIN" />
318 <category android:name="android.intent.category.DEFAULT" />
319 </intent-filter>
320 </activity>
321
Michael W26cc2292023-10-01 16:18:54 +0200322 <activity
323 android:name=".egg.octo.Ocquarium"
Michael Bestasaa0a6d82023-02-09 03:01:32 +0200324 android:exported="true"
Michael W26cc2292023-10-01 16:18:54 +0200325 android:label="@string/egg_title"
326 android:theme="@style/EggStyle">
meganukebmp9a6ac452017-12-29 19:45:22 +0200327 <intent-filter>
Michael W26cc2292023-10-01 16:18:54 +0200328 <action android:name="org.lineageos.lineageparts.EASTER_EGG" />
meganukebmp9a6ac452017-12-29 19:45:22 +0200329 <category android:name="android.intent.category.DEFAULT" />
330 <category android:name="com.android.internal.category.PLATLOGO" />
331 </intent-filter>
332 </activity>
333
Steve Kondik66dbbd52016-09-03 05:15:27 -0700334 </application>
335</manifest>