blob: a10f1a448dc10946916959d5a7559cff373b8b3a [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" />
Michael Bestasc83309e2018-02-03 17:42:13 +020044 <uses-permission android:name="lineageos.permission.FINISH_SETUP" />
Abhisek Devkotacc839c92018-01-29 12:41:42 -080045 <uses-permission android:name="lineageos.permission.WRITE_SETTINGS" />
46 <uses-permission android:name="lineageos.permission.WRITE_SECURE_SETTINGS" />
cretin4548ca24e2015-01-19 14:29:43 -080047
48 <permission
Michael Bestasc83309e2018-02-03 17:42:13 +020049 android:name="lineageos.permission.FINISH_SETUP"
Abhisek Devkotacc839c92018-01-29 12:41:42 -080050 android:protectionLevel="signatureOrSystem" />
cretin4548ca24e2015-01-19 14:29:43 -080051
Michael Bestasc83309e2018-02-03 17:42:13 +020052 <protected-broadcast android:name="org.lineageos.setupwizard.SETUP_FINISHED"
53 android:permission="lineageos.permission.FINISH_SETUP"/>
cretin450328b872015-01-15 16:04:44 -080054
cretin450328b872015-01-15 16:04:44 -080055 <application android:label="@string/app_name"
Joey Rizzoli52a78fd2016-12-29 17:28:02 +010056 android:icon="@mipmap/ic_launcher"
cretin45ff2cc6d2015-02-10 12:26:33 -080057 android:theme="@style/Theme.Setup"
cretin45714be1a2015-04-09 10:44:41 -070058 android:uiOptions="none"
cretin45d35618b2016-05-02 12:21:45 -070059 android:taskAffinity="com.android.wizard"
cretin45ff2cc6d2015-02-10 12:26:33 -080060 android:name=".SetupWizardApp">
cretin450328b872015-01-15 16:04:44 -080061
cretin45d4cea552016-04-25 11:00:04 -070062
63 <activity android:theme="@style/NoDisplay"
64 android:label="@string/activity_label_empty"
65 android:name=".wizardmanager.WizardManager"
razorloves85465bc2019-02-12 03:17:52 -060066 android:enabled="false"
Abhisek Devkotacdff4072018-02-03 20:28:50 -080067 android:exported="false"
cretin45d4cea552016-04-25 11:00:04 -070068 android:excludeFromRecents="true"
69 android:configChanges="keyboard|keyboardHidden|mcc|mnc|orientation|screenSize"
70 android:immersive="true">
71 <intent-filter>
72 <action android:name="com.android.wizard.LOAD" />
73 <action android:name="com.android.wizard.NEXT" />
74 <category android:name="android.intent.category.DEFAULT" />
75 </intent-filter>
76 </activity>
77
78 <activity android:name=".SetupWizardActivity"
79 android:label="@string/activity_label_empty"
80 android:lockTaskMode="normal"
81 android:launchMode="singleTask"
82 android:excludeFromRecents="true"
83 android:configChanges="keyboard|keyboardHidden|mcc|mnc|orientation|screenSize"
84 android:immersive="true"
85 android:windowSoftInputMode="stateAlwaysHidden"
86 android:theme="@style/NoDisplay">
87
88 <intent-filter android:priority="9">
89 <action android:name="android.intent.action.MAIN" />
90 <action android:name="android.intent.action.DEVICE_INITIALIZATION_WIZARD" />
91 <category android:name="android.intent.category.HOME" />
92 <category android:name="android.intent.category.DEFAULT" />
cretin45d4cea552016-04-25 11:00:04 -070093 </intent-filter>
94 </activity>
95
96 <activity android:name=".BluetoothSetupActivity"
97 android:label="@string/activity_label_empty"
cretin45ff2cc6d2015-02-10 12:26:33 -080098 android:excludeFromRecents="true"
Brandon McAnsh615f7092016-09-02 22:33:45 -040099 android:configChanges="mcc|mnc"
cretin45714be1a2015-04-09 10:44:41 -0700100 android:immersive="true"
101 android:windowSoftInputMode="stateAlwaysHidden">
cretin45d4cea552016-04-25 11:00:04 -0700102 <intent-filter>
Michael Bestasc83309e2018-02-03 17:42:13 +0200103 <action android:name="org.lineageos.setupwizard.LINEAGE_BLUETOOTH_SETUP" />
cretin45d4cea552016-04-25 11:00:04 -0700104 <category android:name="android.intent.category.DEFAULT" />
105 </intent-filter>
106 </activity>
cretin450328b872015-01-15 16:04:44 -0800107
cretin45d4cea552016-04-25 11:00:04 -0700108 <activity android:name=".WelcomeActivity"
109 android:label="@string/activity_label_empty"
cretin453593f032016-04-20 16:21:05 -0700110 android:excludeFromRecents="true"
111 android:configChanges="mcc|mnc"
112 android:immersive="true"
113 android:windowSoftInputMode="stateAlwaysHidden">
114 <intent-filter>
Michael Bestasc83309e2018-02-03 17:42:13 +0200115 <action android:name="org.lineageos.setupwizard.LINEAGE_WELCOME" />
cretin450328b872015-01-15 16:04:44 -0800116 <category android:name="android.intent.category.DEFAULT" />
117 </intent-filter>
118 </activity>
cretin45c5e926d2015-06-17 13:56:09 -0700119
cretin45d4cea552016-04-25 11:00:04 -0700120 <activity android:name=".LocaleActivity"
121 android:label="@string/activity_label_empty"
cretin453593f032016-04-20 16:21:05 -0700122 android:excludeFromRecents="true"
123 android:configChanges="mcc|mnc"
124 android:immersive="true"
125 android:windowSoftInputMode="stateAlwaysHidden">
cretin45c5e926d2015-06-17 13:56:09 -0700126 <intent-filter>
Michael Bestasc83309e2018-02-03 17:42:13 +0200127 <action android:name="org.lineageos.setupwizard.LINEAGE_LOCALE" />
cretin453593f032016-04-20 16:21:05 -0700128 <category android:name="android.intent.category.DEFAULT" />
129 </intent-filter>
130 </activity>
131
cretin45d4cea552016-04-25 11:00:04 -0700132 <activity android:name=".DateTimeActivity"
133 android:label="@string/activity_label_empty"
134 android:excludeFromRecents="true"
135 android:configChanges="mcc|mnc"
136 android:immersive="true"
137 android:windowSoftInputMode="stateAlwaysHidden">
138 <intent-filter>
Michael Bestasc83309e2018-02-03 17:42:13 +0200139 <action android:name="org.lineageos.setupwizard.LINEAGE_DATETIME" />
cretin45d4cea552016-04-25 11:00:04 -0700140 <category android:name="android.intent.category.DEFAULT" />
141 </intent-filter>
142 </activity>
143
144 <activity android:name=".WifiSetupActivity"
145 android:label="@string/activity_label_empty"
146 android:excludeFromRecents="true"
147 android:configChanges="mcc|mnc"
148 android:immersive="true"
149 android:exported="false"
150 android:windowSoftInputMode="stateAlwaysHidden">
151 <intent-filter>
Michael Bestasc83309e2018-02-03 17:42:13 +0200152 <action android:name="org.lineageos.setupwizard.LINEAGE_WIFI_SETUP" />
cretin45d4cea552016-04-25 11:00:04 -0700153 <category android:name="android.intent.category.DEFAULT" />
154 </intent-filter>
155 </activity>
156
157 <activity android:name=".CaptivePortalSetupActivity"
158 android:label="@string/activity_label_empty"
159 android:excludeFromRecents="true"
160 android:configChanges="mcc|mnc"
161 android:immersive="true"
162 android:exported="false"
163 android:windowSoftInputMode="stateAlwaysHidden">
164 <intent-filter>
Michael Bestasc83309e2018-02-03 17:42:13 +0200165 <action android:name="org.lineageos.setupwizard.LINEAGE_CAPTIVE_PORTAL_SETUP" />
cretin45d4cea552016-04-25 11:00:04 -0700166 <category android:name="android.intent.category.DEFAULT" />
167 </intent-filter>
168 </activity>
169
170 <activity android:name=".SimMissingActivity"
171 android:label="@string/activity_label_empty"
172 android:excludeFromRecents="true"
173 android:configChanges="mcc|mnc"
174 android:immersive="true"
175 android:exported="false"
176 android:windowSoftInputMode="stateAlwaysHidden">
177 <intent-filter>
Michael Bestasc83309e2018-02-03 17:42:13 +0200178 <action android:name="org.lineageos.setupwizard.LINEAGE_SIM_MISSING" />
cretin45d4cea552016-04-25 11:00:04 -0700179 <category android:name="android.intent.category.DEFAULT" />
180 </intent-filter>
181 </activity>
182
183 <activity android:name=".ChooseDataSimActivity"
184 android:label="@string/activity_label_empty"
185 android:excludeFromRecents="true"
186 android:configChanges="mcc|mnc"
187 android:immersive="true"
188 android:exported="false"
189 android:windowSoftInputMode="stateAlwaysHidden">
190 <intent-filter>
Michael Bestasc83309e2018-02-03 17:42:13 +0200191 <action android:name="org.lineageos.setupwizard.LINEAGE_CHOOSE_DATA_SIM" />
cretin45d4cea552016-04-25 11:00:04 -0700192 <category android:name="android.intent.category.DEFAULT" />
193 </intent-filter>
194 </activity>
195
196 <activity android:name=".MobileDataActivity"
197 android:label="@string/activity_label_empty"
198 android:excludeFromRecents="true"
199 android:configChanges="mcc|mnc"
200 android:immersive="true"
201 android:exported="false"
202 android:windowSoftInputMode="stateAlwaysHidden">
203 <intent-filter>
Michael Bestasc83309e2018-02-03 17:42:13 +0200204 <action android:name="org.lineageos.setupwizard.LINEAGE_ENABLE_MOBILE_DATA" />
cretin45d4cea552016-04-25 11:00:04 -0700205 <category android:name="android.intent.category.DEFAULT" />
206 </intent-filter>
207 </activity>
208
209 <activity android:name=".LocationSettingsActivity"
210 android:label="@string/activity_label_empty"
211 android:excludeFromRecents="true"
212 android:configChanges="mcc|mnc"
213 android:immersive="true"
214 android:exported="false"
215 android:windowSoftInputMode="stateAlwaysHidden">
216 <intent-filter>
Michael Bestasc83309e2018-02-03 17:42:13 +0200217 <action android:name="org.lineageos.setupwizard.LINEAGE_LOCATION_SETTINGS" />
cretin45d4cea552016-04-25 11:00:04 -0700218 <category android:name="android.intent.category.DEFAULT" />
219 </intent-filter>
220 </activity>
221
222 <activity android:name=".LineageSettingsActivity"
223 android:label="@string/activity_label_empty"
cretin453593f032016-04-20 16:21:05 -0700224 android:excludeFromRecents="true"
225 android:configChanges="mcc|mnc"
226 android:immersive="true"
227 android:windowSoftInputMode="stateAlwaysHidden">
228 <intent-filter>
Michael Bestasc83309e2018-02-03 17:42:13 +0200229 <action android:name="org.lineageos.setupwizard.LINEAGE_SETTINGS" />
cretin453593f032016-04-20 16:21:05 -0700230 <category android:name="android.intent.category.DEFAULT" />
231 </intent-filter>
232 </activity>
233
cretin45d4cea552016-04-25 11:00:04 -0700234 <activity android:name=".FingerprintActivity"
235 android:label="@string/activity_label_empty"
236 android:excludeFromRecents="true"
237 android:configChanges="mcc|mnc"
238 android:immersive="true"
239 android:exported="false"
240 android:windowSoftInputMode="stateAlwaysHidden">
241 <intent-filter>
Michael Bestasc83309e2018-02-03 17:42:13 +0200242 <action android:name="org.lineageos.setupwizard.LINEAGE_FINGERPRINT_SETTINGS" />
cretin45d4cea552016-04-25 11:00:04 -0700243 <category android:name="android.intent.category.DEFAULT" />
244 </intent-filter>
245 </activity>
246
247 <activity android:name=".ScreenLockActivity"
248 android:label="@string/activity_label_empty"
249 android:excludeFromRecents="true"
250 android:configChanges="mcc|mnc"
251 android:immersive="true"
252 android:exported="false"
253 android:windowSoftInputMode="stateAlwaysHidden">
254 <intent-filter>
Michael Bestasc83309e2018-02-03 17:42:13 +0200255 <action android:name="org.lineageos.setupwizard.LINEAGE_LOCKSCREEN_SETTINGS" />
cretin45d4cea552016-04-25 11:00:04 -0700256 <category android:name="android.intent.category.DEFAULT" />
257 </intent-filter>
258 </activity>
259
260 <activity android:name=".FinishActivity"
261 android:label="@string/activity_label_empty"
cretin453593f032016-04-20 16:21:05 -0700262 android:excludeFromRecents="true"
263 android:configChanges="mcc|mnc"
264 android:immersive="true"
265 android:windowSoftInputMode="stateAlwaysHidden">
266 <intent-filter>
Michael Bestasc83309e2018-02-03 17:42:13 +0200267 <action android:name="org.lineageos.setupwizard.LINEAGE_SETUP_COMPLETE" />
cretin453593f032016-04-20 16:21:05 -0700268 <category android:name="android.intent.category.DEFAULT" />
269 </intent-filter>
270 </activity>
271
cretin45d4cea552016-04-25 11:00:04 -0700272 <activity android:name=".SetupWizardExitActivity"
273 android:configChanges="keyboard|keyboardHidden|mcc|mnc|orientation|screenSize"
274 android:excludeFromRecents="true"
275 android:immersive="true"
276 android:label="@@string/activity_label_empty"
277 android:theme="@style/NoDisplay">
278 <intent-filter>
Michael Bestasc83309e2018-02-03 17:42:13 +0200279 <action android:name="org.lineageos.setupwizard.EXIT"/>
cretin45d4cea552016-04-25 11:00:04 -0700280 <category android:name="android.intent.category.DEFAULT"/>
281 </intent-filter>
282 </activity>
283
284 <activity android:name=".SetupWizardTestActivity"
285 android:configChanges="keyboard|keyboardHidden|mcc|mnc|orientation|screenSize"
286 android:exported="false"
287 android:immersive="true"
288 android:label="@string/activity_label_empty"
289 android:launchMode="singleInstance"
290 android:theme="@style/NoDisplay"/>
291
cretin453593f032016-04-20 16:21:05 -0700292 <receiver android:name=".PartnerReceiver">
293 <intent-filter>
294 <action android:name="com.android.setupwizard.action.PARTNER_CUSTOMIZATION" />
cretin45c5e926d2015-06-17 13:56:09 -0700295 </intent-filter>
296 </receiver>
cretin45d4cea552016-04-25 11:00:04 -0700297
298 <service android:name=".SetupWizardExitService"
299 android:exported="false"/>
cretin450328b872015-01-15 16:04:44 -0800300 </application>
301</manifest>