blob: ce81d1244c618b61d0c166ece42c2256fbcaf65a [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"
cretin45ff2cc6d2015-02-10 12:26:33 -080061 android:theme="@style/Theme.Setup"
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"
89 android:windowSoftInputMode="stateAlwaysHidden"
90 android:theme="@style/NoDisplay">
91
92 <intent-filter android:priority="9">
93 <action android:name="android.intent.action.MAIN" />
94 <action android:name="android.intent.action.DEVICE_INITIALIZATION_WIZARD" />
95 <category android:name="android.intent.category.HOME" />
96 <category android:name="android.intent.category.DEFAULT" />
cretin45d4cea552016-04-25 11:00:04 -070097 </intent-filter>
98 </activity>
99
100 <activity android:name=".BluetoothSetupActivity"
101 android:label="@string/activity_label_empty"
cretin45ff2cc6d2015-02-10 12:26:33 -0800102 android:excludeFromRecents="true"
Brandon McAnsh615f7092016-09-02 22:33:45 -0400103 android:configChanges="mcc|mnc"
cretin45714be1a2015-04-09 10:44:41 -0700104 android:immersive="true"
105 android:windowSoftInputMode="stateAlwaysHidden">
cretin45d4cea552016-04-25 11:00:04 -0700106 <intent-filter>
Michael Bestasc83309e2018-02-03 17:42:13 +0200107 <action android:name="org.lineageos.setupwizard.LINEAGE_BLUETOOTH_SETUP" />
cretin45d4cea552016-04-25 11:00:04 -0700108 <category android:name="android.intent.category.DEFAULT" />
109 </intent-filter>
110 </activity>
cretin450328b872015-01-15 16:04:44 -0800111
cretin45d4cea552016-04-25 11:00:04 -0700112 <activity android:name=".WelcomeActivity"
113 android:label="@string/activity_label_empty"
cretin453593f032016-04-20 16:21:05 -0700114 android:excludeFromRecents="true"
115 android:configChanges="mcc|mnc"
116 android:immersive="true"
117 android:windowSoftInputMode="stateAlwaysHidden">
118 <intent-filter>
Michael Bestasc83309e2018-02-03 17:42:13 +0200119 <action android:name="org.lineageos.setupwizard.LINEAGE_WELCOME" />
cretin450328b872015-01-15 16:04:44 -0800120 <category android:name="android.intent.category.DEFAULT" />
121 </intent-filter>
122 </activity>
cretin45c5e926d2015-06-17 13:56:09 -0700123
cretin45d4cea552016-04-25 11:00:04 -0700124 <activity android:name=".LocaleActivity"
125 android:label="@string/activity_label_empty"
cretin453593f032016-04-20 16:21:05 -0700126 android:excludeFromRecents="true"
127 android:configChanges="mcc|mnc"
128 android:immersive="true"
129 android:windowSoftInputMode="stateAlwaysHidden">
cretin45c5e926d2015-06-17 13:56:09 -0700130 <intent-filter>
Michael Bestasc83309e2018-02-03 17:42:13 +0200131 <action android:name="org.lineageos.setupwizard.LINEAGE_LOCALE" />
cretin453593f032016-04-20 16:21:05 -0700132 <category android:name="android.intent.category.DEFAULT" />
133 </intent-filter>
134 </activity>
135
cretin45d4cea552016-04-25 11:00:04 -0700136 <activity android:name=".DateTimeActivity"
137 android:label="@string/activity_label_empty"
138 android:excludeFromRecents="true"
139 android:configChanges="mcc|mnc"
140 android:immersive="true"
141 android:windowSoftInputMode="stateAlwaysHidden">
142 <intent-filter>
Michael Bestasc83309e2018-02-03 17:42:13 +0200143 <action android:name="org.lineageos.setupwizard.LINEAGE_DATETIME" />
cretin45d4cea552016-04-25 11:00:04 -0700144 <category android:name="android.intent.category.DEFAULT" />
145 </intent-filter>
146 </activity>
147
148 <activity android:name=".WifiSetupActivity"
149 android:label="@string/activity_label_empty"
150 android:excludeFromRecents="true"
151 android:configChanges="mcc|mnc"
152 android:immersive="true"
153 android:exported="false"
154 android:windowSoftInputMode="stateAlwaysHidden">
155 <intent-filter>
Michael Bestasc83309e2018-02-03 17:42:13 +0200156 <action android:name="org.lineageos.setupwizard.LINEAGE_WIFI_SETUP" />
cretin45d4cea552016-04-25 11:00:04 -0700157 <category android:name="android.intent.category.DEFAULT" />
158 </intent-filter>
159 </activity>
160
161 <activity android:name=".CaptivePortalSetupActivity"
162 android:label="@string/activity_label_empty"
163 android:excludeFromRecents="true"
164 android:configChanges="mcc|mnc"
165 android:immersive="true"
166 android:exported="false"
167 android:windowSoftInputMode="stateAlwaysHidden">
168 <intent-filter>
Michael Bestasc83309e2018-02-03 17:42:13 +0200169 <action android:name="org.lineageos.setupwizard.LINEAGE_CAPTIVE_PORTAL_SETUP" />
cretin45d4cea552016-04-25 11:00:04 -0700170 <category android:name="android.intent.category.DEFAULT" />
171 </intent-filter>
172 </activity>
173
174 <activity android:name=".SimMissingActivity"
175 android:label="@string/activity_label_empty"
176 android:excludeFromRecents="true"
177 android:configChanges="mcc|mnc"
178 android:immersive="true"
179 android:exported="false"
180 android:windowSoftInputMode="stateAlwaysHidden">
181 <intent-filter>
Michael Bestasc83309e2018-02-03 17:42:13 +0200182 <action android:name="org.lineageos.setupwizard.LINEAGE_SIM_MISSING" />
cretin45d4cea552016-04-25 11:00:04 -0700183 <category android:name="android.intent.category.DEFAULT" />
184 </intent-filter>
185 </activity>
186
187 <activity android:name=".ChooseDataSimActivity"
188 android:label="@string/activity_label_empty"
189 android:excludeFromRecents="true"
190 android:configChanges="mcc|mnc"
191 android:immersive="true"
192 android:exported="false"
193 android:windowSoftInputMode="stateAlwaysHidden">
194 <intent-filter>
Michael Bestasc83309e2018-02-03 17:42:13 +0200195 <action android:name="org.lineageos.setupwizard.LINEAGE_CHOOSE_DATA_SIM" />
cretin45d4cea552016-04-25 11:00:04 -0700196 <category android:name="android.intent.category.DEFAULT" />
197 </intent-filter>
198 </activity>
199
200 <activity android:name=".MobileDataActivity"
201 android:label="@string/activity_label_empty"
202 android:excludeFromRecents="true"
203 android:configChanges="mcc|mnc"
204 android:immersive="true"
205 android:exported="false"
206 android:windowSoftInputMode="stateAlwaysHidden">
207 <intent-filter>
Michael Bestasc83309e2018-02-03 17:42:13 +0200208 <action android:name="org.lineageos.setupwizard.LINEAGE_ENABLE_MOBILE_DATA" />
cretin45d4cea552016-04-25 11:00:04 -0700209 <category android:name="android.intent.category.DEFAULT" />
210 </intent-filter>
211 </activity>
212
213 <activity android:name=".LocationSettingsActivity"
214 android:label="@string/activity_label_empty"
215 android:excludeFromRecents="true"
216 android:configChanges="mcc|mnc"
217 android:immersive="true"
218 android:exported="false"
219 android:windowSoftInputMode="stateAlwaysHidden">
220 <intent-filter>
Michael Bestasc83309e2018-02-03 17:42:13 +0200221 <action android:name="org.lineageos.setupwizard.LINEAGE_LOCATION_SETTINGS" />
cretin45d4cea552016-04-25 11:00:04 -0700222 <category android:name="android.intent.category.DEFAULT" />
223 </intent-filter>
224 </activity>
225
Alessandro Astoned93e0e12020-11-13 01:03:12 +0100226 <activity android:name=".UpdateRecoveryActivity"
227 android:label="@string/activity_label_empty"
228 android:excludeFromRecents="true"
229 android:configChanges="mcc|mnc"
230 android:immersive="true"
231 android:windowSoftInputMode="stateAlwaysHidden">
232 <intent-filter>
233 <action android:name="org.lineageos.setupwizard.LINEAGE_RECOVERY_UPDATE"/>
234 <category android:name="android.intent.category.DEFAULT"/>
235 </intent-filter>
236 </activity>
237
Michael W2b90a7f2021-01-30 20:39:30 +0100238 <activity android:name=".DeviceSpecificActivity"
239 android:label="@string/activity_label_empty"
240 android:excludeFromRecents="true"
241 android:immersive="true"
242 android:windowSoftInputMode="stateAlwaysHidden">
243 <intent-filter>
244 <action android:name="org.lineageos.setupwizard.DEVICE_SPECIFIC"/>
245 <category android:name="android.intent.category.DEFAULT"/>
246 </intent-filter>
247 </activity>
248
cretin45d4cea552016-04-25 11:00:04 -0700249 <activity android:name=".LineageSettingsActivity"
250 android:label="@string/activity_label_empty"
cretin453593f032016-04-20 16:21:05 -0700251 android:excludeFromRecents="true"
252 android:configChanges="mcc|mnc"
253 android:immersive="true"
254 android:windowSoftInputMode="stateAlwaysHidden">
255 <intent-filter>
Michael Bestasc83309e2018-02-03 17:42:13 +0200256 <action android:name="org.lineageos.setupwizard.LINEAGE_SETTINGS" />
cretin453593f032016-04-20 16:21:05 -0700257 <category android:name="android.intent.category.DEFAULT" />
258 </intent-filter>
259 </activity>
260
Chirayu Desaie372bc02020-05-28 00:26:19 +0530261 <activity android:name=".BiometricActivity"
cretin45d4cea552016-04-25 11:00:04 -0700262 android:label="@string/activity_label_empty"
263 android:excludeFromRecents="true"
264 android:configChanges="mcc|mnc"
265 android:immersive="true"
266 android:exported="false"
267 android:windowSoftInputMode="stateAlwaysHidden">
268 <intent-filter>
Chirayu Desaie372bc02020-05-28 00:26:19 +0530269 <action android:name="org.lineageos.setupwizard.LINEAGE_BIOMETRIC_SETTINGS" />
cretin45d4cea552016-04-25 11:00:04 -0700270 <category android:name="android.intent.category.DEFAULT" />
271 </intent-filter>
272 </activity>
273
274 <activity android:name=".ScreenLockActivity"
275 android:label="@string/activity_label_empty"
276 android:excludeFromRecents="true"
277 android:configChanges="mcc|mnc"
278 android:immersive="true"
279 android:exported="false"
280 android:windowSoftInputMode="stateAlwaysHidden">
281 <intent-filter>
Michael Bestasc83309e2018-02-03 17:42:13 +0200282 <action android:name="org.lineageos.setupwizard.LINEAGE_LOCKSCREEN_SETTINGS" />
cretin45d4cea552016-04-25 11:00:04 -0700283 <category android:name="android.intent.category.DEFAULT" />
284 </intent-filter>
285 </activity>
286
Torsten Grotefc026fc2019-09-04 15:58:07 -0300287 <activity android:name=".backup.RestoreIntroActivity"
288 android:label="@string/activity_label_empty"
289 android:excludeFromRecents="true"
290 android:configChanges="mcc|mnc"
291 android:immersive="true"
Torsten Grotefc026fc2019-09-04 15:58:07 -0300292 android:windowSoftInputMode="stateAlwaysHidden">
293 <intent-filter>
294 <action android:name="org.lineageos.setupwizard.LINEAGE_RESTORE_BACKUP"/>
295 <category android:name="android.intent.category.DEFAULT"/>
296 </intent-filter>
297 </activity>
298
cretin45d4cea552016-04-25 11:00:04 -0700299 <activity android:name=".FinishActivity"
300 android:label="@string/activity_label_empty"
cretin453593f032016-04-20 16:21:05 -0700301 android:excludeFromRecents="true"
302 android:configChanges="mcc|mnc"
303 android:immersive="true"
304 android:windowSoftInputMode="stateAlwaysHidden">
305 <intent-filter>
Michael Bestasc83309e2018-02-03 17:42:13 +0200306 <action android:name="org.lineageos.setupwizard.LINEAGE_SETUP_COMPLETE" />
cretin453593f032016-04-20 16:21:05 -0700307 <category android:name="android.intent.category.DEFAULT" />
308 </intent-filter>
309 </activity>
310
cretin45d4cea552016-04-25 11:00:04 -0700311 <activity android:name=".SetupWizardExitActivity"
312 android:configChanges="keyboard|keyboardHidden|mcc|mnc|orientation|screenSize"
313 android:excludeFromRecents="true"
314 android:immersive="true"
315 android:label="@@string/activity_label_empty"
316 android:theme="@style/NoDisplay">
317 <intent-filter>
Michael Bestasc83309e2018-02-03 17:42:13 +0200318 <action android:name="org.lineageos.setupwizard.EXIT"/>
cretin45d4cea552016-04-25 11:00:04 -0700319 <category android:name="android.intent.category.DEFAULT"/>
320 </intent-filter>
321 </activity>
322
323 <activity android:name=".SetupWizardTestActivity"
324 android:configChanges="keyboard|keyboardHidden|mcc|mnc|orientation|screenSize"
325 android:exported="false"
326 android:immersive="true"
327 android:label="@string/activity_label_empty"
328 android:launchMode="singleInstance"
329 android:theme="@style/NoDisplay"/>
330
cretin453593f032016-04-20 16:21:05 -0700331 <receiver android:name=".PartnerReceiver">
332 <intent-filter>
333 <action android:name="com.android.setupwizard.action.PARTNER_CUSTOMIZATION" />
Aaron Kling5d1780f2020-07-23 12:53:03 -0500334 <action android:name="com.google.android.tvsetup.action.PARTNER_CUSTOMIZATION" />
335 <category android:name="android.intent.category.DEFAULT" />
cretin45c5e926d2015-06-17 13:56:09 -0700336 </intent-filter>
337 </receiver>
cretin45d4cea552016-04-25 11:00:04 -0700338
339 <service android:name=".SetupWizardExitService"
340 android:exported="false"/>
cretin450328b872015-01-15 16:04:44 -0800341 </application>
342</manifest>