blob: 725c618d86c693ab3c89bd2532a765662a3ff1aa [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
razorloves85465bc2019-02-12 03:17:52 -06004 Copyright (C) 2017,2019 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 Micayc2b6a182020-06-09 10:03:25 -040044 <uses-permission android:name="android.permission.LOCAL_MAC_ADDRESS" />
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
226 <activity android:name=".LineageSettingsActivity"
227 android:label="@string/activity_label_empty"
cretin453593f032016-04-20 16:21:05 -0700228 android:excludeFromRecents="true"
229 android:configChanges="mcc|mnc"
230 android:immersive="true"
231 android:windowSoftInputMode="stateAlwaysHidden">
232 <intent-filter>
Michael Bestasc83309e2018-02-03 17:42:13 +0200233 <action android:name="org.lineageos.setupwizard.LINEAGE_SETTINGS" />
cretin453593f032016-04-20 16:21:05 -0700234 <category android:name="android.intent.category.DEFAULT" />
235 </intent-filter>
236 </activity>
237
cretin45d4cea552016-04-25 11:00:04 -0700238 <activity android:name=".FingerprintActivity"
239 android:label="@string/activity_label_empty"
240 android:excludeFromRecents="true"
241 android:configChanges="mcc|mnc"
242 android:immersive="true"
243 android:exported="false"
244 android:windowSoftInputMode="stateAlwaysHidden">
245 <intent-filter>
Michael Bestasc83309e2018-02-03 17:42:13 +0200246 <action android:name="org.lineageos.setupwizard.LINEAGE_FINGERPRINT_SETTINGS" />
cretin45d4cea552016-04-25 11:00:04 -0700247 <category android:name="android.intent.category.DEFAULT" />
248 </intent-filter>
249 </activity>
250
251 <activity android:name=".ScreenLockActivity"
252 android:label="@string/activity_label_empty"
253 android:excludeFromRecents="true"
254 android:configChanges="mcc|mnc"
255 android:immersive="true"
256 android:exported="false"
257 android:windowSoftInputMode="stateAlwaysHidden">
258 <intent-filter>
Michael Bestasc83309e2018-02-03 17:42:13 +0200259 <action android:name="org.lineageos.setupwizard.LINEAGE_LOCKSCREEN_SETTINGS" />
cretin45d4cea552016-04-25 11:00:04 -0700260 <category android:name="android.intent.category.DEFAULT" />
261 </intent-filter>
262 </activity>
263
Torsten Grotefc026fc2019-09-04 15:58:07 -0300264 <activity android:name=".backup.RestoreIntroActivity"
265 android:label="@string/activity_label_empty"
266 android:excludeFromRecents="true"
267 android:configChanges="mcc|mnc"
268 android:immersive="true"
269 android:exported="false"
270 android:windowSoftInputMode="stateAlwaysHidden">
271 <intent-filter>
272 <action android:name="org.lineageos.setupwizard.LINEAGE_RESTORE_BACKUP"/>
273 <category android:name="android.intent.category.DEFAULT"/>
274 </intent-filter>
275 </activity>
276
cretin45d4cea552016-04-25 11:00:04 -0700277 <activity android:name=".FinishActivity"
278 android:label="@string/activity_label_empty"
cretin453593f032016-04-20 16:21:05 -0700279 android:excludeFromRecents="true"
280 android:configChanges="mcc|mnc"
281 android:immersive="true"
282 android:windowSoftInputMode="stateAlwaysHidden">
283 <intent-filter>
Michael Bestasc83309e2018-02-03 17:42:13 +0200284 <action android:name="org.lineageos.setupwizard.LINEAGE_SETUP_COMPLETE" />
cretin453593f032016-04-20 16:21:05 -0700285 <category android:name="android.intent.category.DEFAULT" />
286 </intent-filter>
287 </activity>
288
cretin45d4cea552016-04-25 11:00:04 -0700289 <activity android:name=".SetupWizardExitActivity"
290 android:configChanges="keyboard|keyboardHidden|mcc|mnc|orientation|screenSize"
291 android:excludeFromRecents="true"
292 android:immersive="true"
293 android:label="@@string/activity_label_empty"
294 android:theme="@style/NoDisplay">
295 <intent-filter>
Michael Bestasc83309e2018-02-03 17:42:13 +0200296 <action android:name="org.lineageos.setupwizard.EXIT"/>
cretin45d4cea552016-04-25 11:00:04 -0700297 <category android:name="android.intent.category.DEFAULT"/>
298 </intent-filter>
299 </activity>
300
301 <activity android:name=".SetupWizardTestActivity"
302 android:configChanges="keyboard|keyboardHidden|mcc|mnc|orientation|screenSize"
303 android:exported="false"
304 android:immersive="true"
305 android:label="@string/activity_label_empty"
306 android:launchMode="singleInstance"
307 android:theme="@style/NoDisplay"/>
308
cretin453593f032016-04-20 16:21:05 -0700309 <receiver android:name=".PartnerReceiver">
310 <intent-filter>
311 <action android:name="com.android.setupwizard.action.PARTNER_CUSTOMIZATION" />
Aaron Kling5d1780f2020-07-23 12:53:03 -0500312 <action android:name="com.google.android.tvsetup.action.PARTNER_CUSTOMIZATION" />
313 <category android:name="android.intent.category.DEFAULT" />
cretin45c5e926d2015-06-17 13:56:09 -0700314 </intent-filter>
315 </receiver>
cretin45d4cea552016-04-25 11:00:04 -0700316
317 <service android:name=".SetupWizardExitService"
318 android:exported="false"/>
cretin450328b872015-01-15 16:04:44 -0800319 </application>
320</manifest>