blob: 587140f7dfc2aa00e2b26908285cb7ce8b86f801 [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
cretin45d4cea552016-04-25 11:00:04 -07004 Copyright (C) 2017 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"
cretin45ff2cc6d2015-02-10 12:26:33 -080020 package="com.cyanogenmod.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" />
cretin45c330e502015-02-18 12:14:01 -080044 <uses-permission android:name="cyanogenmod.permission.FINISH_SETUP" />
cretin45b076a552015-05-05 16:44:26 -070045 <uses-permission android:name="cyanogenmod.permission.LEGALESE" />
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
50 android:name="cyanogenmod.permission.PROTECTED_APP"
51 android:protectionLevel="signatureOrSystem" />
52
53 <permission
54 android:name="cyanogenmod.permission.FINISH_SETUP"
Abhisek Devkotacc839c92018-01-29 12:41:42 -080055 android:protectionLevel="signatureOrSystem" />
cretin4548ca24e2015-01-19 14:29:43 -080056
cretin4548ca24e2015-01-19 14:29:43 -080057 <protected-broadcast android:name="com.cyanogenmod.setupwizard.SETUP_FINISHED"
cretin45ff2cc6d2015-02-10 12:26:33 -080058 android:permission="cyanogenmod.permission.FINISH_SETUP"/>
cretin450328b872015-01-15 16:04:44 -080059
cretin450328b872015-01-15 16:04:44 -080060 <application android:label="@string/app_name"
Joey Rizzoli52a78fd2016-12-29 17:28:02 +010061 android:icon="@mipmap/ic_launcher"
cretin45ff2cc6d2015-02-10 12:26:33 -080062 android:theme="@style/Theme.Setup"
cretin45714be1a2015-04-09 10:44:41 -070063 android:uiOptions="none"
cretin45d35618b2016-05-02 12:21:45 -070064 android:taskAffinity="com.android.wizard"
cretin45ff2cc6d2015-02-10 12:26:33 -080065 android:name=".SetupWizardApp">
cretin450328b872015-01-15 16:04:44 -080066
cretin45d4cea552016-04-25 11:00:04 -070067
68 <activity android:theme="@style/NoDisplay"
69 android:label="@string/activity_label_empty"
70 android:name=".wizardmanager.WizardManager"
71 android:exported="true"
72 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>
107 <action android:name="com.cyanogenmod.setupwizard.LINEAGE_BLUETOOTH_SETUP" />
108 <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>
119 <action android:name="com.cyanogenmod.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>
cretin453593f032016-04-20 16:21:05 -0700131 <action android:name="com.cyanogenmod.setupwizard.LINEAGE_LOCALE" />
132 <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>
143 <action android:name="com.cyanogenmod.setupwizard.LINEAGE_DATETIME" />
144 <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>
156 <action android:name="com.cyanogenmod.setupwizard.LINEAGE_WIFI_SETUP" />
157 <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>
169 <action android:name="com.cyanogenmod.setupwizard.LINEAGE_CAPTIVE_PORTAL_SETUP" />
170 <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>
182 <action android:name="com.cyanogenmod.setupwizard.LINEAGE_SIM_MISSING" />
183 <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>
195 <action android:name="com.cyanogenmod.setupwizard.LINEAGE_CHOOSE_DATA_SIM" />
196 <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>
208 <action android:name="com.cyanogenmod.setupwizard.LINEAGE_ENABLE_MOBILE_DATA" />
209 <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>
221 <action android:name="com.cyanogenmod.setupwizard.LINEAGE_LOCATION_SETTINGS" />
222 <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>
233 <action android:name="com.cyanogenmod.setupwizard.LINEAGE_SETTINGS" />
234 <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>
246 <action android:name="com.cyanogenmod.setupwizard.LINEAGE_FINGERPRINT_SETTINGS" />
247 <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>
259 <action android:name="com.cyanogenmod.setupwizard.LINEAGE_LOCKSCREEN_SETTINGS" />
260 <category android:name="android.intent.category.DEFAULT" />
261 </intent-filter>
262 </activity>
263
264 <activity android:name=".FinishActivity"
265 android:label="@string/activity_label_empty"
cretin453593f032016-04-20 16:21:05 -0700266 android:excludeFromRecents="true"
267 android:configChanges="mcc|mnc"
268 android:immersive="true"
269 android:windowSoftInputMode="stateAlwaysHidden">
270 <intent-filter>
271 <action android:name="com.cyanogenmod.setupwizard.LINEAGE_SETUP_COMPLETE" />
272 <category android:name="android.intent.category.DEFAULT" />
273 </intent-filter>
274 </activity>
275
cretin45d4cea552016-04-25 11:00:04 -0700276 <activity android:name=".SetupWizardExitActivity"
277 android:configChanges="keyboard|keyboardHidden|mcc|mnc|orientation|screenSize"
278 android:excludeFromRecents="true"
279 android:immersive="true"
280 android:label="@@string/activity_label_empty"
281 android:theme="@style/NoDisplay">
282 <intent-filter>
283 <action android:name="com.cyanogenmod.setupwizard.EXIT"/>
284 <category android:name="android.intent.category.DEFAULT"/>
285 </intent-filter>
286 </activity>
287
288 <activity android:name=".SetupWizardTestActivity"
289 android:configChanges="keyboard|keyboardHidden|mcc|mnc|orientation|screenSize"
290 android:exported="false"
291 android:immersive="true"
292 android:label="@string/activity_label_empty"
293 android:launchMode="singleInstance"
294 android:theme="@style/NoDisplay"/>
295
cretin453593f032016-04-20 16:21:05 -0700296 <receiver android:name=".PartnerReceiver">
297 <intent-filter>
298 <action android:name="com.android.setupwizard.action.PARTNER_CUSTOMIZATION" />
cretin45c5e926d2015-06-17 13:56:09 -0700299 </intent-filter>
300 </receiver>
cretin45d4cea552016-04-25 11:00:04 -0700301
302 <service android:name=".SetupWizardExitService"
303 android:exported="false"/>
cretin450328b872015-01-15 16:04:44 -0800304 </application>
305</manifest>