blob: f9fdd4a694b5b5944993448187eaf23f5e5c0131 [file] [log] [blame]
cretin450328b872015-01-15 16:04:44 -08001<?xml version="1.0" encoding="utf-8"?>
2<!--
Michael Bestasec050052024-02-14 20:35:43 +02003 SPDX-FileCopyrightText: 2013 The CyanogenMod Project
4 SPDX-FileCopyrightText: 2017-2024 The LineageOS Project
5 SPDX-License-Identifier: Apache-2.0
cretin450328b872015-01-15 16:04:44 -08006-->
7<manifest xmlns:android="http://schemas.android.com/apk/res/android"
Oliver Scott973660d2024-01-06 20:33:57 -05008 package="org.lineageos.setupwizard"
9 android:versionCode="5"
10 android:sharedUserId="android.uid.system">
cretin450328b872015-01-15 16:04:44 -080011
12 <uses-permission android:name="android.permission.CHANGE_CONFIGURATION" />
13 <uses-permission android:name="android.permission.STATUS_BAR" />
14 <uses-permission android:name="android.permission.WRITE_SETTINGS" />
15 <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" />
16 <uses-permission android:name="android.permission.SET_TIME_ZONE" />
17 <uses-permission android:name="android.permission.SET_TIME" />
18 <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
Oliver Scott76644612024-01-10 17:16:28 -050019 <uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" />
cretin450328b872015-01-15 16:04:44 -080020 <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
21 <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
Oliver Scott76644612024-01-10 17:16:28 -050022 <uses-permission android:name="android.permission.INTERNET" />
cretin45f5ec6ac2016-01-12 16:14:41 -080023 <uses-permission android:name="android.permission.GET_ACCOUNTS_PRIVILEGED" />
cretin4556bf4362016-02-16 12:33:21 -080024 <uses-permission android:name="android.permission.READ_PRIVILEGED_PHONE_STATE" />
cretin450328b872015-01-15 16:04:44 -080025 <uses-permission android:name="android.permission.MANAGE_ACCOUNTS" />
cretin45d842eed2015-01-27 11:10:09 -080026 <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS" />
27 <uses-permission android:name="android.permission.MANAGE_USERS" />
cretin450328b872015-01-15 16:04:44 -080028 <uses-permission android:name="android.permission.CHANGE_COMPONENT_ENABLED_STATE" />
cretin450328b872015-01-15 16:04:44 -080029 <uses-permission android:name="android.permission.EXPAND_STATUS_BAR" />
Abhisek Devkotacc839c92018-01-29 12:41:42 -080030 <uses-permission android:name="lineageos.permission.HARDWARE_ABSTRACTION_ACCESS" />
cretin453441abd2015-02-02 16:44:52 -080031 <uses-permission android:name="android.permission.BACKUP" />
Daniel Micayd186af22021-02-09 20:12:11 -050032 <uses-permission android:name="android.permission.NETWORK_SETTINGS" />
Michael Bestasc83309e2018-02-03 17:42:13 +020033 <uses-permission android:name="lineageos.permission.FINISH_SETUP" />
Abhisek Devkotacc839c92018-01-29 12:41:42 -080034 <uses-permission android:name="lineageos.permission.WRITE_SETTINGS" />
35 <uses-permission android:name="lineageos.permission.WRITE_SECURE_SETTINGS" />
cretin4548ca24e2015-01-19 14:29:43 -080036
37 <permission
Michael Bestasc83309e2018-02-03 17:42:13 +020038 android:name="lineageos.permission.FINISH_SETUP"
Abhisek Devkotacc839c92018-01-29 12:41:42 -080039 android:protectionLevel="signatureOrSystem" />
cretin4548ca24e2015-01-19 14:29:43 -080040
Oliver Scott76644612024-01-10 17:16:28 -050041 <protected-broadcast
42 android:name="org.lineageos.setupwizard.LINEAGE_SETUP_COMPLETE"
43 android:permission="lineageos.permission.FINISH_SETUP" />
Torsten Groteda1355a2019-04-02 11:32:55 -030044
Oliver Scott76644612024-01-10 17:16:28 -050045 <protected-broadcast
46 android:name="org.lineageos.setupwizard.SETUP_FINISHED"
47 android:permission="lineageos.permission.FINISH_SETUP" />
Tommy Webb63bbec02023-12-20 11:59:48 -050048
Oliver Scott76644612024-01-10 17:16:28 -050049 <application
50 android:label="@string/app_name"
51 android:icon="@mipmap/ic_launcher"
52 android:theme="@style/Theme.Setup"
53 android:uiOptions="none"
54 android:taskAffinity="com.android.wizard"
55 android:name=".SetupWizardApp">
cretin450328b872015-01-15 16:04:44 -080056
Oliver Scott76644612024-01-10 17:16:28 -050057 <activity
58 android:theme="@style/NoDisplay"
59 android:label="@string/activity_label_empty"
60 android:name=".wizardmanager.WizardManager"
61 android:enabled="false"
62 android:exported="false"
Oliver Scott76644612024-01-10 17:16:28 -050063 android:configChanges="keyboard|keyboardHidden|mcc|mnc|orientation|screenSize"
64 android:immersive="true">
cretin45d4cea552016-04-25 11:00:04 -070065 <intent-filter>
66 <action android:name="com.android.wizard.LOAD" />
67 <action android:name="com.android.wizard.NEXT" />
68 <category android:name="android.intent.category.DEFAULT" />
69 </intent-filter>
70 </activity>
71
Oliver Scott76644612024-01-10 17:16:28 -050072 <activity
73 android:name=".SetupWizardActivity"
74 android:label="@string/activity_label_empty"
75 android:lockTaskMode="normal"
76 android:launchMode="singleTask"
Oliver Scott76644612024-01-10 17:16:28 -050077 android:configChanges="keyboard|keyboardHidden|mcc|mnc|orientation|screenSize"
78 android:immersive="true"
79 android:exported="true"
80 android:windowSoftInputMode="stateAlwaysHidden"
81 android:theme="@style/NoDisplay">
cretin45d4cea552016-04-25 11:00:04 -070082
83 <intent-filter android:priority="9">
84 <action android:name="android.intent.action.MAIN" />
85 <action android:name="android.intent.action.DEVICE_INITIALIZATION_WIZARD" />
86 <category android:name="android.intent.category.HOME" />
87 <category android:name="android.intent.category.DEFAULT" />
cretin45d4cea552016-04-25 11:00:04 -070088 </intent-filter>
89 </activity>
90
Oliver Scott76644612024-01-10 17:16:28 -050091 <activity
92 android:name=".BluetoothSetupActivity"
93 android:label="@string/activity_label_empty"
Oliver Scott76644612024-01-10 17:16:28 -050094 android:configChanges="mcc|mnc"
95 android:immersive="true"
96 android:exported="false"
97 android:windowSoftInputMode="stateAlwaysHidden">
cretin45d4cea552016-04-25 11:00:04 -070098 <intent-filter>
Michael Bestasc83309e2018-02-03 17:42:13 +020099 <action android:name="org.lineageos.setupwizard.LINEAGE_BLUETOOTH_SETUP" />
cretin45d4cea552016-04-25 11:00:04 -0700100 <category android:name="android.intent.category.DEFAULT" />
101 </intent-filter>
102 </activity>
cretin450328b872015-01-15 16:04:44 -0800103
Oliver Scott76644612024-01-10 17:16:28 -0500104 <activity
105 android:name=".WelcomeActivity"
106 android:label="@string/activity_label_empty"
Oliver Scott76644612024-01-10 17:16:28 -0500107 android:configChanges="mcc|mnc"
108 android:immersive="true"
109 android:exported="false"
110 android:windowSoftInputMode="stateAlwaysHidden">
cretin453593f032016-04-20 16:21:05 -0700111 <intent-filter>
Michael Bestasc83309e2018-02-03 17:42:13 +0200112 <action android:name="org.lineageos.setupwizard.LINEAGE_WELCOME" />
cretin450328b872015-01-15 16:04:44 -0800113 <category android:name="android.intent.category.DEFAULT" />
114 </intent-filter>
115 </activity>
cretin45c5e926d2015-06-17 13:56:09 -0700116
Oliver Scott76644612024-01-10 17:16:28 -0500117 <activity
118 android:name=".LocaleActivity"
119 android:label="@string/activity_label_empty"
Oliver Scott76644612024-01-10 17:16:28 -0500120 android:configChanges="mcc|mnc"
121 android:immersive="true"
122 android:exported="false"
123 android:windowSoftInputMode="stateAlwaysHidden">
cretin45c5e926d2015-06-17 13:56:09 -0700124 <intent-filter>
Michael Bestasc83309e2018-02-03 17:42:13 +0200125 <action android:name="org.lineageos.setupwizard.LINEAGE_LOCALE" />
cretin453593f032016-04-20 16:21:05 -0700126 <category android:name="android.intent.category.DEFAULT" />
127 </intent-filter>
128 </activity>
129
Oliver Scott76644612024-01-10 17:16:28 -0500130 <activity
131 android:name=".DateTimeActivity"
132 android:label="@string/activity_label_empty"
Oliver Scott76644612024-01-10 17:16:28 -0500133 android:configChanges="mcc|mnc"
134 android:immersive="true"
135 android:exported="false"
136 android:windowSoftInputMode="stateAlwaysHidden">
cretin45d4cea552016-04-25 11:00:04 -0700137 <intent-filter>
Michael Bestasc83309e2018-02-03 17:42:13 +0200138 <action android:name="org.lineageos.setupwizard.LINEAGE_DATETIME" />
cretin45d4cea552016-04-25 11:00:04 -0700139 <category android:name="android.intent.category.DEFAULT" />
140 </intent-filter>
141 </activity>
142
Oliver Scott76644612024-01-10 17:16:28 -0500143 <activity
144 android:name=".SimMissingActivity"
145 android:label="@string/activity_label_empty"
Oliver Scott76644612024-01-10 17:16:28 -0500146 android:configChanges="mcc|mnc"
147 android:immersive="true"
148 android:exported="false"
149 android:windowSoftInputMode="stateAlwaysHidden">
cretin45d4cea552016-04-25 11:00:04 -0700150 <intent-filter>
Michael Bestasc83309e2018-02-03 17:42:13 +0200151 <action android:name="org.lineageos.setupwizard.LINEAGE_SIM_MISSING" />
cretin45d4cea552016-04-25 11:00:04 -0700152 <category android:name="android.intent.category.DEFAULT" />
153 </intent-filter>
154 </activity>
155
Oliver Scott76644612024-01-10 17:16:28 -0500156 <activity
157 android:name=".NetworkSetupActivity"
158 android:label="@string/activity_label_empty"
Oliver Scott76644612024-01-10 17:16:28 -0500159 android:configChanges="mcc|mnc"
160 android:immersive="true"
161 android:exported="false"
162 android:windowSoftInputMode="stateAlwaysHidden">
cretin45d4cea552016-04-25 11:00:04 -0700163 <intent-filter>
Michael Bestas334cd1b2021-10-09 01:55:56 +0300164 <action android:name="org.lineageos.setupwizard.LINEAGE_NETWORK_SETUP" />
cretin45d4cea552016-04-25 11:00:04 -0700165 <category android:name="android.intent.category.DEFAULT" />
166 </intent-filter>
167 </activity>
168
Oliver Scott76644612024-01-10 17:16:28 -0500169 <activity
170 android:name=".LocationSettingsActivity"
171 android:label="@string/activity_label_empty"
Oliver Scott76644612024-01-10 17:16:28 -0500172 android:configChanges="mcc|mnc"
173 android:immersive="true"
174 android:exported="false"
175 android:windowSoftInputMode="stateAlwaysHidden">
cretin45d4cea552016-04-25 11:00:04 -0700176 <intent-filter>
Michael Bestasc83309e2018-02-03 17:42:13 +0200177 <action android:name="org.lineageos.setupwizard.LINEAGE_LOCATION_SETTINGS" />
cretin45d4cea552016-04-25 11:00:04 -0700178 <category android:name="android.intent.category.DEFAULT" />
179 </intent-filter>
180 </activity>
181
Oliver Scott76644612024-01-10 17:16:28 -0500182 <activity
183 android:name=".UpdateRecoveryActivity"
184 android:label="@string/activity_label_empty"
Oliver Scott76644612024-01-10 17:16:28 -0500185 android:configChanges="mcc|mnc"
186 android:immersive="true"
187 android:exported="true"
188 android:windowSoftInputMode="stateAlwaysHidden">
Alessandro Astoned93e0e12020-11-13 01:03:12 +0100189 <intent-filter>
Oliver Scott76644612024-01-10 17:16:28 -0500190 <action android:name="org.lineageos.setupwizard.LINEAGE_RECOVERY_UPDATE" />
191 <category android:name="android.intent.category.DEFAULT" />
Alessandro Astoned93e0e12020-11-13 01:03:12 +0100192 </intent-filter>
193 </activity>
194
Oliver Scott76644612024-01-10 17:16:28 -0500195 <activity
196 android:name=".DeviceSpecificActivity"
197 android:label="@string/activity_label_empty"
Oliver Scott76644612024-01-10 17:16:28 -0500198 android:immersive="true"
199 android:exported="true"
200 android:windowSoftInputMode="stateAlwaysHidden">
Michael W2b90a7f2021-01-30 20:39:30 +0100201 <intent-filter>
Oliver Scott76644612024-01-10 17:16:28 -0500202 <action android:name="org.lineageos.setupwizard.DEVICE_SPECIFIC" />
203 <category android:name="android.intent.category.DEFAULT" />
Michael W2b90a7f2021-01-30 20:39:30 +0100204 </intent-filter>
205 </activity>
206
Oliver Scott76644612024-01-10 17:16:28 -0500207 <activity
208 android:name=".LineageSettingsActivity"
209 android:label="@string/activity_label_empty"
Oliver Scott76644612024-01-10 17:16:28 -0500210 android:configChanges="mcc|mnc"
211 android:immersive="true"
212 android:exported="true"
213 android:windowSoftInputMode="stateAlwaysHidden">
cretin453593f032016-04-20 16:21:05 -0700214 <intent-filter>
Michael Bestasc83309e2018-02-03 17:42:13 +0200215 <action android:name="org.lineageos.setupwizard.LINEAGE_SETTINGS" />
cretin453593f032016-04-20 16:21:05 -0700216 <category android:name="android.intent.category.DEFAULT" />
217 </intent-filter>
218 </activity>
219
Oliver Scott76644612024-01-10 17:16:28 -0500220 <activity
221 android:name=".NavigationSettingsActivity"
222 android:label="@string/activity_label_empty"
Oliver Scott76644612024-01-10 17:16:28 -0500223 android:configChanges="mcc|mnc"
224 android:immersive="true"
225 android:exported="true"
226 android:windowSoftInputMode="stateAlwaysHidden">
Timi Rautamäkie83f9e12022-03-16 13:21:30 +0000227 <intent-filter>
228 <action android:name="org.lineageos.setupwizard.NAVIGATION_SETTINGS" />
229 <category android:name="android.intent.category.DEFAULT" />
230 </intent-filter>
231 </activity>
232
Oliver Scott76644612024-01-10 17:16:28 -0500233 <activity
234 android:name=".BiometricActivity"
235 android:label="@string/activity_label_empty"
Oliver Scott76644612024-01-10 17:16:28 -0500236 android:configChanges="mcc|mnc"
237 android:immersive="true"
238 android:exported="false"
239 android:windowSoftInputMode="stateAlwaysHidden">
cretin45d4cea552016-04-25 11:00:04 -0700240 <intent-filter>
Chirayu Desaie372bc02020-05-28 00:26:19 +0530241 <action android:name="org.lineageos.setupwizard.LINEAGE_BIOMETRIC_SETTINGS" />
cretin45d4cea552016-04-25 11:00:04 -0700242 <category android:name="android.intent.category.DEFAULT" />
243 </intent-filter>
244 </activity>
245
Oliver Scott76644612024-01-10 17:16:28 -0500246 <activity
247 android:name=".ScreenLockActivity"
248 android:label="@string/activity_label_empty"
Oliver Scott76644612024-01-10 17:16:28 -0500249 android:configChanges="mcc|mnc"
250 android:immersive="true"
251 android:exported="false"
252 android:windowSoftInputMode="stateAlwaysHidden">
cretin45d4cea552016-04-25 11:00:04 -0700253 <intent-filter>
Michael Bestasc83309e2018-02-03 17:42:13 +0200254 <action android:name="org.lineageos.setupwizard.LINEAGE_LOCKSCREEN_SETTINGS" />
cretin45d4cea552016-04-25 11:00:04 -0700255 <category android:name="android.intent.category.DEFAULT" />
256 </intent-filter>
257 </activity>
258
Oliver Scott76644612024-01-10 17:16:28 -0500259 <activity
260 android:name=".backup.RestoreIntroActivity"
261 android:label="@string/activity_label_empty"
Oliver Scott76644612024-01-10 17:16:28 -0500262 android:configChanges="mcc|mnc"
263 android:immersive="true"
264 android:exported="true"
265 android:windowSoftInputMode="stateAlwaysHidden">
Torsten Grotefc026fc2019-09-04 15:58:07 -0300266 <intent-filter>
Oliver Scott76644612024-01-10 17:16:28 -0500267 <action android:name="org.lineageos.setupwizard.LINEAGE_RESTORE_BACKUP" />
268 <category android:name="android.intent.category.DEFAULT" />
Torsten Grotefc026fc2019-09-04 15:58:07 -0300269 </intent-filter>
270 </activity>
271
Oliver Scott76644612024-01-10 17:16:28 -0500272 <activity
273 android:name=".ThemeSettingsActivity"
274 android:label="@string/activity_label_empty"
Oliver Scott76644612024-01-10 17:16:28 -0500275 android:configChanges="mcc|mnc"
276 android:immersive="true"
277 android:exported="true"
278 android:windowSoftInputMode="stateAlwaysHidden">
Oliver Scott554f6352023-06-12 19:12:26 -0400279 <intent-filter>
280 <action android:name="org.lineageos.setupwizard.THEME_SETTINGS" />
281 <category android:name="android.intent.category.DEFAULT" />
282 </intent-filter>
283 </activity>
284
Oliver Scott76644612024-01-10 17:16:28 -0500285 <activity
286 android:name=".FinishActivity"
Oliver Scott76644612024-01-10 17:16:28 -0500287 android:label="@string/activity_label_empty"
Oliver Scott76644612024-01-10 17:16:28 -0500288 android:configChanges="mcc|mnc"
289 android:immersive="true"
290 android:exported="true"
291 android:windowSoftInputMode="stateAlwaysHidden">
cretin453593f032016-04-20 16:21:05 -0700292 <intent-filter>
Michael Bestasc83309e2018-02-03 17:42:13 +0200293 <action android:name="org.lineageos.setupwizard.LINEAGE_SETUP_COMPLETE" />
Oliver Scott76644612024-01-10 17:16:28 -0500294 <action android:name="org.lineageos.setupwizard.SETUP_FINISHED" />
cretin453593f032016-04-20 16:21:05 -0700295 <category android:name="android.intent.category.DEFAULT" />
296 </intent-filter>
297 </activity>
298
Oliver Scott76644612024-01-10 17:16:28 -0500299 <receiver
300 android:name=".PartnerReceiver"
301 android:exported="true">
cretin453593f032016-04-20 16:21:05 -0700302 <intent-filter>
303 <action android:name="com.android.setupwizard.action.PARTNER_CUSTOMIZATION" />
Aaron Kling5d1780f2020-07-23 12:53:03 -0500304 <action android:name="com.google.android.tvsetup.action.PARTNER_CUSTOMIZATION" />
305 <category android:name="android.intent.category.DEFAULT" />
cretin45c5e926d2015-06-17 13:56:09 -0700306 </intent-filter>
307 </receiver>
cretin450328b872015-01-15 16:04:44 -0800308 </application>
309</manifest>