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" |
Roger Xue | b5a8941 | 2018-11-09 23:32:38 +0000 | [diff] [blame] | 21 | coreApp="true" |
roger xue | 843fbc4 | 2017-02-22 16:20:08 -0800 | [diff] [blame] | 22 | android:sharedUserId="android.uid.system" |
| 23 | android:versionCode="1" |
| 24 | android:versionName="1.0"> |
| 25 | |
| 26 | <uses-sdk |
Rakesh Iyer | bb3d78e | 2017-04-26 14:54:39 -0700 | [diff] [blame] | 27 | android:minSdkVersion="24" |
| 28 | android:targetSdkVersion="24"/> |
roger xue | 843fbc4 | 2017-02-22 16:20:08 -0800 | [diff] [blame] | 29 | |
| 30 | <uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/> |
| 31 | <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/> |
| 32 | <uses-permission android:name="android.permission.BACKUP"/> |
| 33 | <uses-permission android:name="android.permission.BLUETOOTH"/> |
| 34 | <uses-permission android:name="android.permission.BLUETOOTH_ADMIN"/> |
davidln | 7d8c773 | 2019-01-22 12:57:40 -0800 | [diff] [blame] | 35 | <uses-permission android:name="android.permission.BLUETOOTH_PRIVILEGED"/> |
roger xue | 843fbc4 | 2017-02-22 16:20:08 -0800 | [diff] [blame] | 36 | <uses-permission android:name="android.permission.CHANGE_WIFI_STATE"/> |
| 37 | <uses-permission android:name="android.permission.CLEAR_APP_USER_DATA"/> |
| 38 | <uses-permission android:name="android.permission.DELETE_CACHE_FILES"/> |
| 39 | <uses-permission android:name="android.permission.DUMP"/> |
| 40 | <uses-permission android:name="android.permission.FORCE_STOP_PACKAGES"/> |
| 41 | <uses-permission android:name="android.permission.GET_ACCOUNTS_PRIVILEGED"/> |
| 42 | <uses-permission android:name="android.permission.GET_PACKAGE_SIZE"/> |
| 43 | <uses-permission android:name="android.permission.INJECT_EVENTS"/> |
| 44 | <uses-permission android:name="android.permission.INTERNET"/> |
| 45 | <uses-permission android:name="android.permission.MANAGE_ACCOUNTS"/> |
| 46 | <uses-permission android:name="android.permission.MANAGE_USERS"/> |
Roshan Agrawal | 24cdfec | 2018-04-04 19:12:55 -0700 | [diff] [blame] | 47 | <uses-permission android:name="android.permission.MASTER_CLEAR" /> |
kevinjm | 11dfade | 2018-04-26 17:53:30 -0700 | [diff] [blame] | 48 | <uses-permission android:name="android.permission.NETWORK_SETTINGS" /> |
roger xue | 843fbc4 | 2017-02-22 16:20:08 -0800 | [diff] [blame] | 49 | <uses-permission android:name="android.permission.OVERRIDE_WIFI_CONFIG"/> |
| 50 | <uses-permission android:name="android.permission.READ_CONTACTS"/> |
| 51 | <uses-permission android:name="android.permission.REBOOT"/> |
| 52 | <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/> |
| 53 | <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/> |
Calvin Huang | c79fb43 | 2019-04-30 14:23:58 -0700 | [diff] [blame^] | 54 | <uses-permission android:name="android.permission.REQUEST_DELETE_PACKAGES"/> |
roger xue | 843fbc4 | 2017-02-22 16:20:08 -0800 | [diff] [blame] | 55 | <uses-permission android:name="android.permission.SET_PREFERRED_APPLICATIONS"/> |
| 56 | <uses-permission android:name="android.permission.SET_TIME"/> |
| 57 | <uses-permission android:name="android.permission.SET_TIME_ZONE"/> |
Lujiang Xue | 12d4eb1 | 2018-02-07 13:09:13 -0800 | [diff] [blame] | 58 | <uses-permission android:name="android.permission.START_FOREGROUND"/> |
Adora Zhang | 77c9ce0 | 2019-03-08 13:15:32 -0800 | [diff] [blame] | 59 | <uses-permission android:name="android.permission.STATUS_BAR_SERVICE"/> |
roger xue | 843fbc4 | 2017-02-22 16:20:08 -0800 | [diff] [blame] | 60 | <uses-permission android:name="android.permission.WRITE_MEDIA_STORAGE"/> |
| 61 | <uses-permission android:name="android.permission.WRITE_SETTINGS"/> |
| 62 | <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS"/> |
| 63 | |
| 64 | <application |
| 65 | android:icon="@drawable/ic_launcher_settings" |
roger xue | 24b5080 | 2017-04-04 11:59:04 -0700 | [diff] [blame] | 66 | android:theme="@style/CarSettingTheme" |
Jian Jin | 92b8558 | 2018-06-05 15:35:21 -0700 | [diff] [blame] | 67 | android:label="@string/settings_label" |
Roger Xue | b5a8941 | 2018-11-09 23:32:38 +0000 | [diff] [blame] | 68 | android:requiredForAllUsers="true" |
| 69 | android:directBootAware="true" |
Jian Jin | 92b8558 | 2018-06-05 15:35:21 -0700 | [diff] [blame] | 70 | android:supportsRtl="true"> |
roger xue | 843fbc4 | 2017-02-22 16:20:08 -0800 | [diff] [blame] | 71 | |
| 72 | <activity |
roger xue | 24b5080 | 2017-04-04 11:59:04 -0700 | [diff] [blame] | 73 | android:name=".common.CarSettingActivity" |
roger xue | 843fbc4 | 2017-02-22 16:20:08 -0800 | [diff] [blame] | 74 | android:label="@string/settings_label" |
Lujiang Xue | 0daa919 | 2017-12-06 11:48:39 -0800 | [diff] [blame] | 75 | android:launchMode="singleTask" |
Lujiang Xue | eaff6c3 | 2018-04-10 08:20:29 -0700 | [diff] [blame] | 76 | android:windowSoftInputMode="adjustPan" |
Lujiang Xue | 0daa919 | 2017-12-06 11:48:39 -0800 | [diff] [blame] | 77 | android:exported="true"> |
Lujiang Xue | 73f4573 | 2018-04-05 09:42:19 -0700 | [diff] [blame] | 78 | <!-- Set priority high enough to trump the phone setting app --> |
Roger Xue | b5a8941 | 2018-11-09 23:32:38 +0000 | [diff] [blame] | 79 | <intent-filter android:priority="1"> |
Lujiang Xue | 73f4573 | 2018-04-05 09:42:19 -0700 | [diff] [blame] | 80 | <action android:name="android.settings.SETTINGS" /> |
Lujiang Xue | 0daa919 | 2017-12-06 11:48:39 -0800 | [diff] [blame] | 81 | <category android:name="android.intent.category.DEFAULT"/> |
Lujiang Xue | 0daa919 | 2017-12-06 11:48:39 -0800 | [diff] [blame] | 82 | </intent-filter> |
Lujiang Xue | c1be6f6 | 2018-06-25 14:45:59 -0700 | [diff] [blame] | 83 | |
| 84 | <!-- Handles wifi related intent --> |
| 85 | <intent-filter android:priority="1"> |
| 86 | <action android:name="android.settings.WIFI_SETTINGS" /> |
Lujiang Xue | f402bff | 2018-12-19 16:02:39 -0800 | [diff] [blame] | 87 | <action android:name="android.settings.WIRELESS_SETTINGS" /> |
Lujiang Xue | c1be6f6 | 2018-06-25 14:45:59 -0700 | [diff] [blame] | 88 | <category android:name="android.intent.category.DEFAULT" /> |
| 89 | </intent-filter> |
Lujiang Xue | c1be6f6 | 2018-06-25 14:45:59 -0700 | [diff] [blame] | 90 | |
Lujiang Xue | 8d6a985 | 2018-12-17 10:19:18 -0800 | [diff] [blame] | 91 | <intent-filter android:priority="100"> |
| 92 | <action android:name="android.net.wifi.PICK_WIFI_NETWORK" /> |
| 93 | <category android:name="android.intent.category.DEFAULT" /> |
| 94 | </intent-filter> |
| 95 | |
Lujiang Xue | f402bff | 2018-12-19 16:02:39 -0800 | [diff] [blame] | 96 | <intent-filter android:priority="1"> |
Lujiang Xue | a7813ff | 2019-01-15 09:02:34 -0800 | [diff] [blame] | 97 | <action android:name="android.settings.NIGHT_DISPLAY_SETTINGS" /> |
| 98 | <category android:name="android.intent.category.DEFAULT" /> |
| 99 | </intent-filter> |
| 100 | |
| 101 | <intent-filter android:priority="1"> |
Lujiang Xue | f402bff | 2018-12-19 16:02:39 -0800 | [diff] [blame] | 102 | <action android:name="android.settings.USER_SETTINGS" /> |
| 103 | <category android:name="android.intent.category.DEFAULT" /> |
| 104 | </intent-filter> |
| 105 | |
| 106 | <intent-filter android:priority="1"> |
| 107 | <action android:name="android.settings.BLUETOOTH_SETTINGS" /> |
| 108 | <category android:name="android.intent.category.DEFAULT" /> |
| 109 | </intent-filter> |
| 110 | |
Heemin Seog | e765f12 | 2019-02-08 15:13:24 -0800 | [diff] [blame] | 111 | <intent-filter android:priority="100"> |
Lujiang Xue | a7813ff | 2019-01-15 09:02:34 -0800 | [diff] [blame] | 112 | <action android:name="android.settings.DEVICE_INFO_SETTINGS" /> |
Heemin Seog | e765f12 | 2019-02-08 15:13:24 -0800 | [diff] [blame] | 113 | <action android:name="android.settings.DEVICE_NAME" /> |
Lujiang Xue | a7813ff | 2019-01-15 09:02:34 -0800 | [diff] [blame] | 114 | <category android:name="android.intent.category.DEFAULT" /> |
| 115 | </intent-filter> |
| 116 | |
Heemin Seog | e765f12 | 2019-02-08 15:13:24 -0800 | [diff] [blame] | 117 | <intent-filter android:priority="100"> |
| 118 | <action android:name="android.settings.LOCALE_SETTINGS" /> |
| 119 | <category android:name="android.intent.category.DEFAULT"/> |
| 120 | </intent-filter> |
| 121 | |
| 122 | <intent-filter android:priority="100"> |
| 123 | <action android:name="android.settings.INPUT_METHOD_SETTINGS" /> |
| 124 | <category android:name="android.intent.category.DEFAULT"/> |
| 125 | </intent-filter> |
| 126 | |
Lujiang Xue | a7813ff | 2019-01-15 09:02:34 -0800 | [diff] [blame] | 127 | <intent-filter android:priority="1"> |
| 128 | <action android:name="android.settings.APPLICATION_DETAILS_SETTINGS" /> |
Lujiang Xue | 55440f2 | 2019-01-30 09:18:42 -0800 | [diff] [blame] | 129 | <data android:scheme="package" /> |
Lujiang Xue | a7813ff | 2019-01-15 09:02:34 -0800 | [diff] [blame] | 130 | <category android:name="android.intent.category.DEFAULT" /> |
| 131 | </intent-filter> |
| 132 | |
| 133 | <intent-filter android:priority="1"> |
Lujiang Xue | f402bff | 2018-12-19 16:02:39 -0800 | [diff] [blame] | 134 | <action android:name="android.settings.DATE_SETTINGS" /> |
Heemin Seog | e765f12 | 2019-02-08 15:13:24 -0800 | [diff] [blame] | 135 | <action android:name="android.intent.action.QUICK_CLOCK" /> |
Lujiang Xue | f402bff | 2018-12-19 16:02:39 -0800 | [diff] [blame] | 136 | <category android:name="android.intent.category.DEFAULT" /> |
| 137 | </intent-filter> |
| 138 | |
| 139 | <intent-filter android:priority="1"> |
| 140 | <action android:name="android.settings.SOUND_SETTINGS" /> |
| 141 | <category android:name="android.intent.category.DEFAULT" /> |
| 142 | </intent-filter> |
| 143 | |
| 144 | <intent-filter android:priority="1"> |
| 145 | <action android:name="android.settings.DISPLAY_SETTINGS" /> |
| 146 | <action android:name="android.settings.NIGHT_DISPLAY_SETTINGS" /> |
| 147 | <category android:name="android.intent.category.DEFAULT" /> |
| 148 | </intent-filter> |
| 149 | |
| 150 | <intent-filter android:priority="1"> |
| 151 | <action android:name="android.settings.APPLICATION_SETTINGS" /> |
| 152 | <action android:name="android.settings.MANAGE_APPLICATIONS_SETTINGS" /> |
| 153 | <action android:name="android.settings.MANAGE_ALL_APPLICATIONS_SETTINGS" /> |
| 154 | <category android:name="android.intent.category.DEFAULT" /> |
| 155 | </intent-filter> |
| 156 | |
Lujiang Xue | 8d6a985 | 2018-12-17 10:19:18 -0800 | [diff] [blame] | 157 | <intent-filter android:priority="100"> |
| 158 | <action android:name="android.settings.LOCATION_SOURCE_SETTINGS" /> |
| 159 | <category android:name="android.intent.category.DEFAULT" /> |
| 160 | </intent-filter> |
| 161 | |
Roshan Agrawal | d47b9de | 2018-12-26 19:54:20 -0800 | [diff] [blame] | 162 | <intent-filter android:priority="100"> |
Heemin Seog | e765f12 | 2019-02-08 15:13:24 -0800 | [diff] [blame] | 163 | <action android:name="android.settings.LOCATION_SCANNING_SETTINGS" /> |
| 164 | <category android:name="android.intent.category.DEFAULT"/> |
| 165 | </intent-filter> |
| 166 | |
| 167 | <intent-filter android:priority="100"> |
Roshan Agrawal | d47b9de | 2018-12-26 19:54:20 -0800 | [diff] [blame] | 168 | <action android:name="android.settings.SYNC_SETTINGS" /> |
| 169 | <category android:name="android.intent.category.DEFAULT" /> |
| 170 | </intent-filter> |
| 171 | |
| 172 | <intent-filter android:priority="100"> |
| 173 | <action android:name="android.settings.ADD_ACCOUNT_SETTINGS" /> |
| 174 | <category android:name="android.intent.category.DEFAULT" /> |
| 175 | </intent-filter> |
| 176 | |
Heemin Seog | 2d0934f | 2019-03-26 11:47:31 -0700 | [diff] [blame] | 177 | <intent-filter android:priority="100"> |
| 178 | <action android:name="android.settings.MANAGE_DEFAULT_APPS_SETTINGS" /> |
| 179 | <category android:name="android.intent.category.DEFAULT" /> |
| 180 | </intent-filter> |
| 181 | |
| 182 | <intent-filter android:priority="100"> |
| 183 | <action android:name="android.settings.INTERNAL_STORAGE_SETTINGS" /> |
| 184 | <category android:name="android.intent.category.DEFAULT" /> |
| 185 | </intent-filter> |
| 186 | |
| 187 | <intent-filter android:priority="100"> |
| 188 | <action android:name="android.settings.VOICE_INPUT_SETTINGS" /> |
| 189 | <category android:name="android.intent.category.DEFAULT" /> |
| 190 | </intent-filter> |
| 191 | |
| 192 | <intent-filter android:priority="100"> |
| 193 | <action android:name="android.settings.DATA_USAGE_SETTINGS" /> |
| 194 | <action android:name="android.settings.MOBILE_DATA_USAGE" /> |
| 195 | <category android:name="android.intent.category.DEFAULT" /> |
| 196 | </intent-filter> |
| 197 | |
| 198 | <intent-filter android:priority="100"> |
| 199 | <action android:name="android.settings.REQUEST_SET_AUTOFILL_SERVICE" /> |
| 200 | <category android:name="android.intent.category.DEFAULT" /> |
Priyank Singh | cabfc8b | 2019-04-02 12:42:17 -0700 | [diff] [blame] | 201 | <data android:scheme="package" /> |
Heemin Seog | 2d0934f | 2019-03-26 11:47:31 -0700 | [diff] [blame] | 202 | </intent-filter> |
| 203 | |
| 204 | <intent-filter android:priority="100"> |
| 205 | <action android:name="android.settings.DATA_ROAMING_SETTINGS" /> |
| 206 | <action android:name="android.settings.NETWORK_OPERATOR_SETTINGS" /> |
| 207 | <category android:name="android.intent.category.DEFAULT" /> |
| 208 | </intent-filter> |
| 209 | |
Lujiang Xue | a12477f | 2018-04-10 08:20:29 -0700 | [diff] [blame] | 210 | <meta-data android:name="distractionOptimized" android:value="true"/> |
Lujiang Xue | 0daa919 | 2017-12-06 11:48:39 -0800 | [diff] [blame] | 211 | </activity> |
| 212 | |
Roger Xue | b5a8941 | 2018-11-09 23:32:38 +0000 | [diff] [blame] | 213 | <!-- Alias for launcher activity only, as this belongs to each profile. --> |
| 214 | <!-- TODO: once phone setting is removed from car system image, set priority to 1 --> |
| 215 | <activity-alias android:name="Settings" |
| 216 | android:label="@string/settings_label" |
| 217 | android:launchMode="singleTask" |
| 218 | android:targetActivity=".common.CarSettingActivity"> |
| 219 | <intent-filter android:priority="10"> |
| 220 | <action android:name="android.intent.action.MAIN" /> |
| 221 | <category android:name="android.intent.category.DEFAULT" /> |
| 222 | <category android:name="android.intent.category.LAUNCHER" /> |
| 223 | </intent-filter> |
Lujiang Xue | 8b0e2a7 | 2019-01-08 11:34:26 -0800 | [diff] [blame] | 224 | <meta-data android:name="distractionOptimized" android:value="true"/> |
Roger Xue | b5a8941 | 2018-11-09 23:32:38 +0000 | [diff] [blame] | 225 | </activity-alias> |
| 226 | |
Lujiang Xue | 63d561d | 2017-10-27 13:36:00 -0700 | [diff] [blame] | 227 | <activity android:name=".bluetooth.BluetoothPairingDialog" |
| 228 | android:excludeFromRecents="true" |
| 229 | android:windowSoftInputMode="stateVisible|adjustResize" |
kevinjm | 9908183 | 2018-10-17 17:08:10 -0700 | [diff] [blame] | 230 | android:taskAffinity="car.settings.bluetooth" |
| 231 | android:launchMode="singleTask" |
Lujiang Xue | 63d561d | 2017-10-27 13:36:00 -0700 | [diff] [blame] | 232 | android:theme="@*android:style/Theme.DeviceDefault.Settings.Dialog.NoActionBar"> |
Lujiang Xue | 8b0e2a7 | 2019-01-08 11:34:26 -0800 | [diff] [blame] | 233 | <meta-data android:name="distractionOptimized" android:value="true"/> |
Lujiang Xue | 63d561d | 2017-10-27 13:36:00 -0700 | [diff] [blame] | 234 | </activity> |
| 235 | |
Ying | 710fced | 2017-11-13 13:00:51 -0800 | [diff] [blame] | 236 | <activity android:name=".accounts.AddAccountActivity" |
| 237 | android:theme="@android:style/Theme.Translucent.NoTitleBar" |
Roshan Agrawal | d47b9de | 2018-12-26 19:54:20 -0800 | [diff] [blame] | 238 | android:configChanges="orientation|keyboardHidden|screenSize"/> |
Ying | 710fced | 2017-11-13 13:00:51 -0800 | [diff] [blame] | 239 | |
Jian Jin | 8ac4604 | 2018-04-26 17:27:47 -0700 | [diff] [blame] | 240 | <activity android:name=".security.SettingsScreenLockActivity" |
Jian Jin | ac9f996 | 2018-05-17 15:34:29 -0700 | [diff] [blame] | 241 | android:configChanges="orientation|keyboardHidden|screenSize" |
| 242 | android:windowSoftInputMode="adjustResize"> |
davidln | d3e3534 | 2018-10-05 10:37:46 -0700 | [diff] [blame] | 243 | <intent-filter> |
| 244 | <action android:name="android.car.settings.SCREEN_LOCK_ACTIVITY" /> |
| 245 | <category android:name="android.intent.category.DEFAULT" /> |
| 246 | </intent-filter> |
Jian Jin | 21425d3 | 2018-10-22 14:28:59 -0700 | [diff] [blame] | 247 | <meta-data android:name="distractionOptimized" android:value="true"/> |
Jian Jin | 8ac4604 | 2018-04-26 17:27:47 -0700 | [diff] [blame] | 248 | </activity> |
| 249 | |
Jian Jin | 7ab6903 | 2018-04-16 11:21:16 -0700 | [diff] [blame] | 250 | <activity android:name=".security.SetupWizardScreenLockActivity" |
Roshan Agrawal | 881d4a0 | 2018-08-07 17:04:44 -0700 | [diff] [blame] | 251 | android:theme="@style/Theme.Car.SetupWizard.NoActionBar.Accent" |
Jian Jin | ac9f996 | 2018-05-17 15:34:29 -0700 | [diff] [blame] | 252 | android:configChanges="orientation|keyboardHidden|screenSize" |
| 253 | android:windowSoftInputMode="adjustResize"> |
Ying | 96da041 | 2018-02-07 12:09:10 -0800 | [diff] [blame] | 254 | <intent-filter> |
Jian Jin | 7ab6903 | 2018-04-16 11:21:16 -0700 | [diff] [blame] | 255 | <action android:name="android.car.settings.SETUP_WIZARD_SCREEN_LOCK_ACTIVITY" /> |
Jian Jin | 6212e0f | 2018-03-19 16:22:46 -0700 | [diff] [blame] | 256 | <category android:name="android.intent.category.DEFAULT" /> |
| 257 | </intent-filter> |
Jian Jin | 839baf4 | 2018-07-09 13:22:52 -0700 | [diff] [blame] | 258 | <meta-data android:name="distractionOptimized" android:value="true"/> |
Jian Jin | 6212e0f | 2018-03-19 16:22:46 -0700 | [diff] [blame] | 259 | </activity> |
| 260 | |
davidln | bdd4423 | 2018-07-03 13:38:13 -0700 | [diff] [blame] | 261 | <activity android:name=".security.CheckLockActivity" |
| 262 | android:configChanges="orientation|keyboardHidden|screenSize" |
| 263 | android:windowSoftInputMode="adjustResize"> |
| 264 | </activity> |
| 265 | |
Jian Jin | a7f06f8 | 2018-08-06 16:34:03 -0700 | [diff] [blame] | 266 | <activity android:name=".system.ThirdPartyLicensesActivity" |
Jonathan Koo | 72f4572 | 2019-03-11 08:40:26 -0700 | [diff] [blame] | 267 | android:label="@string/settings_license_activity_title" |
Jian Jin | a7f06f8 | 2018-08-06 16:34:03 -0700 | [diff] [blame] | 268 | android:configChanges="orientation|keyboardHidden|screenSize" |
| 269 | android:windowSoftInputMode="adjustResize"> |
Jonathan Koo | 72f4572 | 2019-03-11 08:40:26 -0700 | [diff] [blame] | 270 | <intent-filter> |
| 271 | <action android:name="android.settings.THIRD_PARTY_LICENSE" /> |
| 272 | <category android:name="android.intent.category.DEFAULT" /> |
| 273 | </intent-filter> |
Jian Jin | a7f06f8 | 2018-08-06 16:34:03 -0700 | [diff] [blame] | 274 | </activity> |
| 275 | |
Jonathan Koo | 7a9a1b2 | 2019-04-22 08:12:46 -0700 | [diff] [blame] | 276 | <activity |
| 277 | android:name=".system.RegulatoryInfoDisplayActivity" |
| 278 | android:label="@string/regulatory_labels" |
| 279 | android:enabled="@bool/config_show_regulatory_info"> |
| 280 | <intent-filter> |
| 281 | <action android:name="android.settings.SHOW_REGULATORY_INFO" /> |
| 282 | <category android:name="android.intent.category.DEFAULT" /> |
| 283 | </intent-filter> |
| 284 | </activity> |
| 285 | |
Lujiang Xue | 0c6dd2d | 2018-10-02 13:46:00 -0700 | [diff] [blame] | 286 | <!-- This logic is copied from phone.--> |
| 287 | <!-- Ensures there's lightweight fallback activity when no other MAIN/HOME activity is present.--> |
| 288 | <activity android:name=".FallbackHome" |
| 289 | android:excludeFromRecents="true" |
| 290 | android:label="" |
| 291 | android:screenOrientation="nosensor" |
| 292 | android:theme="@style/FallbackHome"> |
Lujiang Xue | 630fe0a | 2018-11-13 13:51:02 -0800 | [diff] [blame] | 293 | <intent-filter android:priority="-900"> |
Lujiang Xue | 0c6dd2d | 2018-10-02 13:46:00 -0700 | [diff] [blame] | 294 | <action android:name="android.intent.action.MAIN" /> |
| 295 | <category android:name="android.intent.category.HOME" /> |
| 296 | <category android:name="android.intent.category.DEFAULT" /> |
| 297 | </intent-filter> |
Lujiang Xue | ee7dacb | 2018-12-03 12:38:11 -0800 | [diff] [blame] | 298 | <meta-data android:name="distractionOptimized" android:value="true"/> |
Lujiang Xue | 0c6dd2d | 2018-10-02 13:46:00 -0700 | [diff] [blame] | 299 | </activity> |
| 300 | |
Lujiang Xue | 63d561d | 2017-10-27 13:36:00 -0700 | [diff] [blame] | 301 | <service android:name=".bluetooth.BluetoothPairingService" /> |
| 302 | |
| 303 | <receiver android:name=".bluetooth.BluetoothPairingRequest"> |
| 304 | <intent-filter> |
| 305 | <action android:name="android.bluetooth.device.action.PAIRING_REQUEST" /> |
| 306 | </intent-filter> |
| 307 | </receiver> |
| 308 | |
Jian Jin | a7f06f8 | 2018-08-06 16:34:03 -0700 | [diff] [blame] | 309 | <!-- FileProvider to share a generated license html file. |
| 310 | Note that "com.android.settings.files" is set here as its authorities because a Uri |
| 311 | permission grant should be allowed to share a file with an external browser but it is |
| 312 | allowed only for Settings' authorities in ActivityManagerService. --> |
| 313 | <provider android:name="androidx.core.content.FileProvider" |
| 314 | android:authorities="com.android.settings.files" |
| 315 | android:grantUriPermissions="true" |
| 316 | android:exported="false"> |
| 317 | <meta-data android:name="android.support.FILE_PROVIDER_PATHS" |
| 318 | android:resource="@xml/file_paths" /> |
| 319 | </provider> |
| 320 | |
roger xue | 843fbc4 | 2017-02-22 16:20:08 -0800 | [diff] [blame] | 321 | </application> |
| 322 | </manifest> |