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 | a12477f | 2018-04-10 08:20:29 -0700 | [diff] [blame] | 80 | <meta-data android:name="distractionOptimized" android:value="true"/> |
Lujiang Xue | 0daa919 | 2017-12-06 11:48:39 -0800 | [diff] [blame] | 81 | </activity> |
| 82 | |
Lujiang Xue | 63d561d | 2017-10-27 13:36:00 -0700 | [diff] [blame] | 83 | <activity android:name=".bluetooth.BluetoothPairingDialog" |
| 84 | android:excludeFromRecents="true" |
| 85 | android:windowSoftInputMode="stateVisible|adjustResize" |
| 86 | android:theme="@*android:style/Theme.DeviceDefault.Settings.Dialog.NoActionBar"> |
Lujiang Xue | 63d561d | 2017-10-27 13:36:00 -0700 | [diff] [blame] | 87 | </activity> |
| 88 | |
Ying | 710fced | 2017-11-13 13:00:51 -0800 | [diff] [blame] | 89 | <activity android:name=".accounts.AddAccountActivity" |
| 90 | android:theme="@android:style/Theme.Translucent.NoTitleBar" |
| 91 | android:configChanges="orientation|keyboardHidden|screenSize"> |
| 92 | <intent-filter> |
| 93 | <action android:name="android.car.settings.ADD_ACCOUNT_SETTINGS" /> |
| 94 | <category android:name="android.intent.category.DEFAULT" /> |
| 95 | </intent-filter> |
| 96 | </activity> |
| 97 | |
Jian Jin | 8ac4604 | 2018-04-26 17:27:47 -0700 | [diff] [blame] | 98 | <activity android:name=".security.SettingsScreenLockActivity" |
Jian Jin | ac9f996 | 2018-05-17 15:34:29 -0700 | [diff] [blame] | 99 | android:configChanges="orientation|keyboardHidden|screenSize" |
| 100 | android:windowSoftInputMode="adjustResize"> |
Jian Jin | 8ac4604 | 2018-04-26 17:27:47 -0700 | [diff] [blame] | 101 | </activity> |
| 102 | |
Jian Jin | 7ab6903 | 2018-04-16 11:21:16 -0700 | [diff] [blame] | 103 | <activity android:name=".security.SetupWizardScreenLockActivity" |
Jian Jin | 34447e0 | 2018-05-17 11:37:55 -0700 | [diff] [blame] | 104 | android:theme="@style/Theme.Car.Shared.SetupWizard.NoActionBar" |
Jian Jin | ac9f996 | 2018-05-17 15:34:29 -0700 | [diff] [blame] | 105 | android:configChanges="orientation|keyboardHidden|screenSize" |
| 106 | android:windowSoftInputMode="adjustResize"> |
Ying | 96da041 | 2018-02-07 12:09:10 -0800 | [diff] [blame] | 107 | <intent-filter> |
Jian Jin | 7ab6903 | 2018-04-16 11:21:16 -0700 | [diff] [blame] | 108 | <action android:name="android.car.settings.SETUP_WIZARD_SCREEN_LOCK_ACTIVITY" /> |
Jian Jin | 6212e0f | 2018-03-19 16:22:46 -0700 | [diff] [blame] | 109 | <category android:name="android.intent.category.DEFAULT" /> |
| 110 | </intent-filter> |
| 111 | </activity> |
| 112 | |
Lujiang Xue | 63d561d | 2017-10-27 13:36:00 -0700 | [diff] [blame] | 113 | <service android:name=".bluetooth.BluetoothPairingService" /> |
| 114 | |
| 115 | <receiver android:name=".bluetooth.BluetoothPairingRequest"> |
| 116 | <intent-filter> |
| 117 | <action android:name="android.bluetooth.device.action.PAIRING_REQUEST" /> |
| 118 | </intent-filter> |
| 119 | </receiver> |
| 120 | |
roger xue | 843fbc4 | 2017-02-22 16:20:08 -0800 | [diff] [blame] | 121 | </application> |
| 122 | </manifest> |