1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 Copyright 2018 The Android Open Source Project 4 5 Licensed under the Apache License, Version 2.0 (the "License"); 6 you may not use this file except in compliance with the License. 7 You may obtain a copy of the License at 8 9 http://www.apache.org/licenses/LICENSE-2.0 10 11 Unless required by applicable law or agreed to in writing, software 12 distributed under the License is distributed on an "AS IS" BASIS, 13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 See the License for the specific language governing permissions and 15 limitations under the License. 16--> 17 18<resources> 19 <!-- Whether all activities should be single pane views or not. --> 20 <bool name="config_global_force_single_pane">false</bool> 21 <!-- Class name for the dual pane homepage placeholder activity class. --> 22 <string name="config_homepage_placeholder_class" translatable="false"> 23 com.android.car.settings.common.CarSettingActivities$BluetoothSettingsActivity</string> 24 <!-- Top-level preference key for config_homepage_placeholder_class --> 25 <string name="config_homepage_placeholder_preference_key" translatable="false"> 26 @string/pk_bluetooth_settings_entry</string> 27 <!-- Whether to show the launcher icon for settings home or not. --> 28 <bool name="config_enable_home_settings_icon">true</bool> 29 <!-- Whether system_update_settings should be shown or not. --> 30 <bool name="config_show_system_update_settings">true</bool> 31 <!-- Whether Wi-Fi Mac address should be shown or not. --> 32 <bool name="config_show_wifi_mac_address">true</bool> 33 <!-- Whether to show regulatory info or not. --> 34 <bool name="config_show_regulatory_info">false</bool> 35 <!-- Whether premium SMS should be shown or not. --> 36 <bool name="config_show_premium_sms">true</bool> 37 <!-- Whether exit button in settings' root action bar should be shown or not --> 38 <bool name="config_show_settings_root_exit_icon">true</bool> 39 <!-- Class name for the homepage activity alias used in AndroidManifest. --> 40 <string name="config_homepage_activity_alias_name" translatable="false"> 41 com.android.car.settings.Settings_Launcher_Homepage</string> 42 <!-- 43 Array of bluetooth device major classes that should be used for unbonded 44 device filter. 45 46 The values of the device major classes can be found in 47 android.bluetooth.BluetoothClass. If the array is empty, the device 48 filter will return all unbonded devices. 49 50 Example usage: 51 <integer-array name="config_unbonded_device_filter_allowlist"> 52 <item>0x0200</item> 53 </integer-array> 54 55 This filter would only return unbonded devices which correspond to the 56 major class for PHONE. 57 --> 58 <integer-array name="config_unbonded_device_filter_allowlist"/> 59 <!-- 60 Array of keys that should be used for determining how audio attribute 61 usage should be mapped to ringtone uris. 62 63 The values of the keys can be found in android.media.AudioAttributes. 64 The number of items in this array must equal the number of items in 65 config_ringtone_uri_map_value, and the usages are mapped to the ringtone 66 uri based on positions in the array. The lowest rank usage (based on the 67 order in car_volume_items.xml) in each audio group (in Car service's 68 car_volume_groups.xml) will be used to sound for a given volume group's 69 slider. 70 71 If empty, all ringtones will default to the default ringtone uri. 72 73 TODO(b/144382611): Instead of mapping by usage, we should map by audio 74 group so as to make it clearer to define the sound to be played with a 75 given slider. 76 --> 77 <integer-array name="config_ringtone_audio_attribute_usages_map_key"> 78 <item>5</item> 79 <item>4</item> 80 </integer-array> 81 <!-- 82 Array of values that should be used to determine how audio attribute 83 usage should be mapped to ringtone uris. 84 85 The values should be uri strings that can be parsed into Uri. The number 86 of items in this array must equal the number of items in 87 config_ringtone_audio_attributes_map_key, and the ringtone uris are 88 mapped to the audio attributes based on positions in the array. 89 90 If empty, all ringtones will default to the default ringtone uri. 91 --> 92 <bool name="config_allow_audio_destination_selection">true</bool> 93 <string-array name="config_ringtone_uri_map_value" translatable="false"> 94 <item>content://settings/system/notification_sound</item> 95 <item>content://settings/system/alarm_alert</item> 96 </string-array> 97 <!-- Whether all preferences should always ignore UX Restrictions --> 98 <bool name="config_always_ignore_ux_restrictions">false</bool> 99 <!-- Array of Preference Keys that ignore UX Restrictions --> 100 <string-array name="config_ignore_ux_restrictions" translatable="false"> 101 <item>@string/pk_display_settings_entry</item> 102 <item>@string/pk_brightness_level</item> 103 <item>@string/pk_adaptive_brightness_switch</item> 104 <item>@string/pk_sound_settings_entry</item> 105 <item>@string/pk_volume_settings</item> 106 <item>@string/pk_network_and_internet_entry</item> 107 <item>@string/pk_wifi_tether_settings_entry</item> 108 <item>@string/pk_wifi_tether_state_switch</item> 109 <item>@string/pk_mobile_network_settings_entry</item> 110 <item>@string/pk_mobile_data_toggle</item> 111 <item>@string/pk_wifi_entry_group</item> 112 <item>@string/pk_wifi_entry_state_switch</item> 113 <item>@string/pk_wifi_settings_entry</item> 114 <item>@string/pk_wifi_state_switch</item> 115 <item>@string/pk_bluetooth_settings_entry</item> 116 <item>@string/pk_bluetooth_state_switch</item> 117 <item>@string/pk_bluetooth_paired_devices</item> 118 </string-array> 119 <!-- 120 Whether to allow chevrons on top-level preferences when enabled for 121 car-ui-lib preferences. 122 --> 123 <bool name="config_top_level_enable_chevrons">false</bool> 124 <!-- Whether to show top level icon background. When this is set to be true, adjust the value 125 for top_level_foreground_icon_inset accordingly. --> 126 <bool name="config_show_top_level_icon_background">false</bool> 127 <!-- The shape for top-level icons: 0=RECTANGLE, 1=OVAL --> 128 <integer name="config_top_level_icon_shape" translatable="false">1</integer> 129 <!-- 130 Whether to always override the background color of the injecting application in favor of 131 the default color. 132 --> 133 <bool name="config_top_level_injection_background_always_use_default">false</bool> 134 <!-- Whether to include the preference summaries of injected top-level preferences. --> 135 <bool name="config_top_level_injection_enable_summaries">true</bool> 136 <!-- Array of injected setting categories that appear in the top-level menu. --> 137 <string-array name="config_top_level_injection_categories"> 138 <item>com.android.settings.category.wireless</item> 139 <item>com.android.settings.category.ia.device</item> 140 <item>com.android.settings.category.personal</item> 141 </string-array> 142 143 <!-- The component which listens for the enabling of developer options. --> 144 <string name="config_dev_options_module" translatable="false"> 145 com.android.car.developeroptions/.CarDevelopmentSettingsDashboardActivity 146 </string> 147 148 <!-- Settings intelligence package name --> 149 <string name="config_settingsintelligence_package_name" translatable="false"> 150 com.android.settings.intelligence 151 </string> 152 153 <!-- Package Installer package name --> 154 <string name="config_package_installer_package_name" translatable="false"> 155 com.android.packageinstaller 156 </string> 157 158 <!-- 159 Maximum number of devices to show for paired bluetooth device quick control. 160 Set to -1 for unlimited. 161 --> 162 <integer name="config_qc_bluetooth_device_limit">3</integer> 163 164 <!-- 165 The value here should be the component name of the system default screen reader if one 166 exists. If it is left blank then no screen reader will show up in settings. 167 --> 168 <string name="config_default_screen_reader" translatable="false"></string> 169 170 <!-- 171 Delay in milliseconds between preference onclick calls 172 --> 173 <integer name="config_preference_onclick_debounce_ms">200</integer> 174 175 <!-- Whether to scan and start a custom pair device flow. --> 176 <bool name="config_use_custom_pair_device_flow">true</bool> 177 178 <!-- Whether to allow the ADAS Location Switch to be clickable. --> 179 <bool name="config_allow_adas_location_switch_clickable">true</bool> 180 181 <!-- 182 Whether to show the automotive location bypass toggle for required apps. 183 If by default automotive location bypass is off, then the toggle will always 184 be shown. 185 --> 186 <bool name="config_show_location_required_apps_toggle">false</bool> 187 188 <!-- Packages (other than settings and systemui) allowed to enable bluetooth scanning. --> 189 <string-array name="config_allowed_bluetooth_scanning_packages"> 190 <item>com.android.car.carlauncher</item> 191 </string-array> 192 193 <!-- 194 List of packages whose android.permission.BIND_NOTIFICATION_LISTENER_SERVICE permission 195 shouldn't be changed. 196 --> 197 <string-array name="config_fixed_notification_access_packages"> 198 <item>com.android.car.notification</item> 199 </string-array> 200 201 <!-- Whether to show the toggle to turn on the sensor privacy for required apps --> 202 <bool name="config_show_camera_required_apps_toggle">false</bool> 203 204 <!-- 205 The devices that certain debug features should be shown on. 206 Emulators are included by default. 207 --> 208 <string-array name="config_debug_support_devices"> 209 </string-array> 210 <!-- 211 The devices that certain debug features should be shown on, but the builds on real vehicles 212 should be excluded. 213 --> 214 <string-array name="config_debug_support_devices_exclude_car"> 215 </string-array> 216 217 <!-- Smallest pixel value of WIDTH of the window when dual pane should be used --> 218 <integer name="config_activity_embed_split_min_cur_dp">1400</integer> 219</resources> 220