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 |
Rakesh Iyer | bb3d78e | 2017-04-26 14:54:39 -0700 | [diff] [blame] | 26 | android:minSdkVersion="24" |
| 27 | android:targetSdkVersion="24"/> |
roger xue | 843fbc4 | 2017-02-22 16:20:08 -0800 | [diff] [blame] | 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"/> |
Roshan Agrawal | 24cdfec | 2018-04-04 19:12:55 -0700 | [diff] [blame] | 45 | <uses-permission android:name="android.permission.MASTER_CLEAR" /> |
kevinjm | 11dfade | 2018-04-26 17:53:30 -0700 | [diff] [blame] | 46 | <uses-permission android:name="android.permission.NETWORK_SETTINGS" /> |
roger xue | 843fbc4 | 2017-02-22 16:20:08 -0800 | [diff] [blame] | 47 | <uses-permission android:name="android.permission.OVERRIDE_WIFI_CONFIG"/> |
| 48 | <uses-permission android:name="android.permission.READ_CONTACTS"/> |
| 49 | <uses-permission android:name="android.permission.REBOOT"/> |
| 50 | <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/> |
| 51 | <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/> |
| 52 | <uses-permission android:name="android.permission.SET_PREFERRED_APPLICATIONS"/> |
| 53 | <uses-permission android:name="android.permission.SET_TIME"/> |
| 54 | <uses-permission android:name="android.permission.SET_TIME_ZONE"/> |
Lujiang Xue | 12d4eb1 | 2018-02-07 13:09:13 -0800 | [diff] [blame] | 55 | <uses-permission android:name="android.permission.START_FOREGROUND"/> |
roger xue | 843fbc4 | 2017-02-22 16:20:08 -0800 | [diff] [blame] | 56 | <uses-permission android:name="android.permission.WRITE_MEDIA_STORAGE"/> |
| 57 | <uses-permission android:name="android.permission.WRITE_SETTINGS"/> |
| 58 | <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS"/> |
| 59 | |
| 60 | <application |
| 61 | android:icon="@drawable/ic_launcher_settings" |
roger xue | 24b5080 | 2017-04-04 11:59:04 -0700 | [diff] [blame] | 62 | android:theme="@style/CarSettingTheme" |
Jian Jin | 92b8558 | 2018-06-05 15:35:21 -0700 | [diff] [blame] | 63 | android:label="@string/settings_label" |
| 64 | android:supportsRtl="true"> |
roger xue | 843fbc4 | 2017-02-22 16:20:08 -0800 | [diff] [blame] | 65 | |
| 66 | <activity |
roger xue | 24b5080 | 2017-04-04 11:59:04 -0700 | [diff] [blame] | 67 | android:name=".common.CarSettingActivity" |
roger xue | 843fbc4 | 2017-02-22 16:20:08 -0800 | [diff] [blame] | 68 | android:label="@string/settings_label" |
Lujiang Xue | 0daa919 | 2017-12-06 11:48:39 -0800 | [diff] [blame] | 69 | android:launchMode="singleTask" |
Lujiang Xue | eaff6c3 | 2018-04-10 08:20:29 -0700 | [diff] [blame] | 70 | android:windowSoftInputMode="adjustPan" |
Lujiang Xue | 0daa919 | 2017-12-06 11:48:39 -0800 | [diff] [blame] | 71 | android:exported="true"> |
Lujiang Xue | 73f4573 | 2018-04-05 09:42:19 -0700 | [diff] [blame] | 72 | <!-- Set priority high enough to trump the phone setting app --> |
| 73 | <!-- TODO: once phone setting is removed from car system image, set priority to 1 --> |
| 74 | <intent-filter android:priority="10"> |
Lujiang Xue | 0daa919 | 2017-12-06 11:48:39 -0800 | [diff] [blame] | 75 | <action android:name="android.intent.action.MAIN" /> |
Lujiang Xue | 73f4573 | 2018-04-05 09:42:19 -0700 | [diff] [blame] | 76 | <action android:name="android.settings.SETTINGS" /> |
Lujiang Xue | 0daa919 | 2017-12-06 11:48:39 -0800 | [diff] [blame] | 77 | <category android:name="android.intent.category.DEFAULT"/> |
| 78 | <category android:name="android.intent.category.LAUNCHER" /> |
| 79 | </intent-filter> |
Lujiang Xue | c1be6f6 | 2018-06-25 14:45:59 -0700 | [diff] [blame] | 80 | |
| 81 | <!-- Handles wifi related intent --> |
| 82 | <intent-filter android:priority="1"> |
| 83 | <action android:name="android.settings.WIFI_SETTINGS" /> |
| 84 | <category android:name="android.intent.category.DEFAULT" /> |
| 85 | </intent-filter> |
| 86 | <intent-filter android:priority="1"> |
| 87 | <action android:name="android.net.wifi.PICK_WIFI_NETWORK" /> |
| 88 | <category android:name="android.intent.category.DEFAULT" /> |
| 89 | </intent-filter> |
| 90 | |
Lujiang Xue | a12477f | 2018-04-10 08:20:29 -0700 | [diff] [blame] | 91 | <meta-data android:name="distractionOptimized" android:value="true"/> |
Lujiang Xue | 0daa919 | 2017-12-06 11:48:39 -0800 | [diff] [blame] | 92 | </activity> |
| 93 | |
Lujiang Xue | 63d561d | 2017-10-27 13:36:00 -0700 | [diff] [blame] | 94 | <activity android:name=".bluetooth.BluetoothPairingDialog" |
| 95 | android:excludeFromRecents="true" |
| 96 | android:windowSoftInputMode="stateVisible|adjustResize" |
| 97 | android:theme="@*android:style/Theme.DeviceDefault.Settings.Dialog.NoActionBar"> |
Lujiang Xue | 63d561d | 2017-10-27 13:36:00 -0700 | [diff] [blame] | 98 | </activity> |
| 99 | |
Ying | 710fced | 2017-11-13 13:00:51 -0800 | [diff] [blame] | 100 | <activity android:name=".accounts.AddAccountActivity" |
| 101 | android:theme="@android:style/Theme.Translucent.NoTitleBar" |
| 102 | android:configChanges="orientation|keyboardHidden|screenSize"> |
| 103 | <intent-filter> |
| 104 | <action android:name="android.car.settings.ADD_ACCOUNT_SETTINGS" /> |
| 105 | <category android:name="android.intent.category.DEFAULT" /> |
| 106 | </intent-filter> |
| 107 | </activity> |
| 108 | |
Jian Jin | 8ac4604 | 2018-04-26 17:27:47 -0700 | [diff] [blame] | 109 | <activity android:name=".security.SettingsScreenLockActivity" |
Jian Jin | ac9f996 | 2018-05-17 15:34:29 -0700 | [diff] [blame] | 110 | android:configChanges="orientation|keyboardHidden|screenSize" |
| 111 | android:windowSoftInputMode="adjustResize"> |
Jian Jin | 8ac4604 | 2018-04-26 17:27:47 -0700 | [diff] [blame] | 112 | </activity> |
| 113 | |
Jian Jin | 7ab6903 | 2018-04-16 11:21:16 -0700 | [diff] [blame] | 114 | <activity android:name=".security.SetupWizardScreenLockActivity" |
Roshan Agrawal | 881d4a0 | 2018-08-07 17:04:44 -0700 | [diff] [blame] | 115 | android:theme="@style/Theme.Car.SetupWizard.NoActionBar.Accent" |
Jian Jin | ac9f996 | 2018-05-17 15:34:29 -0700 | [diff] [blame] | 116 | android:configChanges="orientation|keyboardHidden|screenSize" |
| 117 | android:windowSoftInputMode="adjustResize"> |
Ying | 96da041 | 2018-02-07 12:09:10 -0800 | [diff] [blame] | 118 | <intent-filter> |
Jian Jin | 7ab6903 | 2018-04-16 11:21:16 -0700 | [diff] [blame] | 119 | <action android:name="android.car.settings.SETUP_WIZARD_SCREEN_LOCK_ACTIVITY" /> |
Jian Jin | 6212e0f | 2018-03-19 16:22:46 -0700 | [diff] [blame] | 120 | <category android:name="android.intent.category.DEFAULT" /> |
| 121 | </intent-filter> |
Jian Jin | 839baf4 | 2018-07-09 13:22:52 -0700 | [diff] [blame] | 122 | <meta-data android:name="distractionOptimized" android:value="true"/> |
Jian Jin | 6212e0f | 2018-03-19 16:22:46 -0700 | [diff] [blame] | 123 | </activity> |
| 124 | |
davidln | bdd4423 | 2018-07-03 13:38:13 -0700 | [diff] [blame] | 125 | <activity android:name=".security.CheckLockActivity" |
| 126 | android:configChanges="orientation|keyboardHidden|screenSize" |
| 127 | android:windowSoftInputMode="adjustResize"> |
| 128 | </activity> |
| 129 | |
Jian Jin | a7f06f8 | 2018-08-06 16:34:03 -0700 | [diff] [blame] | 130 | <activity android:name=".system.ThirdPartyLicensesActivity" |
| 131 | android:configChanges="orientation|keyboardHidden|screenSize" |
| 132 | android:windowSoftInputMode="adjustResize"> |
| 133 | </activity> |
| 134 | |
Lujiang Xue | 0c6dd2d | 2018-10-02 13:46:00 -0700 | [diff] [blame^] | 135 | <!-- This logic is copied from phone.--> |
| 136 | <!-- Ensures there's lightweight fallback activity when no other MAIN/HOME activity is present.--> |
| 137 | <activity android:name=".FallbackHome" |
| 138 | android:excludeFromRecents="true" |
| 139 | android:label="" |
| 140 | android:screenOrientation="nosensor" |
| 141 | android:theme="@style/FallbackHome"> |
| 142 | <intent-filter android:priority="-1000"> |
| 143 | <action android:name="android.intent.action.MAIN" /> |
| 144 | <category android:name="android.intent.category.HOME" /> |
| 145 | <category android:name="android.intent.category.DEFAULT" /> |
| 146 | </intent-filter> |
| 147 | </activity> |
| 148 | |
Lujiang Xue | 63d561d | 2017-10-27 13:36:00 -0700 | [diff] [blame] | 149 | <service android:name=".bluetooth.BluetoothPairingService" /> |
| 150 | |
| 151 | <receiver android:name=".bluetooth.BluetoothPairingRequest"> |
| 152 | <intent-filter> |
| 153 | <action android:name="android.bluetooth.device.action.PAIRING_REQUEST" /> |
| 154 | </intent-filter> |
| 155 | </receiver> |
| 156 | |
Jian Jin | a7f06f8 | 2018-08-06 16:34:03 -0700 | [diff] [blame] | 157 | <!-- FileProvider to share a generated license html file. |
| 158 | Note that "com.android.settings.files" is set here as its authorities because a Uri |
| 159 | permission grant should be allowed to share a file with an external browser but it is |
| 160 | allowed only for Settings' authorities in ActivityManagerService. --> |
| 161 | <provider android:name="androidx.core.content.FileProvider" |
| 162 | android:authorities="com.android.settings.files" |
| 163 | android:grantUriPermissions="true" |
| 164 | android:exported="false"> |
| 165 | <meta-data android:name="android.support.FILE_PROVIDER_PATHS" |
| 166 | android:resource="@xml/file_paths" /> |
| 167 | </provider> |
| 168 | |
roger xue | 843fbc4 | 2017-02-22 16:20:08 -0800 | [diff] [blame] | 169 | </application> |
| 170 | </manifest> |