blob: afaa771dc0feb07eeed5bfcf46d8286d053960ef [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
LuK133777c18262022-05-29 21:14:00 +02005 * Copyright 2017-2022, 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" />
Ashwin R C5d6a8c62020-05-27 15:17:10 +000039 <uses-permission android:name="android.permission.VIBRATE" />
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
Dominik Baronelli16936112022-10-13 09:05:22 +020049 <application android:label="@string/shiftparts_title"
Asher Simondsa9a48062018-02-14 16:38:10 +020050 android:icon="@mipmap/ic_launcher"
Bruno Martins2c9043b2021-12-31 16:29:07 +000051 android:theme="@style/Theme.SubSettingsBase"
Steve Kondik66dbbd52016-09-03 05:15:27 -070052 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
Dominik Baronelli7a1f5b22022-10-12 07:58:58 +020068<!--
Joey8d100d32018-04-07 14:12:34 +020069 <activity android:name=".trust.TrustOnBoardingActivity"
70 android:label="@string/trust_title"
71 android:theme="@style/OnBoardingStyle"
72 android:exported="true"
Luca Stefani5fba0142018-06-10 17:12:58 +020073 android:enabled="true"
74 android:excludeFromRecents="true">
Joey8d100d32018-04-07 14:12:34 +020075 <intent-filter android:priority="-4">
76 <action android:name="org.lineageos.lineageparts.TRUST_HINT" />
77 <category android:name="android.intent.category.DEFAULT" />
78 </intent-filter>
79 </activity>
Dominik Baronelli7a1f5b22022-10-12 07:58:58 +020080-->
Joey8d100d32018-04-07 14:12:34 +020081
Steve Kondik69144e92016-10-15 01:02:13 -070082 <receiver android:name=".BootReceiver" android:enabled="true">
Steve Kondik362d0d62016-09-25 23:53:46 -070083 <intent-filter android:priority="2147483647">
84 <action android:name="android.intent.action.BOOT_COMPLETED" />
85 </intent-filter>
86 </receiver>
Steve Kondik7789bbb2016-09-09 03:14:20 -070087
Steve Kondik69144e92016-10-15 01:02:13 -070088 <receiver android:name=".PartsUpdater" android:enabled="true">
Steve Kondikee8f6e82016-10-10 01:31:23 -070089 <intent-filter>
Sam Mortimer32a2abb2017-09-18 21:40:24 -070090 <action android:name="lineageos.intent.action.UPDATE_PREFERENCE" />
Steve Kondik69144e92016-10-15 01:02:13 -070091 <category android:name="android.intent.category.DEFAULT" />
Steve Kondikee8f6e82016-10-10 01:31:23 -070092 </intent-filter>
93 </receiver>
94
Sam Mortimer32a2abb2017-09-18 21:40:24 -070095 <provider android:name=".search.LineagePartsSearchIndexablesProvider"
96 android:authorities="org.lineageos.lineageparts"
Steve Kondik165ebdf2016-10-07 00:17:49 -070097 android:multiprocess="false"
98 android:grantUriPermissions="true"
99 android:permission="android.permission.READ_SEARCH_INDEXABLES"
100 android:exported="true">
101 <intent-filter>
102 <action android:name="android.content.action.SEARCH_INDEXABLES_PROVIDER" />
103 </intent-filter>
104 </provider>
105
Simon Shields196aaa42017-11-24 16:38:47 +1100106 <!-- Button settings (System category) -->
Steve Kondik3281bd62016-09-09 23:55:11 -0700107 <activity-alias
108 android:name=".input.ButtonSettings"
109 android:label="@string/button_pref_title"
110 android:targetActivity="PartsActivity">
Paul Keithcbddb5c2019-09-07 16:24:38 -0500111 <intent-filter>
112 <action android:name="com.android.settings.action.IA_SETTINGS" />
Sam Mortimer32a2abb2017-09-18 21:40:24 -0700113 <action android:name="org.lineageos.lineageparts.BUTTON_SETTINGS" />
Steve Kondik3281bd62016-09-09 23:55:11 -0700114 <category android:name="android.intent.category.DEFAULT" />
115 </intent-filter>
116 <meta-data
117 android:name="com.android.settings.category"
Simon Shields196aaa42017-11-24 16:38:47 +1100118 android:value="com.android.settings.category.ia.system" />
Steve Kondik3281bd62016-09-09 23:55:11 -0700119 <meta-data
LuK13375816d9f2021-10-09 20:03:16 +0200120 android:name="com.android.settings.icon"
121 android:resource="@drawable/ic_settings_buttons" />
122 <meta-data
123 android:name="com.android.settings.icon_tintable"
124 android:value="true" />
125 <meta-data
Paul Keithcbddb5c2019-09-07 16:24:38 -0500126 android:name="com.android.settings.order"
127 android:value="-256" />
128 <meta-data
Simon Shields196aaa42017-11-24 16:38:47 +1100129 android:name="com.android.settings.summary"
Paul Keithcbddb5c2019-09-07 16:24:38 -0500130 android:resource="@string/summary_empty" />
Steve Kondik3281bd62016-09-09 23:55:11 -0700131 </activity-alias>
132
Zhao Wei Liew2ccca732017-01-21 00:51:22 +0800133 <activity android:name=".gestures.KeyHandler" />
134
Ethan Chend629eb42017-10-05 00:50:26 -0700135 <!-- Profiles settings (System category) -->
Steve Kondik03b56502016-09-10 17:17:25 -0700136 <activity-alias
137 android:name=".profiles.ProfilesSettings"
138 android:label="@string/profiles_settings_title"
139 android:targetActivity="PartsActivity">
Paul Keithcbddb5c2019-09-07 16:24:38 -0500140 <intent-filter>
141 <action android:name="com.android.settings.action.IA_SETTINGS" />
Sam Mortimer32a2abb2017-09-18 21:40:24 -0700142 <action android:name="org.lineageos.lineageparts.PROFILES_SETTINGS" />
Steve Kondik03b56502016-09-10 17:17:25 -0700143 <category android:name="android.intent.category.DEFAULT" />
144 </intent-filter>
145 <meta-data
146 android:name="com.android.settings.category"
Ethan Chend629eb42017-10-05 00:50:26 -0700147 android:value="com.android.settings.category.ia.system" />
Steve Kondik03b56502016-09-10 17:17:25 -0700148 <meta-data
LuK13375816d9f2021-10-09 20:03:16 +0200149 android:name="com.android.settings.icon"
150 android:resource="@drawable/ic_settings_profiles" />
151 <meta-data
152 android:name="com.android.settings.icon_tintable"
153 android:value="true" />
154 <meta-data
Paul Keithcbddb5c2019-09-07 16:24:38 -0500155 android:name="com.android.settings.order"
156 android:value="-255" />
157 <meta-data
Ethan Chend629eb42017-10-05 00:50:26 -0700158 android:name="com.android.settings.summary"
159 android:resource="@string/summary_empty" />
Steve Kondik03b56502016-09-10 17:17:25 -0700160 </activity-alias>
161
Bruno Martins5c824992017-10-18 19:39:45 +0100162 <!-- Status bar settings (System category) -->
Steve Kondik50c9fe62016-09-14 01:36:48 -0700163 <activity-alias
164 android:name=".statusbar.StatusBarSettings"
165 android:label="@string/status_bar_title"
166 android:targetActivity="PartsActivity">
Paul Keithcbddb5c2019-09-07 16:24:38 -0500167 <intent-filter>
168 <action android:name="com.android.settings.action.IA_SETTINGS" />
Sam Mortimer32a2abb2017-09-18 21:40:24 -0700169 <action android:name="org.lineageos.lineageparts.STATUS_BAR_SETTINGS" />
Steve Kondik50c9fe62016-09-14 01:36:48 -0700170 <category android:name="android.intent.category.DEFAULT" />
171 </intent-filter>
172 <meta-data
173 android:name="com.android.settings.category"
Bruno Martins5c824992017-10-18 19:39:45 +0100174 android:value="com.android.settings.category.ia.system" />
Steve Kondik50c9fe62016-09-14 01:36:48 -0700175 <meta-data
LuK13375816d9f2021-10-09 20:03:16 +0200176 android:name="com.android.settings.icon"
177 android:resource="@drawable/ic_settings_statusbar" />
178 <meta-data
179 android:name="com.android.settings.icon_tintable"
180 android:value="true" />
181 <meta-data
Paul Keithcbddb5c2019-09-07 16:24:38 -0500182 android:name="com.android.settings.order"
183 android:value="-254" />
184 <meta-data
Bruno Martins5c824992017-10-18 19:39:45 +0100185 android:name="com.android.settings.summary"
186 android:resource="@string/summary_empty" />
Steve Kondik50c9fe62016-09-14 01:36:48 -0700187 </activity-alias>
188
Paul Keithcbddb5c2019-09-07 16:24:38 -0500189 <!-- Trust interface (Privacy category) -->
Dominik Baronelli7a1f5b22022-10-12 07:58:58 +0200190<!--
Joey8d100d32018-04-07 14:12:34 +0200191 <activity-alias
192 android:name=".trust.TrustPreferences"
193 android:label="@string/trust_title"
194 android:targetActivity="PartsActivity">
Paul Keithcbddb5c2019-09-07 16:24:38 -0500195 <intent-filter>
196 <action android:name="com.android.settings.action.IA_SETTINGS" />
Joey8d100d32018-04-07 14:12:34 +0200197 <action android:name="org.lineageos.lineageparts.TRUST_INTERFACE" />
198 <category android:name="android.intent.category.DEFAULT" />
199 </intent-filter>
Paul Keithcbddb5c2019-09-07 16:24:38 -0500200 <meta-data
201 android:name="com.android.settings.category"
202 android:value="com.android.settings.category.ia.privacy" />
203 <meta-data
204 android:name="com.android.settings.order"
205 android:value="0" />
206 <meta-data
207 android:name="com.android.settings.summary"
208 android:resource="@string/summary_empty" />
Joey8d100d32018-04-07 14:12:34 +0200209 </activity-alias>
Dominik Baronelli7a1f5b22022-10-12 07:58:58 +0200210-->
Joey8d100d32018-04-07 14:12:34 +0200211
Bruno Martinscf2f02e2019-09-12 14:00:37 +0100212 <!-- Contributors Cloud (MyDeviceInfo category) -->
Dominik Baronelli4aed4792022-10-14 11:56:48 +0200213<!--
Bruno Martinscf2f02e2019-09-12 14:00:37 +0100214 <activity-alias
215 android:name=".contributors.ContributorsCloudFragment"
216 android:label="@string/contributors_cloud_fragment_title"
217 android:targetActivity="PartsActivity">
218 <intent-filter>
219 <action android:name="com.android.settings.action.IA_SETTINGS" />
220 <action android:name="org.lineageos.lineageparts.CONTRIBUTORS_CLOUD" />
221 <category android:name="android.intent.category.DEFAULT" />
222 </intent-filter>
223 <meta-data
224 android:name="com.android.settings.category"
225 android:value="com.android.settings.category.ia.my_device_info" />
226 <meta-data
227 android:name="com.android.settings.order"
Bruno Martins2c9043b2021-12-31 16:29:07 +0000228 android:value="2" />
Bruno Martinscf2f02e2019-09-12 14:00:37 +0100229 <meta-data
230 android:name="com.android.settings.summary"
231 android:resource="@string/summary_empty" />
232 </activity-alias>
Dominik Baronelli4aed4792022-10-14 11:56:48 +0200233-->
Bruno Martinscf2f02e2019-09-12 14:00:37 +0100234
Steve Kondikcd4f0ee2016-09-26 00:23:57 -0700235 <!-- Anonymous Statistics -->
Dominik Baronellib4458b32022-10-11 13:33:08 +0200236<!--
Sam Mortimer32a2abb2017-09-18 21:40:24 -0700237 <receiver android:name=".lineagestats.ReportingServiceManager"
Steve Kondikcd4f0ee2016-09-26 00:23:57 -0700238 android:enabled="true"
239 android:exported="false"
240 android:label="ReportingServiceManager">
241 <intent-filter>
242 <action android:name="android.intent.action.BOOT_COMPLETED" />
Sam Mortimer32a2abb2017-09-18 21:40:24 -0700243 <action android:name="org.lineageos.lineageparts.action.TRIGGER_REPORT_METRICS" />
Steve Kondikcd4f0ee2016-09-26 00:23:57 -0700244 </intent-filter>
245 </receiver>
246
247 <service android:label="ReportingService"
248 android:enabled="true"
249 android:exported="false"
Sam Mortimer32a2abb2017-09-18 21:40:24 -0700250 android:name=".lineagestats.ReportingService">
Steve Kondikcd4f0ee2016-09-26 00:23:57 -0700251 </service>
252
Sam Mortimer32a2abb2017-09-18 21:40:24 -0700253 <service android:name=".lineagestats.StatsUploadJobService"
Steve Kondikcd4f0ee2016-09-26 00:23:57 -0700254 android:permission="android.permission.BIND_JOB_SERVICE" />
255
Sam Mortimer32a2abb2017-09-18 21:40:24 -0700256 <service android:name=".lineagestats.ReportingService"
Steve Kondikcd4f0ee2016-09-26 00:23:57 -0700257 android:label="ReportingService"
258 android:enabled="true"
259 android:exported="false" />
Dominik Baronellib4458b32022-10-11 13:33:08 +0200260-->
Steve Kondikcd4f0ee2016-09-26 00:23:57 -0700261
Maxim Becker4677ce62017-02-09 14:07:50 +0100262 <activity android:name=".profiles.NFCProfile">
263 <intent-filter>
264 <action android:name="android.nfc.action.NDEF_DISCOVERED"/>
265 <category android:name="android.intent.category.DEFAULT"/>
Bruno Martins84b8a8e2018-02-22 12:22:05 +0000266 <data android:mimeType="lineage/profile" />
Maxim Becker4677ce62017-02-09 14:07:50 +0100267 </intent-filter>
268 </activity>
269
270 <activity
271 android:name=".profiles.NFCProfileSelect"
272 android:label="@string/profile_select"
273 android:excludeFromRecents="true"/>
274
Michael Bestas03645f22014-11-13 21:22:46 +0200275 <activity android:name=".logo.PlatLogoActivity"
LuK133777c18262022-05-29 21:14:00 +0200276 android:theme="@style/EggStyle"
Michael Bestas03645f22014-11-13 21:22:46 +0200277 android:configChanges="orientation|keyboardHidden">
278 <intent-filter>
279 <action android:name="android.intent.action.MAIN" />
280 <category android:name="android.intent.category.DEFAULT" />
281 </intent-filter>
282 </activity>
283
meganukebmp9a6ac452017-12-29 19:45:22 +0200284 <activity android:name=".egg.octo.Ocquarium"
LuK133777c18262022-05-29 21:14:00 +0200285 android:theme="@style/EggStyle"
meganukebmp9a6ac452017-12-29 19:45:22 +0200286 android:label="@string/egg_title">
287 <intent-filter>
288 <action android:name="org.lineageos.lineageparts.EASTER_EGG"/>
289 <category android:name="android.intent.category.DEFAULT" />
290 <category android:name="com.android.internal.category.PLATLOGO" />
291 </intent-filter>
292 </activity>
293
Steve Kondik66dbbd52016-09-03 05:15:27 -0700294 </application>
295</manifest>