• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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    <string-array name="config_ringtone_uri_map_value" translatable="false">
86        <item>content://settings/system/notification_sound</item>
87        <item>content://settings/system/alarm_alert</item>
88    </string-array>
89    <!-- Whether all preferences should always ignore UX Restrictions -->
90    <bool name="config_always_ignore_ux_restrictions">false</bool>
91    <!-- Array of Preference Keys that ignore UX Restrictions -->
92    <string-array name="config_ignore_ux_restrictions" translatable="false">
93        <item>@string/pk_display_settings_entry</item>
94        <item>@string/pk_brightness_level</item>
95        <item>@string/pk_adaptive_brightness_switch</item>
96        <item>@string/pk_sound_settings_entry</item>
97        <item>@string/pk_volume_settings</item>
98        <item>@string/pk_network_and_internet_entry</item>
99        <item>@string/pk_wifi_tether_settings_entry</item>
100        <item>@string/pk_wifi_tether_state_switch</item>
101        <item>@string/pk_mobile_network_settings_entry</item>
102        <item>@string/pk_mobile_data_toggle</item>
103        <item>@string/pk_wifi_entry_group</item>
104        <item>@string/pk_wifi_entry_state_switch</item>
105        <item>@string/pk_wifi_settings_entry</item>
106        <item>@string/pk_wifi_state_switch</item>
107        <item>@string/pk_bluetooth_settings_entry</item>
108        <item>@string/pk_bluetooth_state_switch</item>
109        <item>@string/pk_bluetooth_paired_devices</item>
110    </string-array>
111
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    <!-- The shape for top-level icons: 0=RECTANGLE, 1=OVAL -->
118    <integer name="config_top_level_icon_shape" translatable="false">1</integer>
119    <!--
120        Whether to always override the background color of the injecting application in favor of
121        the default color.
122    -->
123    <bool name="config_top_level_injection_background_always_use_default">false</bool>
124    <!-- Whether to include the preference summaries of injected top-level preferences. -->
125    <bool name="config_top_level_injection_enable_summaries">true</bool>
126    <!-- Array of injected setting categories that appear in the top-level menu. -->
127    <string-array name="config_top_level_injection_categories">
128        <item>com.android.settings.category.wireless</item>
129        <item>com.android.settings.category.ia.device</item>
130        <item>com.android.settings.category.personal</item>
131    </string-array>
132
133    <!-- The component which listens for the enabling of developer options. -->
134    <string name="config_dev_options_module" translatable="false">
135        com.android.car.developeroptions/.CarDevelopmentSettingsDashboardActivity
136    </string>
137
138    <!-- Settings intelligence package name -->
139    <string name="config_settingsintelligence_package_name" translatable="false">
140        com.android.settings.intelligence
141    </string>
142
143    <!-- Package Installer package name -->
144    <string name="config_package_installer_package_name" translatable="false">
145        com.android.packageinstaller
146    </string>
147
148    <!--
149        Maximum number of devices to show for paired bluetooth device quick control.
150        Set to -1 for unlimited.
151     -->
152    <integer name="config_qc_bluetooth_device_limit">3</integer>
153
154    <!--
155         The value here should be the component name of the system default screen reader if one
156         exists. If it is left blank then no screen reader will show up in settings.
157    -->
158    <string name="config_default_screen_reader" translatable="false"></string>
159
160    <!--
161        Delay in milliseconds between preference onclick calls
162    -->
163    <integer name="config_preference_onclick_debounce_ms">200</integer>
164
165    <!-- Whether to scan and start a custom pair device flow. -->
166    <bool name="config_use_custom_pair_device_flow">true</bool>
167
168    <!-- Whether to allow the ADAS Location Switch to be clickable. -->
169    <bool name="config_allow_adas_location_switch_clickable">true</bool>
170</resources>
171