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"/> |
| 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" |
roger xue | 24b5080 | 2017-04-04 11:59:04 -0700 | [diff] [blame] | 59 | android:theme="@style/CarSettingTheme" |
roger xue | 843fbc4 | 2017-02-22 16:20:08 -0800 | [diff] [blame] | 60 | android:label="@string/settings_label"> |
| 61 | |
| 62 | <activity |
roger xue | 24b5080 | 2017-04-04 11:59:04 -0700 | [diff] [blame] | 63 | android:name=".common.CarSettingActivity" |
roger xue | 843fbc4 | 2017-02-22 16:20:08 -0800 | [diff] [blame] | 64 | android:label="@string/settings_label" |
roger xue | 664ed2d | 2017-05-02 09:29:06 -0700 | [diff] [blame] | 65 | android:windowSoftInputMode="adjustPan" |
roger xue | 843fbc4 | 2017-02-22 16:20:08 -0800 | [diff] [blame] | 66 | android:launchMode="singleTask" |
| 67 | android:exported="true"> |
Lujiang Xue | 9961709 | 2017-07-25 10:24:29 -0700 | [diff] [blame] | 68 | <!-- Set priority high enough to trump the phone setting app --> |
| 69 | <!-- TODO: once phone setting is removed from car system image, set priority to 1 --> |
| 70 | <intent-filter android:priority="10"> |
| 71 | <action android:name="android.intent.action.MAIN" /> |
| 72 | <action android:name="android.settings.SETTINGS" /> |
| 73 | <category android:name="android.intent.category.DEFAULT"/> |
Lujiang Xue | 97336f7 | 2017-07-27 15:44:01 -0700 | [diff] [blame] | 74 | <category android:name="android.intent.category.LAUNCHER" /> |
roger xue | 843fbc4 | 2017-02-22 16:20:08 -0800 | [diff] [blame] | 75 | </intent-filter> |
| 76 | </activity> |
| 77 | |
Lujiang Xue | 63d561d | 2017-10-27 13:36:00 -0700 | [diff] [blame^] | 78 | <activity android:name=".bluetooth.BluetoothPairingDialog" |
| 79 | android:excludeFromRecents="true" |
| 80 | android:windowSoftInputMode="stateVisible|adjustResize" |
| 81 | android:theme="@*android:style/Theme.DeviceDefault.Settings.Dialog.NoActionBar"> |
| 82 | <intent-filter> |
| 83 | <action android:name="android.bluetooth.device.action.PAIRING_REQUEST" /> |
| 84 | <category android:name="android.intent.category.DEFAULT" /> |
| 85 | </intent-filter> |
| 86 | </activity> |
| 87 | |
| 88 | <service android:name=".bluetooth.BluetoothPairingService" /> |
| 89 | |
| 90 | <receiver android:name=".bluetooth.BluetoothPairingRequest"> |
| 91 | <intent-filter> |
| 92 | <action android:name="android.bluetooth.device.action.PAIRING_REQUEST" /> |
| 93 | </intent-filter> |
| 94 | </receiver> |
| 95 | |
roger xue | 843fbc4 | 2017-02-22 16:20:08 -0800 | [diff] [blame] | 96 | </application> |
| 97 | </manifest> |