blob: d8c76176245a020be7d021c4bf9b19c8a35a2f04 [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
4
5 Licensed under the Apache License, Version 2.0 (the "License");
6 you may not use this file except in compliance with the License.
7 You may obtain a copy of the License at
8
9 http://www.apache.org/licenses/LICENSE-2.0
10
11 Unless required by applicable law or agreed to in writing, software
12 distributed under the License is distributed on an "AS IS" BASIS,
13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 See the License for the specific language governing permissions and
15 limitations under the License.
16-->
17<manifest xmlns:android="http://schemas.android.com/apk/res/android"
Roman Birg1fc47a02015-06-10 15:46:20 -070018 xmlns:androidprv="http://schemas.android.com/apk/prv/res/android"
cretin45ff2cc6d2015-02-10 12:26:33 -080019 package="com.cyanogenmod.setupwizard"
cretin45f5ec6ac2016-01-12 16:14:41 -080020 android:versionCode="4"
cretin45ff2cc6d2015-02-10 12:26:33 -080021 android:sharedUserId="android.uid.system">
cretin450328b872015-01-15 16:04:44 -080022
23 <uses-permission android:name="android.permission.CHANGE_CONFIGURATION" />
24 <uses-permission android:name="android.permission.STATUS_BAR" />
25 <uses-permission android:name="android.permission.WRITE_SETTINGS" />
26 <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" />
27 <uses-permission android:name="android.permission.SET_TIME_ZONE" />
28 <uses-permission android:name="android.permission.SET_TIME" />
29 <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
30 <uses-permission android:name="android.permission.CHANGE_NETWORK_STATE"/>
31 <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
32 <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
cretin450328b872015-01-15 16:04:44 -080033 <uses-permission android:name="android.permission.INTERNET"/>
cretin45f5ec6ac2016-01-12 16:14:41 -080034 <uses-permission android:name="android.permission.GET_ACCOUNTS_PRIVILEGED" />
cretin4556bf4362016-02-16 12:33:21 -080035 <uses-permission android:name="android.permission.READ_PRIVILEGED_PHONE_STATE" />
cretin450328b872015-01-15 16:04:44 -080036 <uses-permission android:name="android.permission.MANAGE_ACCOUNTS" />
cretin45d842eed2015-01-27 11:10:09 -080037 <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS" />
38 <uses-permission android:name="android.permission.MANAGE_USERS" />
cretin450328b872015-01-15 16:04:44 -080039 <uses-permission android:name="android.permission.CHANGE_COMPONENT_ENABLED_STATE" />
d34d81043102016-02-24 15:48:56 -080040 <uses-permission android:name="cyanogenmod.permission.ACCESS_THEME_MANAGER"/>
cretin450328b872015-01-15 16:04:44 -080041 <uses-permission android:name="android.permission.EXPAND_STATUS_BAR" />
martincz6c1d7912015-08-21 00:29:40 +080042 <uses-permission android:name="cyanogenmod.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" />
Roman Birg5780dad2015-09-28 16:41:42 -070046 <uses-permission android:name="com.cyngn.stats.SEND_ANALYTICS" />
cretin4577108552015-05-07 16:21:10 -070047 <uses-permission android:name="com.cyanogen.permission.REQUEST_KILL_SWITCH_OP" />
Yvonne Wongf29f92d2015-09-30 03:33:44 -070048 <uses-permission android:name="cyanogenmod.permission.WRITE_SETTINGS"/>
49 <uses-permission android:name="cyanogenmod.permission.WRITE_SECURE_SETTINGS"/>
cretin4548ca24e2015-01-19 14:29:43 -080050
51 <permission
52 android:name="cyanogenmod.permission.PROTECTED_APP"
53 android:protectionLevel="signatureOrSystem" />
54
55 <permission
56 android:name="cyanogenmod.permission.FINISH_SETUP"
Roman Birg1fc47a02015-06-10 15:46:20 -070057 android:protectionLevel="signatureOrSystem"
58 androidprv:allowViaWhitelist="true" />
cretin4548ca24e2015-01-19 14:29:43 -080059
cretin4548ca24e2015-01-19 14:29:43 -080060 <protected-broadcast android:name="com.cyanogenmod.setupwizard.SETUP_FINISHED"
cretin45ff2cc6d2015-02-10 12:26:33 -080061 android:permission="cyanogenmod.permission.FINISH_SETUP"/>
cretin450328b872015-01-15 16:04:44 -080062
cretin45f5ec6ac2016-01-12 16:14:41 -080063 <uses-sdk android:minSdkVersion="23" android:targetSdkVersion="23" />
cretin450328b872015-01-15 16:04:44 -080064
65 <application android:label="@string/app_name"
cretin45ff2cc6d2015-02-10 12:26:33 -080066 android:icon="@drawable/icon"
67 android:theme="@style/Theme.Setup"
cretin45714be1a2015-04-09 10:44:41 -070068 android:uiOptions="none"
cretin45ff2cc6d2015-02-10 12:26:33 -080069 android:name=".SetupWizardApp">
cretin450328b872015-01-15 16:04:44 -080070
cretin450328b872015-01-15 16:04:44 -080071 <meta-data android:name="com.google.android.gms.version"
cretin45ff2cc6d2015-02-10 12:26:33 -080072 android:value="@integer/google_play_services_version" />
cretin450328b872015-01-15 16:04:44 -080073
74 <activity android:name=".ui.SetupWizardActivity"
cretin45ff2cc6d2015-02-10 12:26:33 -080075 android:label="@string/product_name"
76 android:launchMode="singleInstance"
77 android:excludeFromRecents="true"
d34d06aa3eb2016-01-25 11:19:15 -080078 android:configChanges="mcc|mnc|themeChange"
cretin45714be1a2015-04-09 10:44:41 -070079 android:immersive="true"
80 android:windowSoftInputMode="stateAlwaysHidden">
cretin450328b872015-01-15 16:04:44 -080081
Danesh Mfa1be772015-09-15 09:15:33 -070082 <intent-filter android:priority="9">
cretin450328b872015-01-15 16:04:44 -080083
84 <action android:name="android.intent.action.MAIN" />
85 <action android:name="android.intent.action.DEVICE_INITIALIZATION_WIZARD" />
86
87 <category android:name="android.intent.category.HOME" />
88 <category android:name="android.intent.category.DEFAULT" />
89 </intent-filter>
90 </activity>
cretin45c5e926d2015-06-17 13:56:09 -070091
92 <receiver android:name=".setup.FinishSetupReceiver"
93 android:exported="true">
94 <intent-filter>
95 <action android:name="com.cyanogenmod.setupwizard.ACTION_FINISH_SETUPWIZARD" />
96 </intent-filter>
97 </receiver>
cretin450328b872015-01-15 16:04:44 -080098 </application>
99</manifest>