roger xue | 843fbc4 | 2017-02-22 16:20:08 -0800 | [diff] [blame^] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | |
| 3 | <!-- |
| 4 | Copyright (C) 2017 The Android Open Source Project |
| 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 | |
| 19 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
| 20 | package="com.android.car.settings" |
| 21 | android:sharedUserId="android.uid.system" |
| 22 | android:versionCode="1" |
| 23 | android:versionName="1.0"> |
| 24 | |
| 25 | <uses-sdk |
| 26 | android:minSdkVersion="23" |
| 27 | android:targetSdkVersion="23"/> |
| 28 | |
| 29 | <uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/> |
| 30 | <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/> |
| 31 | <uses-permission android:name="android.permission.BACKUP"/> |
| 32 | <uses-permission android:name="android.permission.BLUETOOTH"/> |
| 33 | <uses-permission android:name="android.permission.BLUETOOTH_ADMIN"/> |
| 34 | <uses-permission android:name="android.permission.CHANGE_WIFI_STATE"/> |
| 35 | <uses-permission android:name="android.permission.CLEAR_APP_USER_DATA"/> |
| 36 | <uses-permission android:name="android.permission.DELETE_CACHE_FILES"/> |
| 37 | <uses-permission android:name="android.permission.DUMP"/> |
| 38 | <uses-permission android:name="android.permission.FORCE_STOP_PACKAGES"/> |
| 39 | <uses-permission android:name="android.permission.GET_ACCOUNTS_PRIVILEGED"/> |
| 40 | <uses-permission android:name="android.permission.GET_PACKAGE_SIZE"/> |
| 41 | <uses-permission android:name="android.permission.INJECT_EVENTS"/> |
| 42 | <uses-permission android:name="android.permission.INTERNET"/> |
| 43 | <uses-permission android:name="android.permission.MANAGE_ACCOUNTS"/> |
| 44 | <uses-permission android:name="android.permission.MANAGE_USERS"/> |
| 45 | <uses-permission android:name="android.permission.OVERRIDE_WIFI_CONFIG"/> |
| 46 | <uses-permission android:name="android.permission.READ_CONTACTS"/> |
| 47 | <uses-permission android:name="android.permission.REBOOT"/> |
| 48 | <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/> |
| 49 | <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/> |
| 50 | <uses-permission android:name="android.permission.SET_PREFERRED_APPLICATIONS"/> |
| 51 | <uses-permission android:name="android.permission.SET_TIME"/> |
| 52 | <uses-permission android:name="android.permission.SET_TIME_ZONE"/> |
| 53 | <uses-permission android:name="android.permission.WRITE_MEDIA_STORAGE"/> |
| 54 | <uses-permission android:name="android.permission.WRITE_SETTINGS"/> |
| 55 | <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS"/> |
| 56 | |
| 57 | <application |
| 58 | android:icon="@drawable/ic_launcher_settings" |
| 59 | android:label="@string/settings_label"> |
| 60 | |
| 61 | <activity |
| 62 | android:name=".HomepageActivity" |
| 63 | android:label="@string/settings_label" |
| 64 | android:launchMode="singleTask" |
| 65 | android:exported="true"> |
| 66 | <intent-filter> |
| 67 | <action android:name="android.intent.action.MAIN"/> |
| 68 | <category android:name="android.intent.category.LAUNCHER"/> |
| 69 | </intent-filter> |
| 70 | </activity> |
| 71 | |
| 72 | <activity |
| 73 | android:name=".display.DisplaySettingsActivity" |
| 74 | android:label="@string/display_settings" |
| 75 | android:theme="@style/CarSettingTheme" |
| 76 | android:icon="@drawable/ic_settings_display"> |
| 77 | <intent-filter android:priority="1"> |
| 78 | <action android:name="com.android.settings.action.SETTINGS"/> |
| 79 | </intent-filter> |
| 80 | |
| 81 | <meta-data |
| 82 | android:name="com.android.settings.FRAGMENT_CLASS" |
| 83 | android:value="com.android.car.settings.display.DisplaySettings"/> |
| 84 | <meta-data |
| 85 | android:name="com.android.settings.PRIMARY_PROFILE_CONTROLLED" |
| 86 | android:value="true"/> |
| 87 | <meta-data |
| 88 | android:name="com.android.settings.category" |
| 89 | android:value="com.android.settings.category.ia.homepage"/> |
| 90 | </activity> |
| 91 | |
| 92 | <activity |
| 93 | android:name=".wifi.WifiSettingsActivity" |
| 94 | android:label="@string/wifi_settings" |
| 95 | android:theme="@style/CarSettingTheme" |
| 96 | android:icon="@drawable/ic_settings_wireless"> |
| 97 | <intent-filter android:priority="1"> |
| 98 | <action android:name="com.android.settings.action.SETTINGS"/> |
| 99 | </intent-filter> |
| 100 | |
| 101 | <meta-data |
| 102 | android:name="com.android.settings.FRAGMENT_CLASS" |
| 103 | android:value="com.android.car.settings.wifi.WifiSettings"/> |
| 104 | <meta-data |
| 105 | android:name="com.android.settings.PRIMARY_PROFILE_CONTROLLED" |
| 106 | android:value="true"/> |
| 107 | <meta-data |
| 108 | android:name="com.android.settings.category" |
| 109 | android:value="com.android.settings.category.ia.homepage"/> |
| 110 | </activity> |
| 111 | |
| 112 | <activity |
| 113 | android:name=".wifi.WifiDetailActivity" |
| 114 | android:label="@string/wifi_settings" |
| 115 | android:theme="@style/CarSettingTheme" |
| 116 | android:icon="@drawable/ic_settings_wireless"> |
| 117 | <intent-filter android:priority="1"> |
| 118 | <action android:name="com.android.settings.action.SETTINGS"/> |
| 119 | </intent-filter> |
| 120 | |
| 121 | <meta-data |
| 122 | android:name="com.android.settings.PRIMARY_PROFILE_CONTROLLED" |
| 123 | android:value="true"/> |
| 124 | </activity> |
| 125 | |
| 126 | <activity |
| 127 | android:name=".wifi.AddWifiActivity" |
| 128 | android:label="@string/wifi_settings" |
| 129 | android:theme="@style/CarSettingTheme" |
| 130 | android:icon="@drawable/ic_settings_wireless"> |
| 131 | <intent-filter android:priority="1"> |
| 132 | <action android:name="com.android.settings.action.SETTINGS"/> |
| 133 | </intent-filter> |
| 134 | |
| 135 | <meta-data |
| 136 | android:name="com.android.settings.PRIMARY_PROFILE_CONTROLLED" |
| 137 | android:value="true"/> |
| 138 | </activity> |
| 139 | |
| 140 | <activity |
| 141 | android:name=".bluetooth.BluetoothSettingsActivity" |
| 142 | android:label="@string/bluetooth_settings" |
| 143 | android:theme="@style/CarSettingTheme" |
| 144 | android:icon="@drawable/ic_settings_bluetooth"> |
| 145 | <intent-filter android:priority="1"> |
| 146 | <action android:name="com.android.settings.action.SETTINGS"/> |
| 147 | </intent-filter> |
| 148 | |
| 149 | <meta-data |
| 150 | android:name="com.android.settings.PRIMARY_PROFILE_CONTROLLED" |
| 151 | android:value="true"/> |
| 152 | <meta-data |
| 153 | android:name="com.android.settings.category" |
| 154 | android:value="com.android.settings.category.ia.homepage"/> |
| 155 | </activity> |
| 156 | |
| 157 | <activity |
| 158 | android:name=".bluetooth.BluetoothDetailActivity" |
| 159 | android:label="@string/bluetooth_settings" |
| 160 | android:theme="@style/CarSettingTheme" |
| 161 | android:icon="@drawable/ic_settings_bluetooth"> |
| 162 | <intent-filter android:priority="1"> |
| 163 | <action android:name="com.android.settings.action.SETTINGS"/> |
| 164 | </intent-filter> |
| 165 | |
| 166 | <meta-data |
| 167 | android:name="com.android.settings.PRIMARY_PROFILE_CONTROLLED" |
| 168 | android:value="true"/> |
| 169 | </activity> |
| 170 | </application> |
| 171 | </manifest> |