blob: 68590b553d84c5913d157ff6917544c4064a0acb [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" />
d34d81043102016-02-24 15:48:56 -080041 <uses-permission android:name="cyanogenmod.permission.ACCESS_THEME_MANAGER"/>
cretin450328b872015-01-15 16:04:44 -080042 <uses-permission android:name="android.permission.EXPAND_STATUS_BAR" />
martincz6c1d7912015-08-21 00:29:40 +080043 <uses-permission android:name="cyanogenmod.permission.HARDWARE_ABSTRACTION_ACCESS" />
cretin453441abd2015-02-02 16:44:52 -080044 <uses-permission android:name="android.permission.BACKUP" />
cretin45c330e502015-02-18 12:14:01 -080045 <uses-permission android:name="cyanogenmod.permission.FINISH_SETUP" />
cretin45b076a552015-05-05 16:44:26 -070046 <uses-permission android:name="cyanogenmod.permission.LEGALESE" />
Yvonne Wongf29f92d2015-09-30 03:33:44 -070047 <uses-permission android:name="cyanogenmod.permission.WRITE_SETTINGS"/>
48 <uses-permission android:name="cyanogenmod.permission.WRITE_SECURE_SETTINGS"/>
cretin4548ca24e2015-01-19 14:29:43 -080049
50 <permission
51 android:name="cyanogenmod.permission.PROTECTED_APP"
52 android:protectionLevel="signatureOrSystem" />
53
54 <permission
55 android:name="cyanogenmod.permission.FINISH_SETUP"
Roman Birg1fc47a02015-06-10 15:46:20 -070056 android:protectionLevel="signatureOrSystem"
57 androidprv:allowViaWhitelist="true" />
cretin4548ca24e2015-01-19 14:29:43 -080058
cretin4548ca24e2015-01-19 14:29:43 -080059 <protected-broadcast android:name="com.cyanogenmod.setupwizard.SETUP_FINISHED"
cretin45ff2cc6d2015-02-10 12:26:33 -080060 android:permission="cyanogenmod.permission.FINISH_SETUP"/>
cretin450328b872015-01-15 16:04:44 -080061
cretin450328b872015-01-15 16:04:44 -080062 <application android:label="@string/app_name"
Joey Rizzoli52a78fd2016-12-29 17:28:02 +010063 android:icon="@mipmap/ic_launcher"
cretin45ff2cc6d2015-02-10 12:26:33 -080064 android:theme="@style/Theme.Setup"
cretin45714be1a2015-04-09 10:44:41 -070065 android:uiOptions="none"
cretin45d35618b2016-05-02 12:21:45 -070066 android:taskAffinity="com.android.wizard"
cretin45ff2cc6d2015-02-10 12:26:33 -080067 android:name=".SetupWizardApp">
cretin450328b872015-01-15 16:04:44 -080068
cretin45d4cea552016-04-25 11:00:04 -070069
70 <activity android:theme="@style/NoDisplay"
71 android:label="@string/activity_label_empty"
72 android:name=".wizardmanager.WizardManager"
73 android:exported="true"
74 android:excludeFromRecents="true"
75 android:configChanges="keyboard|keyboardHidden|mcc|mnc|orientation|screenSize"
76 android:immersive="true">
77 <intent-filter>
78 <action android:name="com.android.wizard.LOAD" />
79 <action android:name="com.android.wizard.NEXT" />
80 <category android:name="android.intent.category.DEFAULT" />
81 </intent-filter>
82 </activity>
83
84 <activity android:name=".SetupWizardActivity"
85 android:label="@string/activity_label_empty"
86 android:lockTaskMode="normal"
87 android:launchMode="singleTask"
88 android:excludeFromRecents="true"
89 android:configChanges="keyboard|keyboardHidden|mcc|mnc|orientation|screenSize"
90 android:immersive="true"
91 android:windowSoftInputMode="stateAlwaysHidden"
92 android:theme="@style/NoDisplay">
93
94 <intent-filter android:priority="9">
95 <action android:name="android.intent.action.MAIN" />
96 <action android:name="android.intent.action.DEVICE_INITIALIZATION_WIZARD" />
97 <category android:name="android.intent.category.HOME" />
98 <category android:name="android.intent.category.DEFAULT" />
99 <category android:name="android.intent.category.SETUP_WIZARD"/>
100 </intent-filter>
101 </activity>
102
103 <activity android:name=".BluetoothSetupActivity"
104 android:label="@string/activity_label_empty"
cretin45ff2cc6d2015-02-10 12:26:33 -0800105 android:excludeFromRecents="true"
Brandon McAnsh615f7092016-09-02 22:33:45 -0400106 android:configChanges="mcc|mnc"
cretin45714be1a2015-04-09 10:44:41 -0700107 android:immersive="true"
108 android:windowSoftInputMode="stateAlwaysHidden">
cretin45d4cea552016-04-25 11:00:04 -0700109 <intent-filter>
110 <action android:name="com.cyanogenmod.setupwizard.LINEAGE_BLUETOOTH_SETUP" />
111 <category android:name="android.intent.category.DEFAULT" />
112 </intent-filter>
113 </activity>
cretin450328b872015-01-15 16:04:44 -0800114
cretin45d4cea552016-04-25 11:00:04 -0700115 <activity android:name=".WelcomeActivity"
116 android:label="@string/activity_label_empty"
cretin453593f032016-04-20 16:21:05 -0700117 android:excludeFromRecents="true"
118 android:configChanges="mcc|mnc"
119 android:immersive="true"
120 android:windowSoftInputMode="stateAlwaysHidden">
121 <intent-filter>
122 <action android:name="com.cyanogenmod.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"
132 android:windowSoftInputMode="stateAlwaysHidden">
cretin45c5e926d2015-06-17 13:56:09 -0700133 <intent-filter>
cretin453593f032016-04-20 16:21:05 -0700134 <action android:name="com.cyanogenmod.setupwizard.LINEAGE_LOCALE" />
135 <category android:name="android.intent.category.DEFAULT" />
136 </intent-filter>
137 </activity>
138
cretin45d4cea552016-04-25 11:00:04 -0700139 <activity android:name=".DateTimeActivity"
140 android:label="@string/activity_label_empty"
141 android:excludeFromRecents="true"
142 android:configChanges="mcc|mnc"
143 android:immersive="true"
144 android:windowSoftInputMode="stateAlwaysHidden">
145 <intent-filter>
146 <action android:name="com.cyanogenmod.setupwizard.LINEAGE_DATETIME" />
147 <category android:name="android.intent.category.DEFAULT" />
148 </intent-filter>
149 </activity>
150
151 <activity android:name=".WifiSetupActivity"
152 android:label="@string/activity_label_empty"
153 android:excludeFromRecents="true"
154 android:configChanges="mcc|mnc"
155 android:immersive="true"
156 android:exported="false"
157 android:windowSoftInputMode="stateAlwaysHidden">
158 <intent-filter>
159 <action android:name="com.cyanogenmod.setupwizard.LINEAGE_WIFI_SETUP" />
160 <category android:name="android.intent.category.DEFAULT" />
161 </intent-filter>
162 </activity>
163
164 <activity android:name=".CaptivePortalSetupActivity"
165 android:label="@string/activity_label_empty"
166 android:excludeFromRecents="true"
167 android:configChanges="mcc|mnc"
168 android:immersive="true"
169 android:exported="false"
170 android:windowSoftInputMode="stateAlwaysHidden">
171 <intent-filter>
172 <action android:name="com.cyanogenmod.setupwizard.LINEAGE_CAPTIVE_PORTAL_SETUP" />
173 <category android:name="android.intent.category.DEFAULT" />
174 </intent-filter>
175 </activity>
176
177 <activity android:name=".SimMissingActivity"
178 android:label="@string/activity_label_empty"
179 android:excludeFromRecents="true"
180 android:configChanges="mcc|mnc"
181 android:immersive="true"
182 android:exported="false"
183 android:windowSoftInputMode="stateAlwaysHidden">
184 <intent-filter>
185 <action android:name="com.cyanogenmod.setupwizard.LINEAGE_SIM_MISSING" />
186 <category android:name="android.intent.category.DEFAULT" />
187 </intent-filter>
188 </activity>
189
190 <activity android:name=".ChooseDataSimActivity"
191 android:label="@string/activity_label_empty"
192 android:excludeFromRecents="true"
193 android:configChanges="mcc|mnc"
194 android:immersive="true"
195 android:exported="false"
196 android:windowSoftInputMode="stateAlwaysHidden">
197 <intent-filter>
198 <action android:name="com.cyanogenmod.setupwizard.LINEAGE_CHOOSE_DATA_SIM" />
199 <category android:name="android.intent.category.DEFAULT" />
200 </intent-filter>
201 </activity>
202
203 <activity android:name=".MobileDataActivity"
204 android:label="@string/activity_label_empty"
205 android:excludeFromRecents="true"
206 android:configChanges="mcc|mnc"
207 android:immersive="true"
208 android:exported="false"
209 android:windowSoftInputMode="stateAlwaysHidden">
210 <intent-filter>
211 <action android:name="com.cyanogenmod.setupwizard.LINEAGE_ENABLE_MOBILE_DATA" />
212 <category android:name="android.intent.category.DEFAULT" />
213 </intent-filter>
214 </activity>
215
216 <activity android:name=".LocationSettingsActivity"
217 android:label="@string/activity_label_empty"
218 android:excludeFromRecents="true"
219 android:configChanges="mcc|mnc"
220 android:immersive="true"
221 android:exported="false"
222 android:windowSoftInputMode="stateAlwaysHidden">
223 <intent-filter>
224 <action android:name="com.cyanogenmod.setupwizard.LINEAGE_LOCATION_SETTINGS" />
225 <category android:name="android.intent.category.DEFAULT" />
226 </intent-filter>
227 </activity>
228
229 <activity android:name=".LineageSettingsActivity"
230 android:label="@string/activity_label_empty"
cretin453593f032016-04-20 16:21:05 -0700231 android:excludeFromRecents="true"
232 android:configChanges="mcc|mnc"
233 android:immersive="true"
234 android:windowSoftInputMode="stateAlwaysHidden">
235 <intent-filter>
236 <action android:name="com.cyanogenmod.setupwizard.LINEAGE_SETTINGS" />
237 <category android:name="android.intent.category.DEFAULT" />
238 </intent-filter>
239 </activity>
240
cretin45d4cea552016-04-25 11:00:04 -0700241 <activity android:name=".FingerprintActivity"
242 android:label="@string/activity_label_empty"
243 android:excludeFromRecents="true"
244 android:configChanges="mcc|mnc"
245 android:immersive="true"
246 android:exported="false"
247 android:windowSoftInputMode="stateAlwaysHidden">
248 <intent-filter>
249 <action android:name="com.cyanogenmod.setupwizard.LINEAGE_FINGERPRINT_SETTINGS" />
250 <category android:name="android.intent.category.DEFAULT" />
251 </intent-filter>
252 </activity>
253
254 <activity android:name=".ScreenLockActivity"
255 android:label="@string/activity_label_empty"
256 android:excludeFromRecents="true"
257 android:configChanges="mcc|mnc"
258 android:immersive="true"
259 android:exported="false"
260 android:windowSoftInputMode="stateAlwaysHidden">
261 <intent-filter>
262 <action android:name="com.cyanogenmod.setupwizard.LINEAGE_LOCKSCREEN_SETTINGS" />
263 <category android:name="android.intent.category.DEFAULT" />
264 </intent-filter>
265 </activity>
266
267 <activity android:name=".FinishActivity"
268 android:label="@string/activity_label_empty"
cretin453593f032016-04-20 16:21:05 -0700269 android:excludeFromRecents="true"
270 android:configChanges="mcc|mnc"
271 android:immersive="true"
272 android:windowSoftInputMode="stateAlwaysHidden">
273 <intent-filter>
274 <action android:name="com.cyanogenmod.setupwizard.LINEAGE_SETUP_COMPLETE" />
275 <category android:name="android.intent.category.DEFAULT" />
276 </intent-filter>
277 </activity>
278
cretin45d4cea552016-04-25 11:00:04 -0700279 <activity android:name=".SetupWizardExitActivity"
280 android:configChanges="keyboard|keyboardHidden|mcc|mnc|orientation|screenSize"
281 android:excludeFromRecents="true"
282 android:immersive="true"
283 android:label="@@string/activity_label_empty"
284 android:theme="@style/NoDisplay">
285 <intent-filter>
286 <action android:name="com.cyanogenmod.setupwizard.EXIT"/>
287 <category android:name="android.intent.category.DEFAULT"/>
288 </intent-filter>
289 </activity>
290
291 <activity android:name=".SetupWizardTestActivity"
292 android:configChanges="keyboard|keyboardHidden|mcc|mnc|orientation|screenSize"
293 android:exported="false"
294 android:immersive="true"
295 android:label="@string/activity_label_empty"
296 android:launchMode="singleInstance"
297 android:theme="@style/NoDisplay"/>
298
cretin453593f032016-04-20 16:21:05 -0700299 <receiver android:name=".PartnerReceiver">
300 <intent-filter>
301 <action android:name="com.android.setupwizard.action.PARTNER_CUSTOMIZATION" />
cretin45c5e926d2015-06-17 13:56:09 -0700302 </intent-filter>
303 </receiver>
cretin45d4cea552016-04-25 11:00:04 -0700304
305 <service android:name=".SetupWizardExitService"
306 android:exported="false"/>
cretin450328b872015-01-15 16:04:44 -0800307 </application>
308</manifest>