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">true</bool> 21 <!-- Fully qualified class name for the homepage fragment. --> 22 <string name="config_homepage_fragment_class" translatable="false">com.android.car.settings.home.HomepageFragment</string> 23 <!-- Whether to show the launcher icon for settings home or not. --> 24 <bool name="config_enable_home_settings_icon">true</bool> 25 <!-- Whether system_update_settings should be shown or not. --> 26 <bool name="config_show_system_update_settings">true</bool> 27 <!-- Whether Wi-Fi Mac address should be shown or not. --> 28 <bool name="config_show_wifi_mac_address">true</bool> 29 <!-- Whether to show regulatory info or not. --> 30 <bool name="config_show_regulatory_info">false</bool> 31 <!-- Whether premium SMS should be shown or not. --> 32 <bool name="config_show_premium_sms">true</bool> 33 <!-- Whether exit button in settings' root action bar should be shown or not --> 34 <bool name="config_show_settings_root_exit_icon">true</bool> 35 <!-- 36 Array of bluetooth device major classes that should be used for unbonded 37 device filter. 38 39 The values of the device major classes can be found in 40 android.bluetooth.BluetoothClass. If the array is empty, the device 41 filter will return all unbonded devices. 42 43 Example usage: 44 <integer-array name="config_unbonded_device_filter_allowlist"> 45 <item>0x0200</item> 46 </integer-array> 47 48 This filter would only return unbonded devices which correspond to the 49 major class for PHONE. 50 --> 51 <integer-array name="config_unbonded_device_filter_allowlist"/> 52 <!-- 53 Array of keys that should be used for determining how audio attribute 54 usage should be mapped to ringtone uris. 55 56 The values of the keys can be found in android.media.AudioAttributes. 57 The number of items in this array must equal the number of items in 58 config_ringtone_uri_map_value, and the usages are mapped to the ringtone 59 uri based on positions in the array. The lowest rank usage (based on the 60 order in car_volume_items.xml) in each audio group (in Car service's 61 car_volume_groups.xml) will be used to sound for a given volume group's 62 slider. 63 64 If empty, all ringtones will default to the default ringtone uri. 65 66 TODO(b/144382611): Instead of mapping by usage, we should map by audio 67 group so as to make it clearer to define the sound to be played with a 68 given slider. 69 --> 70 <integer-array name="config_ringtone_audio_attribute_usages_map_key"> 71 <item>5</item> 72 <item>4</item> 73 </integer-array> 74 <!-- 75 Array of values that should be used to determine how audio attribute 76 usage should be mapped to ringtone uris. 77 78 The values should be uri strings that can be parsed into Uri. The number 79 of items in this array must equal the number of items in 80 config_ringtone_audio_attributes_map_key, and the ringtone uris are 81 mapped to the audio attributes based on positions in the array. 82 83 If empty, all ringtones will default to the default ringtone uri. 84 --> 85 <bool name="config_allow_audio_destination_selection">true</bool> 86 <string-array name="config_ringtone_uri_map_value" translatable="false"> 87 <item>content://settings/system/notification_sound</item> 88 <item>content://settings/system/alarm_alert</item> 89 </string-array> 90 <!-- Whether all preferences should always ignore UX Restrictions --> 91 <bool name="config_always_ignore_ux_restrictions">false</bool> 92 <!-- Array of Preference Keys that ignore UX Restrictions --> 93 <string-array name="config_ignore_ux_restrictions" translatable="false"> 94 <item>@string/pk_display_settings_entry</item> 95 <item>@string/pk_brightness_level</item> 96 <item>@string/pk_adaptive_brightness_switch</item> 97 <item>@string/pk_sound_settings_entry</item> 98 <item>@string/pk_volume_settings</item> 99 <item>@string/pk_network_and_internet_entry</item> 100 <item>@string/pk_wifi_tether_settings_entry</item> 101 <item>@string/pk_wifi_tether_state_switch</item> 102 <item>@string/pk_mobile_network_settings_entry</item> 103 <item>@string/pk_mobile_data_toggle</item> 104 <item>@string/pk_wifi_entry_group</item> 105 <item>@string/pk_wifi_entry_state_switch</item> 106 <item>@string/pk_wifi_settings_entry</item> 107 <item>@string/pk_wifi_state_switch</item> 108 <item>@string/pk_bluetooth_settings_entry</item> 109 <item>@string/pk_bluetooth_state_switch</item> 110 <item>@string/pk_bluetooth_paired_devices</item> 111 </string-array> 112 <!-- 113 Whether to allow chevrons on top-level preferences when enabled for 114 car-ui-lib preferences. 115 --> 116 <bool name="config_top_level_enable_chevrons">true</bool> 117 <!-- Whether to show top level icon background. When this is set to be true, adjust the value 118 for top_level_foreground_icon_inset accordingly. --> 119 <bool name="config_show_top_level_icon_background">false</bool> 120 <!-- The shape for top-level icons: 0=RECTANGLE, 1=OVAL --> 121 <integer name="config_top_level_icon_shape" translatable="false">1</integer> 122 <!-- 123 Whether to always override the background color of the injecting application in favor of 124 the default color. 125 --> 126 <bool name="config_top_level_injection_background_always_use_default">false</bool> 127 <!-- Whether to include the preference summaries of injected top-level preferences. --> 128 <bool name="config_top_level_injection_enable_summaries">true</bool> 129 <!-- Array of injected setting categories that appear in the top-level menu. --> 130 <string-array name="config_top_level_injection_categories"> 131 <item>com.android.settings.category.wireless</item> 132 <item>com.android.settings.category.ia.device</item> 133 <item>com.android.settings.category.personal</item> 134 </string-array> 135 136 <!-- The component which listens for the enabling of developer options. --> 137 <string name="config_dev_options_module" translatable="false"> 138 com.android.car.developeroptions/.CarDevelopmentSettingsDashboardActivity 139 </string> 140 141 <!-- Settings intelligence package name --> 142 <string name="config_settingsintelligence_package_name" translatable="false"> 143 com.android.settings.intelligence 144 </string> 145 146 <!-- Package Installer package name --> 147 <string name="config_package_installer_package_name" translatable="false"> 148 com.android.packageinstaller 149 </string> 150 151 <!-- 152 Maximum number of devices to show for paired bluetooth device quick control. 153 Set to -1 for unlimited. 154 --> 155 <integer name="config_qc_bluetooth_device_limit">3</integer> 156 157 <!-- 158 The value here should be the component name of the system default screen reader if one 159 exists. If it is left blank then no screen reader will show up in settings. 160 --> 161 <string name="config_default_screen_reader" translatable="false"></string> 162 163 <!-- 164 Delay in milliseconds between preference onclick calls 165 --> 166 <integer name="config_preference_onclick_debounce_ms">200</integer> 167 168 <!-- Whether to scan and start a custom pair device flow. --> 169 <bool name="config_use_custom_pair_device_flow">true</bool> 170 171 <!-- Whether to allow the ADAS Location Switch to be clickable. --> 172 <bool name="config_allow_adas_location_switch_clickable">true</bool> 173 174 <!-- 175 Whether to show the automotive location bypass toggle for required apps. 176 If by default automotive location bypass is off, then the toggle will always 177 be shown. 178 --> 179 <bool name="config_show_location_required_apps_toggle">false</bool> 180 181 <!-- Packages (other than settings and systemui) allowed to enable bluetooth scanning. --> 182 <string-array name="config_allowed_bluetooth_scanning_packages"> 183 <item>com.android.car.carlauncher</item> 184 </string-array> 185 186 <!-- 187 List of packages whose android.permission.BIND_NOTIFICATION_LISTENER_SERVICE permission 188 shouldn't be changed. 189 --> 190 <string-array name="config_fixed_notification_access_packages"> 191 <item>com.android.car.notification</item> 192 </string-array> 193 194 <!-- Whether to show the toggle to turn on the sensor privacy for required apps --> 195 <bool name="config_show_camera_required_apps_toggle">false</bool> 196</resources> 197