blob: d68f421c5873451d7da4175fe99a0b94a30d5b7c [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
Timi Rautamäkie83f9e12022-03-16 13:21:30 +00004 Copyright (C) 2017-2022 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äki3282e732021-11-03 12:05:44 +000061 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"
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
cretin45d4cea552016-04-25 11:00:04 -0700153 <activity android:name=".SimMissingActivity"
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_SIM_MISSING" />
cretin45d4cea552016-04-25 11:00:04 -0700162 <category android:name="android.intent.category.DEFAULT" />
163 </intent-filter>
164 </activity>
165
Michael Bestas334cd1b2021-10-09 01:55:56 +0300166 <activity android:name=".NetworkSetupActivity"
cretin45d4cea552016-04-25 11:00:04 -0700167 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 Bestas334cd1b2021-10-09 01:55:56 +0300174 <action android:name="org.lineageos.setupwizard.LINEAGE_NETWORK_SETUP" />
cretin45d4cea552016-04-25 11:00:04 -0700175 <category android:name="android.intent.category.DEFAULT" />
176 </intent-filter>
177 </activity>
178
Michael Bestas334cd1b2021-10-09 01:55:56 +0300179 <activity android:name=".CaptivePortalSetupActivity"
cretin45d4cea552016-04-25 11:00:04 -0700180 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 Bestas334cd1b2021-10-09 01:55:56 +0300187 <action android:name="org.lineageos.setupwizard.LINEAGE_CAPTIVE_PORTAL_SETUP" />
cretin45d4cea552016-04-25 11:00:04 -0700188 <category android:name="android.intent.category.DEFAULT" />
189 </intent-filter>
190 </activity>
191
192 <activity android:name=".LocationSettingsActivity"
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_LOCATION_SETTINGS" />
cretin45d4cea552016-04-25 11:00:04 -0700201 <category android:name="android.intent.category.DEFAULT" />
202 </intent-filter>
203 </activity>
204
Alessandro Astoned93e0e12020-11-13 01:03:12 +0100205 <activity android:name=".UpdateRecoveryActivity"
206 android:label="@string/activity_label_empty"
207 android:excludeFromRecents="true"
208 android:configChanges="mcc|mnc"
209 android:immersive="true"
Michael Bestasf103c562021-10-09 01:20:40 +0300210 android:exported="true"
Alessandro Astoned93e0e12020-11-13 01:03:12 +0100211 android:windowSoftInputMode="stateAlwaysHidden">
212 <intent-filter>
213 <action android:name="org.lineageos.setupwizard.LINEAGE_RECOVERY_UPDATE"/>
214 <category android:name="android.intent.category.DEFAULT"/>
215 </intent-filter>
216 </activity>
217
Michael W2b90a7f2021-01-30 20:39:30 +0100218 <activity android:name=".DeviceSpecificActivity"
219 android:label="@string/activity_label_empty"
220 android:excludeFromRecents="true"
221 android:immersive="true"
Michael Bestasf103c562021-10-09 01:20:40 +0300222 android:exported="true"
Michael W2b90a7f2021-01-30 20:39:30 +0100223 android:windowSoftInputMode="stateAlwaysHidden">
224 <intent-filter>
225 <action android:name="org.lineageos.setupwizard.DEVICE_SPECIFIC"/>
226 <category android:name="android.intent.category.DEFAULT"/>
227 </intent-filter>
228 </activity>
229
cretin45d4cea552016-04-25 11:00:04 -0700230 <activity android:name=".LineageSettingsActivity"
231 android:label="@string/activity_label_empty"
cretin453593f032016-04-20 16:21:05 -0700232 android:excludeFromRecents="true"
233 android:configChanges="mcc|mnc"
234 android:immersive="true"
Michael Bestasf103c562021-10-09 01:20:40 +0300235 android:exported="true"
cretin453593f032016-04-20 16:21:05 -0700236 android:windowSoftInputMode="stateAlwaysHidden">
237 <intent-filter>
Michael Bestasc83309e2018-02-03 17:42:13 +0200238 <action android:name="org.lineageos.setupwizard.LINEAGE_SETTINGS" />
cretin453593f032016-04-20 16:21:05 -0700239 <category android:name="android.intent.category.DEFAULT" />
240 </intent-filter>
241 </activity>
242
Timi Rautamäkie83f9e12022-03-16 13:21:30 +0000243 <activity android:name=".NavigationSettingsActivity"
244 android:label="@string/activity_label_empty"
245 android:excludeFromRecents="true"
246 android:configChanges="mcc|mnc"
247 android:immersive="true"
248 android:exported="true"
249 android:windowSoftInputMode="stateAlwaysHidden">
250 <intent-filter>
251 <action android:name="org.lineageos.setupwizard.NAVIGATION_SETTINGS" />
252 <category android:name="android.intent.category.DEFAULT" />
253 </intent-filter>
254 </activity>
255
Chirayu Desaie372bc02020-05-28 00:26:19 +0530256 <activity android:name=".BiometricActivity"
cretin45d4cea552016-04-25 11:00:04 -0700257 android:label="@string/activity_label_empty"
258 android:excludeFromRecents="true"
259 android:configChanges="mcc|mnc"
260 android:immersive="true"
261 android:exported="false"
262 android:windowSoftInputMode="stateAlwaysHidden">
263 <intent-filter>
Chirayu Desaie372bc02020-05-28 00:26:19 +0530264 <action android:name="org.lineageos.setupwizard.LINEAGE_BIOMETRIC_SETTINGS" />
cretin45d4cea552016-04-25 11:00:04 -0700265 <category android:name="android.intent.category.DEFAULT" />
266 </intent-filter>
267 </activity>
268
269 <activity android:name=".ScreenLockActivity"
270 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>
Michael Bestasc83309e2018-02-03 17:42:13 +0200277 <action android:name="org.lineageos.setupwizard.LINEAGE_LOCKSCREEN_SETTINGS" />
cretin45d4cea552016-04-25 11:00:04 -0700278 <category android:name="android.intent.category.DEFAULT" />
279 </intent-filter>
280 </activity>
281
Torsten Grotefc026fc2019-09-04 15:58:07 -0300282 <activity android:name=".backup.RestoreIntroActivity"
283 android:label="@string/activity_label_empty"
284 android:excludeFromRecents="true"
285 android:configChanges="mcc|mnc"
286 android:immersive="true"
Michael Bestasf103c562021-10-09 01:20:40 +0300287 android:exported="true"
Torsten Grotefc026fc2019-09-04 15:58:07 -0300288 android:windowSoftInputMode="stateAlwaysHidden">
289 <intent-filter>
290 <action android:name="org.lineageos.setupwizard.LINEAGE_RESTORE_BACKUP"/>
291 <category android:name="android.intent.category.DEFAULT"/>
292 </intent-filter>
293 </activity>
294
cretin45d4cea552016-04-25 11:00:04 -0700295 <activity android:name=".FinishActivity"
296 android:label="@string/activity_label_empty"
cretin453593f032016-04-20 16:21:05 -0700297 android:excludeFromRecents="true"
298 android:configChanges="mcc|mnc"
299 android:immersive="true"
Michael Bestasf103c562021-10-09 01:20:40 +0300300 android:exported="true"
cretin453593f032016-04-20 16:21:05 -0700301 android:windowSoftInputMode="stateAlwaysHidden">
302 <intent-filter>
Michael Bestasc83309e2018-02-03 17:42:13 +0200303 <action android:name="org.lineageos.setupwizard.LINEAGE_SETUP_COMPLETE" />
cretin453593f032016-04-20 16:21:05 -0700304 <category android:name="android.intent.category.DEFAULT" />
305 </intent-filter>
306 </activity>
307
cretin45d4cea552016-04-25 11:00:04 -0700308 <activity android:name=".SetupWizardExitActivity"
309 android:configChanges="keyboard|keyboardHidden|mcc|mnc|orientation|screenSize"
310 android:excludeFromRecents="true"
311 android:immersive="true"
Michael Bestasf103c562021-10-09 01:20:40 +0300312 android:exported="false"
cretin45d4cea552016-04-25 11:00:04 -0700313 android:label="@@string/activity_label_empty"
314 android:theme="@style/NoDisplay">
315 <intent-filter>
Michael Bestasc83309e2018-02-03 17:42:13 +0200316 <action android:name="org.lineageos.setupwizard.EXIT"/>
cretin45d4cea552016-04-25 11:00:04 -0700317 <category android:name="android.intent.category.DEFAULT"/>
318 </intent-filter>
319 </activity>
320
321 <activity android:name=".SetupWizardTestActivity"
322 android:configChanges="keyboard|keyboardHidden|mcc|mnc|orientation|screenSize"
323 android:exported="false"
324 android:immersive="true"
325 android:label="@string/activity_label_empty"
326 android:launchMode="singleInstance"
327 android:theme="@style/NoDisplay"/>
328
Michael Bestasf103c562021-10-09 01:20:40 +0300329 <receiver android:name=".PartnerReceiver"
330 android:exported="true">
cretin453593f032016-04-20 16:21:05 -0700331 <intent-filter>
332 <action android:name="com.android.setupwizard.action.PARTNER_CUSTOMIZATION" />
Aaron Kling5d1780f2020-07-23 12:53:03 -0500333 <action android:name="com.google.android.tvsetup.action.PARTNER_CUSTOMIZATION" />
334 <category android:name="android.intent.category.DEFAULT" />
cretin45c5e926d2015-06-17 13:56:09 -0700335 </intent-filter>
336 </receiver>
cretin45d4cea552016-04-25 11:00:04 -0700337
338 <service android:name=".SetupWizardExitService"
339 android:exported="false"/>
cretin450328b872015-01-15 16:04:44 -0800340 </application>
341</manifest>