cretin45 | 0328b87 | 2015-01-15 16:04:44 -0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
| 3 | Copyright (C) 2013 The CyanogenMod Project |
razorloves | 85465bc | 2019-02-12 03:17:52 -0600 | [diff] [blame^] | 4 | Copyright (C) 2017,2019 The LineageOS Project |
cretin45 | 0328b87 | 2015-01-15 16:04:44 -0800 | [diff] [blame] | 5 | |
| 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 Birg | 1fc47a0 | 2015-06-10 15:46:20 -0700 | [diff] [blame] | 19 | xmlns:androidprv="http://schemas.android.com/apk/prv/res/android" |
Michael Bestas | c83309e | 2018-02-03 17:42:13 +0200 | [diff] [blame] | 20 | package="org.lineageos.setupwizard" |
cretin45 | ec3dcce | 2017-02-22 16:47:00 -0800 | [diff] [blame] | 21 | android:versionCode="5" |
cretin45 | ff2cc6d | 2015-02-10 12:26:33 -0800 | [diff] [blame] | 22 | android:sharedUserId="android.uid.system"> |
cretin45 | 0328b87 | 2015-01-15 16:04:44 -0800 | [diff] [blame] | 23 | |
| 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" /> |
cretin45 | 0328b87 | 2015-01-15 16:04:44 -0800 | [diff] [blame] | 34 | <uses-permission android:name="android.permission.INTERNET"/> |
cretin45 | f5ec6ac | 2016-01-12 16:14:41 -0800 | [diff] [blame] | 35 | <uses-permission android:name="android.permission.GET_ACCOUNTS_PRIVILEGED" /> |
cretin45 | 56bf436 | 2016-02-16 12:33:21 -0800 | [diff] [blame] | 36 | <uses-permission android:name="android.permission.READ_PRIVILEGED_PHONE_STATE" /> |
cretin45 | 0328b87 | 2015-01-15 16:04:44 -0800 | [diff] [blame] | 37 | <uses-permission android:name="android.permission.MANAGE_ACCOUNTS" /> |
cretin45 | d842eed | 2015-01-27 11:10:09 -0800 | [diff] [blame] | 38 | <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS" /> |
| 39 | <uses-permission android:name="android.permission.MANAGE_USERS" /> |
cretin45 | 0328b87 | 2015-01-15 16:04:44 -0800 | [diff] [blame] | 40 | <uses-permission android:name="android.permission.CHANGE_COMPONENT_ENABLED_STATE" /> |
cretin45 | 0328b87 | 2015-01-15 16:04:44 -0800 | [diff] [blame] | 41 | <uses-permission android:name="android.permission.EXPAND_STATUS_BAR" /> |
Abhisek Devkota | cc839c9 | 2018-01-29 12:41:42 -0800 | [diff] [blame] | 42 | <uses-permission android:name="lineageos.permission.HARDWARE_ABSTRACTION_ACCESS" /> |
cretin45 | 3441abd | 2015-02-02 16:44:52 -0800 | [diff] [blame] | 43 | <uses-permission android:name="android.permission.BACKUP" /> |
Michael Bestas | c83309e | 2018-02-03 17:42:13 +0200 | [diff] [blame] | 44 | <uses-permission android:name="lineageos.permission.FINISH_SETUP" /> |
Abhisek Devkota | cc839c9 | 2018-01-29 12:41:42 -0800 | [diff] [blame] | 45 | <uses-permission android:name="lineageos.permission.WRITE_SETTINGS" /> |
| 46 | <uses-permission android:name="lineageos.permission.WRITE_SECURE_SETTINGS" /> |
cretin45 | 48ca24e | 2015-01-19 14:29:43 -0800 | [diff] [blame] | 47 | |
| 48 | <permission |
Michael Bestas | c83309e | 2018-02-03 17:42:13 +0200 | [diff] [blame] | 49 | android:name="lineageos.permission.FINISH_SETUP" |
Abhisek Devkota | cc839c9 | 2018-01-29 12:41:42 -0800 | [diff] [blame] | 50 | android:protectionLevel="signatureOrSystem" /> |
cretin45 | 48ca24e | 2015-01-19 14:29:43 -0800 | [diff] [blame] | 51 | |
Michael Bestas | c83309e | 2018-02-03 17:42:13 +0200 | [diff] [blame] | 52 | <protected-broadcast android:name="org.lineageos.setupwizard.SETUP_FINISHED" |
| 53 | android:permission="lineageos.permission.FINISH_SETUP"/> |
cretin45 | 0328b87 | 2015-01-15 16:04:44 -0800 | [diff] [blame] | 54 | |
cretin45 | 0328b87 | 2015-01-15 16:04:44 -0800 | [diff] [blame] | 55 | <application android:label="@string/app_name" |
Joey Rizzoli | 52a78fd | 2016-12-29 17:28:02 +0100 | [diff] [blame] | 56 | android:icon="@mipmap/ic_launcher" |
cretin45 | ff2cc6d | 2015-02-10 12:26:33 -0800 | [diff] [blame] | 57 | android:theme="@style/Theme.Setup" |
cretin45 | 714be1a | 2015-04-09 10:44:41 -0700 | [diff] [blame] | 58 | android:uiOptions="none" |
cretin45 | d35618b | 2016-05-02 12:21:45 -0700 | [diff] [blame] | 59 | android:taskAffinity="com.android.wizard" |
cretin45 | ff2cc6d | 2015-02-10 12:26:33 -0800 | [diff] [blame] | 60 | android:name=".SetupWizardApp"> |
cretin45 | 0328b87 | 2015-01-15 16:04:44 -0800 | [diff] [blame] | 61 | |
cretin45 | d4cea55 | 2016-04-25 11:00:04 -0700 | [diff] [blame] | 62 | |
| 63 | <activity android:theme="@style/NoDisplay" |
| 64 | android:label="@string/activity_label_empty" |
| 65 | android:name=".wizardmanager.WizardManager" |
razorloves | 85465bc | 2019-02-12 03:17:52 -0600 | [diff] [blame^] | 66 | android:enabled="false" |
Abhisek Devkota | cdff407 | 2018-02-03 20:28:50 -0800 | [diff] [blame] | 67 | android:exported="false" |
cretin45 | d4cea55 | 2016-04-25 11:00:04 -0700 | [diff] [blame] | 68 | 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" /> |
cretin45 | d4cea55 | 2016-04-25 11:00:04 -0700 | [diff] [blame] | 93 | </intent-filter> |
| 94 | </activity> |
| 95 | |
| 96 | <activity android:name=".BluetoothSetupActivity" |
| 97 | android:label="@string/activity_label_empty" |
cretin45 | ff2cc6d | 2015-02-10 12:26:33 -0800 | [diff] [blame] | 98 | android:excludeFromRecents="true" |
Brandon McAnsh | 615f709 | 2016-09-02 22:33:45 -0400 | [diff] [blame] | 99 | android:configChanges="mcc|mnc" |
cretin45 | 714be1a | 2015-04-09 10:44:41 -0700 | [diff] [blame] | 100 | android:immersive="true" |
| 101 | android:windowSoftInputMode="stateAlwaysHidden"> |
cretin45 | d4cea55 | 2016-04-25 11:00:04 -0700 | [diff] [blame] | 102 | <intent-filter> |
Michael Bestas | c83309e | 2018-02-03 17:42:13 +0200 | [diff] [blame] | 103 | <action android:name="org.lineageos.setupwizard.LINEAGE_BLUETOOTH_SETUP" /> |
cretin45 | d4cea55 | 2016-04-25 11:00:04 -0700 | [diff] [blame] | 104 | <category android:name="android.intent.category.DEFAULT" /> |
| 105 | </intent-filter> |
| 106 | </activity> |
cretin45 | 0328b87 | 2015-01-15 16:04:44 -0800 | [diff] [blame] | 107 | |
cretin45 | d4cea55 | 2016-04-25 11:00:04 -0700 | [diff] [blame] | 108 | <activity android:name=".WelcomeActivity" |
| 109 | android:label="@string/activity_label_empty" |
cretin45 | 3593f03 | 2016-04-20 16:21:05 -0700 | [diff] [blame] | 110 | android:excludeFromRecents="true" |
| 111 | android:configChanges="mcc|mnc" |
| 112 | android:immersive="true" |
| 113 | android:windowSoftInputMode="stateAlwaysHidden"> |
| 114 | <intent-filter> |
Michael Bestas | c83309e | 2018-02-03 17:42:13 +0200 | [diff] [blame] | 115 | <action android:name="org.lineageos.setupwizard.LINEAGE_WELCOME" /> |
cretin45 | 0328b87 | 2015-01-15 16:04:44 -0800 | [diff] [blame] | 116 | <category android:name="android.intent.category.DEFAULT" /> |
| 117 | </intent-filter> |
| 118 | </activity> |
cretin45 | c5e926d | 2015-06-17 13:56:09 -0700 | [diff] [blame] | 119 | |
cretin45 | d4cea55 | 2016-04-25 11:00:04 -0700 | [diff] [blame] | 120 | <activity android:name=".LocaleActivity" |
| 121 | android:label="@string/activity_label_empty" |
cretin45 | 3593f03 | 2016-04-20 16:21:05 -0700 | [diff] [blame] | 122 | android:excludeFromRecents="true" |
| 123 | android:configChanges="mcc|mnc" |
| 124 | android:immersive="true" |
| 125 | android:windowSoftInputMode="stateAlwaysHidden"> |
cretin45 | c5e926d | 2015-06-17 13:56:09 -0700 | [diff] [blame] | 126 | <intent-filter> |
Michael Bestas | c83309e | 2018-02-03 17:42:13 +0200 | [diff] [blame] | 127 | <action android:name="org.lineageos.setupwizard.LINEAGE_LOCALE" /> |
cretin45 | 3593f03 | 2016-04-20 16:21:05 -0700 | [diff] [blame] | 128 | <category android:name="android.intent.category.DEFAULT" /> |
| 129 | </intent-filter> |
| 130 | </activity> |
| 131 | |
cretin45 | d4cea55 | 2016-04-25 11:00:04 -0700 | [diff] [blame] | 132 | <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 Bestas | c83309e | 2018-02-03 17:42:13 +0200 | [diff] [blame] | 139 | <action android:name="org.lineageos.setupwizard.LINEAGE_DATETIME" /> |
cretin45 | d4cea55 | 2016-04-25 11:00:04 -0700 | [diff] [blame] | 140 | <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 Bestas | c83309e | 2018-02-03 17:42:13 +0200 | [diff] [blame] | 152 | <action android:name="org.lineageos.setupwizard.LINEAGE_WIFI_SETUP" /> |
cretin45 | d4cea55 | 2016-04-25 11:00:04 -0700 | [diff] [blame] | 153 | <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 Bestas | c83309e | 2018-02-03 17:42:13 +0200 | [diff] [blame] | 165 | <action android:name="org.lineageos.setupwizard.LINEAGE_CAPTIVE_PORTAL_SETUP" /> |
cretin45 | d4cea55 | 2016-04-25 11:00:04 -0700 | [diff] [blame] | 166 | <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 Bestas | c83309e | 2018-02-03 17:42:13 +0200 | [diff] [blame] | 178 | <action android:name="org.lineageos.setupwizard.LINEAGE_SIM_MISSING" /> |
cretin45 | d4cea55 | 2016-04-25 11:00:04 -0700 | [diff] [blame] | 179 | <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 Bestas | c83309e | 2018-02-03 17:42:13 +0200 | [diff] [blame] | 191 | <action android:name="org.lineageos.setupwizard.LINEAGE_CHOOSE_DATA_SIM" /> |
cretin45 | d4cea55 | 2016-04-25 11:00:04 -0700 | [diff] [blame] | 192 | <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 Bestas | c83309e | 2018-02-03 17:42:13 +0200 | [diff] [blame] | 204 | <action android:name="org.lineageos.setupwizard.LINEAGE_ENABLE_MOBILE_DATA" /> |
cretin45 | d4cea55 | 2016-04-25 11:00:04 -0700 | [diff] [blame] | 205 | <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 Bestas | c83309e | 2018-02-03 17:42:13 +0200 | [diff] [blame] | 217 | <action android:name="org.lineageos.setupwizard.LINEAGE_LOCATION_SETTINGS" /> |
cretin45 | d4cea55 | 2016-04-25 11:00:04 -0700 | [diff] [blame] | 218 | <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" |
cretin45 | 3593f03 | 2016-04-20 16:21:05 -0700 | [diff] [blame] | 224 | android:excludeFromRecents="true" |
| 225 | android:configChanges="mcc|mnc" |
| 226 | android:immersive="true" |
| 227 | android:windowSoftInputMode="stateAlwaysHidden"> |
| 228 | <intent-filter> |
Michael Bestas | c83309e | 2018-02-03 17:42:13 +0200 | [diff] [blame] | 229 | <action android:name="org.lineageos.setupwizard.LINEAGE_SETTINGS" /> |
cretin45 | 3593f03 | 2016-04-20 16:21:05 -0700 | [diff] [blame] | 230 | <category android:name="android.intent.category.DEFAULT" /> |
| 231 | </intent-filter> |
| 232 | </activity> |
| 233 | |
cretin45 | d4cea55 | 2016-04-25 11:00:04 -0700 | [diff] [blame] | 234 | <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 Bestas | c83309e | 2018-02-03 17:42:13 +0200 | [diff] [blame] | 242 | <action android:name="org.lineageos.setupwizard.LINEAGE_FINGERPRINT_SETTINGS" /> |
cretin45 | d4cea55 | 2016-04-25 11:00:04 -0700 | [diff] [blame] | 243 | <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 Bestas | c83309e | 2018-02-03 17:42:13 +0200 | [diff] [blame] | 255 | <action android:name="org.lineageos.setupwizard.LINEAGE_LOCKSCREEN_SETTINGS" /> |
cretin45 | d4cea55 | 2016-04-25 11:00:04 -0700 | [diff] [blame] | 256 | <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" |
cretin45 | 3593f03 | 2016-04-20 16:21:05 -0700 | [diff] [blame] | 262 | android:excludeFromRecents="true" |
| 263 | android:configChanges="mcc|mnc" |
| 264 | android:immersive="true" |
| 265 | android:windowSoftInputMode="stateAlwaysHidden"> |
| 266 | <intent-filter> |
Michael Bestas | c83309e | 2018-02-03 17:42:13 +0200 | [diff] [blame] | 267 | <action android:name="org.lineageos.setupwizard.LINEAGE_SETUP_COMPLETE" /> |
cretin45 | 3593f03 | 2016-04-20 16:21:05 -0700 | [diff] [blame] | 268 | <category android:name="android.intent.category.DEFAULT" /> |
| 269 | </intent-filter> |
| 270 | </activity> |
| 271 | |
cretin45 | d4cea55 | 2016-04-25 11:00:04 -0700 | [diff] [blame] | 272 | <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 Bestas | c83309e | 2018-02-03 17:42:13 +0200 | [diff] [blame] | 279 | <action android:name="org.lineageos.setupwizard.EXIT"/> |
cretin45 | d4cea55 | 2016-04-25 11:00:04 -0700 | [diff] [blame] | 280 | <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 | |
cretin45 | 3593f03 | 2016-04-20 16:21:05 -0700 | [diff] [blame] | 292 | <receiver android:name=".PartnerReceiver"> |
| 293 | <intent-filter> |
| 294 | <action android:name="com.android.setupwizard.action.PARTNER_CUSTOMIZATION" /> |
cretin45 | c5e926d | 2015-06-17 13:56:09 -0700 | [diff] [blame] | 295 | </intent-filter> |
| 296 | </receiver> |
cretin45 | d4cea55 | 2016-04-25 11:00:04 -0700 | [diff] [blame] | 297 | |
| 298 | <service android:name=".SetupWizardExitService" |
| 299 | android:exported="false"/> |
cretin45 | 0328b87 | 2015-01-15 16:04:44 -0800 | [diff] [blame] | 300 | </application> |
| 301 | </manifest> |