blob: 0399715a5a970029da24627ac3f65f34439c4742 [file] [log] [blame]
cretin450328b872015-01-15 16:04:44 -08001<?xml version="1.0" encoding="utf-8"?>
2<!--
3 Copyright (C) 2013 The CyanogenMod Project
Michael W2b90a7f2021-01-30 20:39:30 +01004 Copyright (C) 2017-2021 The LineageOS Project
cretin450328b872015-01-15 16:04:44 -08005
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<manifest xmlns:android="http://schemas.android.com/apk/res/android"
Roman Birg1fc47a02015-06-10 15:46:20 -070019 xmlns:androidprv="http://schemas.android.com/apk/prv/res/android"
Michael Bestasc83309e2018-02-03 17:42:13 +020020 package="org.lineageos.setupwizard"
cretin45ec3dcce2017-02-22 16:47:00 -080021 android:versionCode="5"
cretin45ff2cc6d2015-02-10 12:26:33 -080022 android:sharedUserId="android.uid.system">
cretin450328b872015-01-15 16:04:44 -080023
24 <uses-permission android:name="android.permission.CHANGE_CONFIGURATION" />
25 <uses-permission android:name="android.permission.STATUS_BAR" />
26 <uses-permission android:name="android.permission.WRITE_SETTINGS" />
27 <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" />
28 <uses-permission android:name="android.permission.SET_TIME_ZONE" />
29 <uses-permission android:name="android.permission.SET_TIME" />
30 <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
31 <uses-permission android:name="android.permission.CHANGE_NETWORK_STATE"/>
32 <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
33 <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
cretin450328b872015-01-15 16:04:44 -080034 <uses-permission android:name="android.permission.INTERNET"/>
cretin45f5ec6ac2016-01-12 16:14:41 -080035 <uses-permission android:name="android.permission.GET_ACCOUNTS_PRIVILEGED" />
cretin4556bf4362016-02-16 12:33:21 -080036 <uses-permission android:name="android.permission.READ_PRIVILEGED_PHONE_STATE" />
cretin450328b872015-01-15 16:04:44 -080037 <uses-permission android:name="android.permission.MANAGE_ACCOUNTS" />
cretin45d842eed2015-01-27 11:10:09 -080038 <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS" />
39 <uses-permission android:name="android.permission.MANAGE_USERS" />
cretin450328b872015-01-15 16:04:44 -080040 <uses-permission android:name="android.permission.CHANGE_COMPONENT_ENABLED_STATE" />
cretin450328b872015-01-15 16:04:44 -080041 <uses-permission android:name="android.permission.EXPAND_STATUS_BAR" />
Abhisek Devkotacc839c92018-01-29 12:41:42 -080042 <uses-permission android:name="lineageos.permission.HARDWARE_ABSTRACTION_ACCESS" />
cretin453441abd2015-02-02 16:44:52 -080043 <uses-permission android:name="android.permission.BACKUP" />
Daniel Micayd186af22021-02-09 20:12:11 -050044 <uses-permission android:name="android.permission.NETWORK_SETTINGS" />
Michael Bestasc83309e2018-02-03 17:42:13 +020045 <uses-permission android:name="lineageos.permission.FINISH_SETUP" />
Abhisek Devkotacc839c92018-01-29 12:41:42 -080046 <uses-permission android:name="lineageos.permission.WRITE_SETTINGS" />
47 <uses-permission android:name="lineageos.permission.WRITE_SECURE_SETTINGS" />
cretin4548ca24e2015-01-19 14:29:43 -080048
49 <permission
Michael Bestasc83309e2018-02-03 17:42:13 +020050 android:name="lineageos.permission.FINISH_SETUP"
Abhisek Devkotacc839c92018-01-29 12:41:42 -080051 android:protectionLevel="signatureOrSystem" />
cretin4548ca24e2015-01-19 14:29:43 -080052
Torsten Groteda1355a2019-04-02 11:32:55 -030053 <protected-broadcast android:name="org.lineageos.setupwizard.LINEAGE_SETUP_COMPLETE"
54 android:permission="lineageos.permission.FINISH_SETUP"/>
55
Michael Bestasc83309e2018-02-03 17:42:13 +020056 <protected-broadcast android:name="org.lineageos.setupwizard.SETUP_FINISHED"
57 android:permission="lineageos.permission.FINISH_SETUP"/>
cretin450328b872015-01-15 16:04:44 -080058
cretin450328b872015-01-15 16:04:44 -080059 <application android:label="@string/app_name"
Joey Rizzoli52a78fd2016-12-29 17:28:02 +010060 android:icon="@mipmap/ic_launcher"
Timi Rautamäki5e2f7f22021-08-21 08:58:14 +000061 android:theme="@style/SudThemeGlifV3.Light"
cretin45714be1a2015-04-09 10:44:41 -070062 android:uiOptions="none"
cretin45d35618b2016-05-02 12:21:45 -070063 android:taskAffinity="com.android.wizard"
cretin45ff2cc6d2015-02-10 12:26:33 -080064 android:name=".SetupWizardApp">
cretin450328b872015-01-15 16:04:44 -080065
cretin45d4cea552016-04-25 11:00:04 -070066
67 <activity android:theme="@style/NoDisplay"
68 android:label="@string/activity_label_empty"
69 android:name=".wizardmanager.WizardManager"
razorloves85465bc2019-02-12 03:17:52 -060070 android:enabled="false"
Abhisek Devkotacdff4072018-02-03 20:28:50 -080071 android:exported="false"
cretin45d4cea552016-04-25 11:00:04 -070072 android:excludeFromRecents="true"
73 android:configChanges="keyboard|keyboardHidden|mcc|mnc|orientation|screenSize"
74 android:immersive="true">
75 <intent-filter>
76 <action android:name="com.android.wizard.LOAD" />
77 <action android:name="com.android.wizard.NEXT" />
78 <category android:name="android.intent.category.DEFAULT" />
79 </intent-filter>
80 </activity>
81
82 <activity android:name=".SetupWizardActivity"
83 android:label="@string/activity_label_empty"
84 android:lockTaskMode="normal"
85 android:launchMode="singleTask"
86 android:excludeFromRecents="true"
87 android:configChanges="keyboard|keyboardHidden|mcc|mnc|orientation|screenSize"
88 android:immersive="true"
Michael Bestasf103c562021-10-09 01:20:40 +030089 android:exported="true"
cretin45d4cea552016-04-25 11:00:04 -070090 android:windowSoftInputMode="stateAlwaysHidden"
91 android:theme="@style/NoDisplay">
92
93 <intent-filter android:priority="9">
94 <action android:name="android.intent.action.MAIN" />
95 <action android:name="android.intent.action.DEVICE_INITIALIZATION_WIZARD" />
96 <category android:name="android.intent.category.HOME" />
97 <category android:name="android.intent.category.DEFAULT" />
cretin45d4cea552016-04-25 11:00:04 -070098 </intent-filter>
99 </activity>
100
101 <activity android:name=".BluetoothSetupActivity"
102 android:label="@string/activity_label_empty"
cretin45ff2cc6d2015-02-10 12:26:33 -0800103 android:excludeFromRecents="true"
Brandon McAnsh615f7092016-09-02 22:33:45 -0400104 android:configChanges="mcc|mnc"
cretin45714be1a2015-04-09 10:44:41 -0700105 android:immersive="true"
Michael Bestasf103c562021-10-09 01:20:40 +0300106 android:exported="false"
cretin45714be1a2015-04-09 10:44:41 -0700107 android:windowSoftInputMode="stateAlwaysHidden">
cretin45d4cea552016-04-25 11:00:04 -0700108 <intent-filter>
Michael Bestasc83309e2018-02-03 17:42:13 +0200109 <action android:name="org.lineageos.setupwizard.LINEAGE_BLUETOOTH_SETUP" />
cretin45d4cea552016-04-25 11:00:04 -0700110 <category android:name="android.intent.category.DEFAULT" />
111 </intent-filter>
112 </activity>
cretin450328b872015-01-15 16:04:44 -0800113
cretin45d4cea552016-04-25 11:00:04 -0700114 <activity android:name=".WelcomeActivity"
115 android:label="@string/activity_label_empty"
cretin453593f032016-04-20 16:21:05 -0700116 android:excludeFromRecents="true"
117 android:configChanges="mcc|mnc"
118 android:immersive="true"
Michael Bestasf103c562021-10-09 01:20:40 +0300119 android:exported="false"
cretin453593f032016-04-20 16:21:05 -0700120 android:windowSoftInputMode="stateAlwaysHidden">
121 <intent-filter>
Michael Bestasc83309e2018-02-03 17:42:13 +0200122 <action android:name="org.lineageos.setupwizard.LINEAGE_WELCOME" />
cretin450328b872015-01-15 16:04:44 -0800123 <category android:name="android.intent.category.DEFAULT" />
124 </intent-filter>
125 </activity>
cretin45c5e926d2015-06-17 13:56:09 -0700126
cretin45d4cea552016-04-25 11:00:04 -0700127 <activity android:name=".LocaleActivity"
128 android:label="@string/activity_label_empty"
cretin453593f032016-04-20 16:21:05 -0700129 android:excludeFromRecents="true"
130 android:configChanges="mcc|mnc"
131 android:immersive="true"
Michael Bestasf103c562021-10-09 01:20:40 +0300132 android:exported="false"
cretin453593f032016-04-20 16:21:05 -0700133 android:windowSoftInputMode="stateAlwaysHidden">
cretin45c5e926d2015-06-17 13:56:09 -0700134 <intent-filter>
Michael Bestasc83309e2018-02-03 17:42:13 +0200135 <action android:name="org.lineageos.setupwizard.LINEAGE_LOCALE" />
cretin453593f032016-04-20 16:21:05 -0700136 <category android:name="android.intent.category.DEFAULT" />
137 </intent-filter>
138 </activity>
139
cretin45d4cea552016-04-25 11:00:04 -0700140 <activity android:name=".DateTimeActivity"
141 android:label="@string/activity_label_empty"
142 android:excludeFromRecents="true"
143 android:configChanges="mcc|mnc"
144 android:immersive="true"
Michael Bestasf103c562021-10-09 01:20:40 +0300145 android:exported="false"
cretin45d4cea552016-04-25 11:00:04 -0700146 android:windowSoftInputMode="stateAlwaysHidden">
147 <intent-filter>
Michael Bestasc83309e2018-02-03 17:42:13 +0200148 <action android:name="org.lineageos.setupwizard.LINEAGE_DATETIME" />
cretin45d4cea552016-04-25 11:00:04 -0700149 <category android:name="android.intent.category.DEFAULT" />
150 </intent-filter>
151 </activity>
152
153 <activity android:name=".WifiSetupActivity"
154 android:label="@string/activity_label_empty"
155 android:excludeFromRecents="true"
156 android:configChanges="mcc|mnc"
157 android:immersive="true"
158 android:exported="false"
159 android:windowSoftInputMode="stateAlwaysHidden">
160 <intent-filter>
Michael Bestasc83309e2018-02-03 17:42:13 +0200161 <action android:name="org.lineageos.setupwizard.LINEAGE_WIFI_SETUP" />
cretin45d4cea552016-04-25 11:00:04 -0700162 <category android:name="android.intent.category.DEFAULT" />
163 </intent-filter>
164 </activity>
165
166 <activity android:name=".CaptivePortalSetupActivity"
167 android:label="@string/activity_label_empty"
168 android:excludeFromRecents="true"
169 android:configChanges="mcc|mnc"
170 android:immersive="true"
171 android:exported="false"
172 android:windowSoftInputMode="stateAlwaysHidden">
173 <intent-filter>
Michael Bestasc83309e2018-02-03 17:42:13 +0200174 <action android:name="org.lineageos.setupwizard.LINEAGE_CAPTIVE_PORTAL_SETUP" />
cretin45d4cea552016-04-25 11:00:04 -0700175 <category android:name="android.intent.category.DEFAULT" />
176 </intent-filter>
177 </activity>
178
179 <activity android:name=".SimMissingActivity"
180 android:label="@string/activity_label_empty"
181 android:excludeFromRecents="true"
182 android:configChanges="mcc|mnc"
183 android:immersive="true"
184 android:exported="false"
185 android:windowSoftInputMode="stateAlwaysHidden">
186 <intent-filter>
Michael Bestasc83309e2018-02-03 17:42:13 +0200187 <action android:name="org.lineageos.setupwizard.LINEAGE_SIM_MISSING" />
cretin45d4cea552016-04-25 11:00:04 -0700188 <category android:name="android.intent.category.DEFAULT" />
189 </intent-filter>
190 </activity>
191
192 <activity android:name=".ChooseDataSimActivity"
193 android:label="@string/activity_label_empty"
194 android:excludeFromRecents="true"
195 android:configChanges="mcc|mnc"
196 android:immersive="true"
197 android:exported="false"
198 android:windowSoftInputMode="stateAlwaysHidden">
199 <intent-filter>
Michael Bestasc83309e2018-02-03 17:42:13 +0200200 <action android:name="org.lineageos.setupwizard.LINEAGE_CHOOSE_DATA_SIM" />
cretin45d4cea552016-04-25 11:00:04 -0700201 <category android:name="android.intent.category.DEFAULT" />
202 </intent-filter>
203 </activity>
204
205 <activity android:name=".MobileDataActivity"
206 android:label="@string/activity_label_empty"
207 android:excludeFromRecents="true"
208 android:configChanges="mcc|mnc"
209 android:immersive="true"
210 android:exported="false"
211 android:windowSoftInputMode="stateAlwaysHidden">
212 <intent-filter>
Michael Bestasc83309e2018-02-03 17:42:13 +0200213 <action android:name="org.lineageos.setupwizard.LINEAGE_ENABLE_MOBILE_DATA" />
cretin45d4cea552016-04-25 11:00:04 -0700214 <category android:name="android.intent.category.DEFAULT" />
215 </intent-filter>
216 </activity>
217
218 <activity android:name=".LocationSettingsActivity"
219 android:label="@string/activity_label_empty"
220 android:excludeFromRecents="true"
221 android:configChanges="mcc|mnc"
222 android:immersive="true"
223 android:exported="false"
224 android:windowSoftInputMode="stateAlwaysHidden">
225 <intent-filter>
Michael Bestasc83309e2018-02-03 17:42:13 +0200226 <action android:name="org.lineageos.setupwizard.LINEAGE_LOCATION_SETTINGS" />
cretin45d4cea552016-04-25 11:00:04 -0700227 <category android:name="android.intent.category.DEFAULT" />
228 </intent-filter>
229 </activity>
230
Alessandro Astoned93e0e12020-11-13 01:03:12 +0100231 <activity android:name=".UpdateRecoveryActivity"
232 android:label="@string/activity_label_empty"
233 android:excludeFromRecents="true"
234 android:configChanges="mcc|mnc"
235 android:immersive="true"
Michael Bestasf103c562021-10-09 01:20:40 +0300236 android:exported="true"
Alessandro Astoned93e0e12020-11-13 01:03:12 +0100237 android:windowSoftInputMode="stateAlwaysHidden">
238 <intent-filter>
239 <action android:name="org.lineageos.setupwizard.LINEAGE_RECOVERY_UPDATE"/>
240 <category android:name="android.intent.category.DEFAULT"/>
241 </intent-filter>
242 </activity>
243
Michael W2b90a7f2021-01-30 20:39:30 +0100244 <activity android:name=".DeviceSpecificActivity"
245 android:label="@string/activity_label_empty"
246 android:excludeFromRecents="true"
247 android:immersive="true"
Michael Bestasf103c562021-10-09 01:20:40 +0300248 android:exported="true"
Michael W2b90a7f2021-01-30 20:39:30 +0100249 android:windowSoftInputMode="stateAlwaysHidden">
250 <intent-filter>
251 <action android:name="org.lineageos.setupwizard.DEVICE_SPECIFIC"/>
252 <category android:name="android.intent.category.DEFAULT"/>
253 </intent-filter>
254 </activity>
255
cretin45d4cea552016-04-25 11:00:04 -0700256 <activity android:name=".LineageSettingsActivity"
257 android:label="@string/activity_label_empty"
cretin453593f032016-04-20 16:21:05 -0700258 android:excludeFromRecents="true"
259 android:configChanges="mcc|mnc"
260 android:immersive="true"
Michael Bestasf103c562021-10-09 01:20:40 +0300261 android:exported="true"
cretin453593f032016-04-20 16:21:05 -0700262 android:windowSoftInputMode="stateAlwaysHidden">
263 <intent-filter>
Michael Bestasc83309e2018-02-03 17:42:13 +0200264 <action android:name="org.lineageos.setupwizard.LINEAGE_SETTINGS" />
cretin453593f032016-04-20 16:21:05 -0700265 <category android:name="android.intent.category.DEFAULT" />
266 </intent-filter>
267 </activity>
268
Chirayu Desaie372bc02020-05-28 00:26:19 +0530269 <activity android:name=".BiometricActivity"
cretin45d4cea552016-04-25 11:00:04 -0700270 android:label="@string/activity_label_empty"
271 android:excludeFromRecents="true"
272 android:configChanges="mcc|mnc"
273 android:immersive="true"
274 android:exported="false"
275 android:windowSoftInputMode="stateAlwaysHidden">
276 <intent-filter>
Chirayu Desaie372bc02020-05-28 00:26:19 +0530277 <action android:name="org.lineageos.setupwizard.LINEAGE_BIOMETRIC_SETTINGS" />
cretin45d4cea552016-04-25 11:00:04 -0700278 <category android:name="android.intent.category.DEFAULT" />
279 </intent-filter>
280 </activity>
281
282 <activity android:name=".ScreenLockActivity"
283 android:label="@string/activity_label_empty"
284 android:excludeFromRecents="true"
285 android:configChanges="mcc|mnc"
286 android:immersive="true"
287 android:exported="false"
288 android:windowSoftInputMode="stateAlwaysHidden">
289 <intent-filter>
Michael Bestasc83309e2018-02-03 17:42:13 +0200290 <action android:name="org.lineageos.setupwizard.LINEAGE_LOCKSCREEN_SETTINGS" />
cretin45d4cea552016-04-25 11:00:04 -0700291 <category android:name="android.intent.category.DEFAULT" />
292 </intent-filter>
293 </activity>
294
Torsten Grotefc026fc2019-09-04 15:58:07 -0300295 <activity android:name=".backup.RestoreIntroActivity"
296 android:label="@string/activity_label_empty"
297 android:excludeFromRecents="true"
298 android:configChanges="mcc|mnc"
299 android:immersive="true"
Michael Bestasf103c562021-10-09 01:20:40 +0300300 android:exported="true"
Torsten Grotefc026fc2019-09-04 15:58:07 -0300301 android:windowSoftInputMode="stateAlwaysHidden">
302 <intent-filter>
303 <action android:name="org.lineageos.setupwizard.LINEAGE_RESTORE_BACKUP"/>
304 <category android:name="android.intent.category.DEFAULT"/>
305 </intent-filter>
306 </activity>
307
cretin45d4cea552016-04-25 11:00:04 -0700308 <activity android:name=".FinishActivity"
309 android:label="@string/activity_label_empty"
cretin453593f032016-04-20 16:21:05 -0700310 android:excludeFromRecents="true"
311 android:configChanges="mcc|mnc"
312 android:immersive="true"
Michael Bestasf103c562021-10-09 01:20:40 +0300313 android:exported="true"
cretin453593f032016-04-20 16:21:05 -0700314 android:windowSoftInputMode="stateAlwaysHidden">
315 <intent-filter>
Michael Bestasc83309e2018-02-03 17:42:13 +0200316 <action android:name="org.lineageos.setupwizard.LINEAGE_SETUP_COMPLETE" />
cretin453593f032016-04-20 16:21:05 -0700317 <category android:name="android.intent.category.DEFAULT" />
318 </intent-filter>
319 </activity>
320
cretin45d4cea552016-04-25 11:00:04 -0700321 <activity android:name=".SetupWizardExitActivity"
322 android:configChanges="keyboard|keyboardHidden|mcc|mnc|orientation|screenSize"
323 android:excludeFromRecents="true"
324 android:immersive="true"
Michael Bestasf103c562021-10-09 01:20:40 +0300325 android:exported="false"
cretin45d4cea552016-04-25 11:00:04 -0700326 android:label="@@string/activity_label_empty"
327 android:theme="@style/NoDisplay">
328 <intent-filter>
Michael Bestasc83309e2018-02-03 17:42:13 +0200329 <action android:name="org.lineageos.setupwizard.EXIT"/>
cretin45d4cea552016-04-25 11:00:04 -0700330 <category android:name="android.intent.category.DEFAULT"/>
331 </intent-filter>
332 </activity>
333
334 <activity android:name=".SetupWizardTestActivity"
335 android:configChanges="keyboard|keyboardHidden|mcc|mnc|orientation|screenSize"
336 android:exported="false"
337 android:immersive="true"
338 android:label="@string/activity_label_empty"
339 android:launchMode="singleInstance"
340 android:theme="@style/NoDisplay"/>
341
Michael Bestasf103c562021-10-09 01:20:40 +0300342 <receiver android:name=".PartnerReceiver"
343 android:exported="true">
cretin453593f032016-04-20 16:21:05 -0700344 <intent-filter>
345 <action android:name="com.android.setupwizard.action.PARTNER_CUSTOMIZATION" />
Aaron Kling5d1780f2020-07-23 12:53:03 -0500346 <action android:name="com.google.android.tvsetup.action.PARTNER_CUSTOMIZATION" />
347 <category android:name="android.intent.category.DEFAULT" />
cretin45c5e926d2015-06-17 13:56:09 -0700348 </intent-filter>
349 </receiver>
cretin45d4cea552016-04-25 11:00:04 -0700350
351 <service android:name=".SetupWizardExitService"
352 android:exported="false"/>
cretin450328b872015-01-15 16:04:44 -0800353 </application>
354</manifest>