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 |
cretin45 | d4cea55 | 2016-04-25 11:00:04 -0700 | [diff] [blame] | 4 | Copyright (C) 2017 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" |
cretin45 | ff2cc6d | 2015-02-10 12:26:33 -0800 | [diff] [blame] | 20 | package="com.cyanogenmod.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" /> |
d34d | 8104310 | 2016-02-24 15:48:56 -0800 | [diff] [blame] | 41 | <uses-permission android:name="cyanogenmod.permission.ACCESS_THEME_MANAGER"/> |
cretin45 | 0328b87 | 2015-01-15 16:04:44 -0800 | [diff] [blame] | 42 | <uses-permission android:name="android.permission.EXPAND_STATUS_BAR" /> |
martincz | 6c1d791 | 2015-08-21 00:29:40 +0800 | [diff] [blame] | 43 | <uses-permission android:name="cyanogenmod.permission.HARDWARE_ABSTRACTION_ACCESS" /> |
cretin45 | 3441abd | 2015-02-02 16:44:52 -0800 | [diff] [blame] | 44 | <uses-permission android:name="android.permission.BACKUP" /> |
cretin45 | c330e50 | 2015-02-18 12:14:01 -0800 | [diff] [blame] | 45 | <uses-permission android:name="cyanogenmod.permission.FINISH_SETUP" /> |
cretin45 | b076a55 | 2015-05-05 16:44:26 -0700 | [diff] [blame] | 46 | <uses-permission android:name="cyanogenmod.permission.LEGALESE" /> |
Yvonne Wong | f29f92d | 2015-09-30 03:33:44 -0700 | [diff] [blame] | 47 | <uses-permission android:name="cyanogenmod.permission.WRITE_SETTINGS"/> |
| 48 | <uses-permission android:name="cyanogenmod.permission.WRITE_SECURE_SETTINGS"/> |
cretin45 | 48ca24e | 2015-01-19 14:29:43 -0800 | [diff] [blame] | 49 | |
| 50 | <permission |
| 51 | android:name="cyanogenmod.permission.PROTECTED_APP" |
| 52 | android:protectionLevel="signatureOrSystem" /> |
| 53 | |
| 54 | <permission |
| 55 | android:name="cyanogenmod.permission.FINISH_SETUP" |
Roman Birg | 1fc47a0 | 2015-06-10 15:46:20 -0700 | [diff] [blame] | 56 | android:protectionLevel="signatureOrSystem" |
| 57 | androidprv:allowViaWhitelist="true" /> |
cretin45 | 48ca24e | 2015-01-19 14:29:43 -0800 | [diff] [blame] | 58 | |
cretin45 | 48ca24e | 2015-01-19 14:29:43 -0800 | [diff] [blame] | 59 | <protected-broadcast android:name="com.cyanogenmod.setupwizard.SETUP_FINISHED" |
cretin45 | ff2cc6d | 2015-02-10 12:26:33 -0800 | [diff] [blame] | 60 | android:permission="cyanogenmod.permission.FINISH_SETUP"/> |
cretin45 | 0328b87 | 2015-01-15 16:04:44 -0800 | [diff] [blame] | 61 | |
cretin45 | 0328b87 | 2015-01-15 16:04:44 -0800 | [diff] [blame] | 62 | <application android:label="@string/app_name" |
Joey Rizzoli | 52a78fd | 2016-12-29 17:28:02 +0100 | [diff] [blame] | 63 | android:icon="@mipmap/ic_launcher" |
cretin45 | ff2cc6d | 2015-02-10 12:26:33 -0800 | [diff] [blame] | 64 | android:theme="@style/Theme.Setup" |
cretin45 | 714be1a | 2015-04-09 10:44:41 -0700 | [diff] [blame] | 65 | android:uiOptions="none" |
cretin45 | d35618b | 2016-05-02 12:21:45 -0700 | [diff] [blame] | 66 | android:taskAffinity="com.android.wizard" |
cretin45 | ff2cc6d | 2015-02-10 12:26:33 -0800 | [diff] [blame] | 67 | android:name=".SetupWizardApp"> |
cretin45 | 0328b87 | 2015-01-15 16:04:44 -0800 | [diff] [blame] | 68 | |
cretin45 | d4cea55 | 2016-04-25 11:00:04 -0700 | [diff] [blame] | 69 | |
| 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" |
cretin45 | ff2cc6d | 2015-02-10 12:26:33 -0800 | [diff] [blame] | 105 | android:excludeFromRecents="true" |
Brandon McAnsh | 615f709 | 2016-09-02 22:33:45 -0400 | [diff] [blame] | 106 | android:configChanges="mcc|mnc" |
cretin45 | 714be1a | 2015-04-09 10:44:41 -0700 | [diff] [blame] | 107 | android:immersive="true" |
| 108 | android:windowSoftInputMode="stateAlwaysHidden"> |
cretin45 | d4cea55 | 2016-04-25 11:00:04 -0700 | [diff] [blame] | 109 | <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> |
cretin45 | 0328b87 | 2015-01-15 16:04:44 -0800 | [diff] [blame] | 114 | |
cretin45 | d4cea55 | 2016-04-25 11:00:04 -0700 | [diff] [blame] | 115 | <activity android:name=".WelcomeActivity" |
| 116 | android:label="@string/activity_label_empty" |
cretin45 | 3593f03 | 2016-04-20 16:21:05 -0700 | [diff] [blame] | 117 | 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" /> |
cretin45 | 0328b87 | 2015-01-15 16:04:44 -0800 | [diff] [blame] | 123 | <category android:name="android.intent.category.DEFAULT" /> |
| 124 | </intent-filter> |
| 125 | </activity> |
cretin45 | c5e926d | 2015-06-17 13:56:09 -0700 | [diff] [blame] | 126 | |
cretin45 | d4cea55 | 2016-04-25 11:00:04 -0700 | [diff] [blame] | 127 | <activity android:name=".LocaleActivity" |
| 128 | android:label="@string/activity_label_empty" |
cretin45 | 3593f03 | 2016-04-20 16:21:05 -0700 | [diff] [blame] | 129 | android:excludeFromRecents="true" |
| 130 | android:configChanges="mcc|mnc" |
| 131 | android:immersive="true" |
| 132 | android:windowSoftInputMode="stateAlwaysHidden"> |
cretin45 | c5e926d | 2015-06-17 13:56:09 -0700 | [diff] [blame] | 133 | <intent-filter> |
cretin45 | 3593f03 | 2016-04-20 16:21:05 -0700 | [diff] [blame] | 134 | <action android:name="com.cyanogenmod.setupwizard.LINEAGE_LOCALE" /> |
| 135 | <category android:name="android.intent.category.DEFAULT" /> |
| 136 | </intent-filter> |
| 137 | </activity> |
| 138 | |
cretin45 | d4cea55 | 2016-04-25 11:00:04 -0700 | [diff] [blame] | 139 | <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" |
cretin45 | 3593f03 | 2016-04-20 16:21:05 -0700 | [diff] [blame] | 231 | 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 | |
cretin45 | d4cea55 | 2016-04-25 11:00:04 -0700 | [diff] [blame] | 241 | <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" |
cretin45 | 3593f03 | 2016-04-20 16:21:05 -0700 | [diff] [blame] | 269 | 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 | |
cretin45 | d4cea55 | 2016-04-25 11:00:04 -0700 | [diff] [blame] | 279 | <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 | |
cretin45 | 3593f03 | 2016-04-20 16:21:05 -0700 | [diff] [blame] | 299 | <receiver android:name=".PartnerReceiver"> |
| 300 | <intent-filter> |
| 301 | <action android:name="com.android.setupwizard.action.PARTNER_CUSTOMIZATION" /> |
cretin45 | c5e926d | 2015-06-17 13:56:09 -0700 | [diff] [blame] | 302 | </intent-filter> |
| 303 | </receiver> |
cretin45 | d4cea55 | 2016-04-25 11:00:04 -0700 | [diff] [blame] | 304 | |
| 305 | <service android:name=".SetupWizardExitService" |
| 306 | android:exported="false"/> |
cretin45 | 0328b87 | 2015-01-15 16:04:44 -0800 | [diff] [blame] | 307 | </application> |
| 308 | </manifest> |