exynos9610: Fix audio through Bluetooth during calls
[GitHub/LineageOS/android_device_motorola_exynos9610-common.git] / overlay / frameworks / base / core / res / res / values / config.xml
CommitLineData
4f2669b0
JA
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2009 The Android Open Source Project
3 Licensed under the Apache License, Version 2.0 (the "License");
4 you may not use this file except in compliance with the License.
5 You may obtain a copy of the License at
6 http://www.apache.org/licenses/LICENSE-2.0
7 Unless required by applicable law or agreed to in writing, software
8 distributed under the License is distributed on an "AS IS" BASIS,
9 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 See the License for the specific language governing permissions and
11 limitations under the License.
12-->
13
14<!-- These resources are around just to allow their values to be customized
15 for different hardware and product builds. Do not translate. -->
16<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
4bdef6d7
JA
17 <!-- The bounding path of the cutout region of the main built-in display.
18 Must either be empty if there is no cutout region, or a string that is parsable by
19 {@link android.util.PathParser}.
20 The path is assumed to be specified in display coordinates with pixel units and in
21 the display's native orientation, with the origin of the coordinate system at the
22 center top of the display.
23 To facilitate writing device-independent emulation overlays, the marker `@dp` can be
24 appended after the path string to interpret coordinates in dp instead of px units.
25 Note that a physical cutout should be configured in pixels for the best results.
26 -->
c19d9be7 27 <string translatable="false" name="config_mainBuiltInDisplayCutout">M 0,0 H 57.58 V 55.0 H 0 V 0 Z @dp @left</string>
4bdef6d7 28
0eac86f8
JA
29 <dimen name="quick_qs_offset_height">165px</dimen>
30 <dimen name="status_bar_height">165px</dimen>
31 <dimen name="status_bar_height_landscape">24dp</dimen>
32 <dimen name="status_bar_height_portrait">165px</dimen>
33 <dimen name="status_bar_icon_size">24dp</dimen>
c19d9be7 34 <dimen name="rounded_corner_radius_bottom">36dp</dimen>
4bdef6d7 35
4f2669b0
JA
36 <!-- ComponentName of a dream to show whenever the system would otherwise have
37 gone to sleep. When the PowerManager is asked to go to sleep, it will instead
38 try to start this dream if possible. The dream should typically call startDozing()
39 to put the display into a low power state and allow the application processor
40 to be suspended. When the dream ends, the system will go to sleep as usual.
41 Specify the component name or an empty string if none.
42 Note that doze dreams are not subject to the same start conditions as ordinary dreams.
43 Doze dreams will run whenever the power manager is in a dozing state. -->
44 <string name="config_dozeComponent">com.android.systemui/com.android.systemui.doze.DozeService</string>
45
46 <!-- If true, the doze component is not started until after the screen has been
47 turned off and the screen off animation has been performed. -->
48 <bool name="config_dozeAfterScreenOffByDefault">true</bool>
49
50 <!-- Whether the always on display mode is available. -->
51 <bool name="config_dozeAlwaysOnDisplayAvailable">true</bool>
52
53 <!-- Control whether the always on display mode is enabled by default. This value will be used
54 during initialization when the setting is still null. -->
55 <bool name="config_dozeAlwaysOnEnabled">false</bool>
56
57 <!-- Power Management: Specifies whether to decouple the auto-suspend state of the
58 device from the display on/off state.
59 When false, autosuspend_disable() will be called before the display is turned on
60 and autosuspend_enable() will be called after the display is turned off.
61 This mode provides best compatibility for devices using legacy power management
62 features such as early suspend / late resume.
63 When true, autosuspend_display() and autosuspend_enable() will be called
64 independently of whether the display is being turned on or off. This mode
65 enables the power manager to suspend the application processor while the
66 display is on.
67 This resource should be set to "true" when a doze component has been specified
68 to maximize power savings but not all devices support it.
69 Refer to autosuspend.h for details.
70 -->
71 <bool name="config_powerDecoupleAutoSuspendModeFromDisplay">true</bool>
72
73 <!-- Screen brightness used to dim the screen while dozing in a very low power state.
74 May be less than the minimum allowed brightness setting
75 that can be set by the user. -->
76 <integer name="config_screenBrightnessDoze">17</integer>
0eac86f8
JA
77
78 <!-- Flag indicating whether we should enable the automatic brightness in Settings.
79 Software implementation will be used if config_hardware_auto_brightness_available is not set -->
80 <bool name="config_automatic_brightness_available">true</bool>
81
770a45e9
KC
82 <!-- List of biometric sensors on the device, in decreasing strength. Consumed by AuthService
83 when registering authenticators with BiometricService. Format must be ID:Modality:Strength,
84 where: IDs are unique per device, Modality as defined in BiometricAuthenticator.java,
85 and Strength as defined in Authenticators.java -->
86 <string-array name="config_biometric_sensors" translatable="false" >
87 <item>0:2:15</item> <!-- ID0:Fingerprint:Strong -->
88 </string-array>
89
1e3994bf 90 <!-- Specify if the fingerprint hardware support gestures-->
91 <bool name="config_fingerprintSupportsGestures">true</bool>
92
c19d9be7 93 <integer-array name="config_autoBrightnessDisplayValuesNits">
0eac86f8
JA
94 <item>3</item>
95 <item>32</item>
96 <item>64</item>
97 <item>100</item>
98 <item>118</item>
99 <item>136</item>
100 <item>162</item>
101 <item>162</item>
102 <item>162</item>
103 <item>162</item>
104 <item>206</item>
105 <item>246</item>
106 <item>270</item>
107 <item>284</item>
108 <item>312</item>
109 <item>324</item>
110 <item>360</item>
111 <item>400</item>
112 <item>450</item>
113 <item>450</item>
114 <item>450</item>
115 <item>562</item>
c19d9be7 116 </integer-array>
475163e7 117 <integer-array name="config_autoBrightnessLevels">
0eac86f8
JA
118 <item>5</item>
119 <item>10</item>
120 <item>50</item>
121 <item>90</item>
122 <item>100</item>
123 <item>150</item>
124 <item>200</item>
125 <item>300</item>
126 <item>400</item>
127 <item>500</item>
128 <item>800</item>
129 <item>1000</item>
130 <item>1300</item>
131 <item>1500</item>
132 <item>1600</item>
133 <item>1800</item>
134 <item>2000</item>
135 <item>3000</item>
136 <item>4000</item>
137 <item>8000</item>
138 <item>10000</item>
475163e7 139 </integer-array>
475163e7 140 <string-array name="config_defaultPinnerServiceFiles">
0eac86f8
JA
141 <item>/system/framework/arm64/boot-framework.art</item>
142 <item>/system/framework/oat/arm64/services.odex</item>
143 <item>/vendor/lib64/egl/libGLES_mali.so</item>
475163e7
JA
144 </string-array>
145 <string-array name="config_mobile_tcp_buffers">
0eac86f8
JA
146 <item>1xrtt:16384,32768,32768,4096,8096,65536</item>
147 <item>lte:2097152,4194304,8388608,262144,524288,1048576</item>
475163e7
JA
148 </string-array>
149 <string-array name="config_oemUsbModeOverride">
0eac86f8
JA
150 <item>bp-tools:adb:rndis,acm,dm,adb:adb</item>
151 <item>bp-tools:mtp:rndis,acm,dm:mtp</item>
152 <item>bp-tools:mtp,adb:rndis,acm,dm,adb:mtp,adb</item>
153 <item>bp-tools:ptp:rndis,acm,dm:ptp</item>
154 <item>bp-tools:ptp,adb:rndis,acm,dm,adb:ptp,adb</item>
155 <item>bp-tools:rndis:rndis,acm,dm:mtp</item>
156 <item>bp-tools:rndis,adb:rndis,acm,dm,adb:mtp,adb</item>
157 <item>normal:mtp:mtp:mtp</item>
158 <item>normal:mtp,adb:mtp,adb:mtp,adb</item>
159 <item>mot-factory:mtp:usbnet:mtp</item>
160 <item>mot-factory:mtp,adb:usbnet,adb:mtp,adb</item>
161 <item>mot-factory:adb:usbnet,adb:adb</item>
475163e7
JA
162 </string-array>
163 <integer-array name="config_screenBrightnessBacklight">
164 <item>0</item>
0eac86f8
JA
165 <item>2</item>
166 <item>18</item>
167 <item>36</item>
168 <item>57</item>
169 <item>67</item>
170 <item>77</item>
171 <item>92</item>
172 <item>117</item>
173 <item>139</item>
174 <item>153</item>
175 <item>161</item>
176 <item>177</item>
177 <item>184</item>
178 <item>204</item>
179 <item>227</item>
180 <item>255</item>
475163e7
JA
181 </integer-array>
182 <integer-array name="config_screenBrightnessNits">
183 <item>0</item>
0eac86f8
JA
184 <item>3</item>
185 <item>32</item>
186 <item>64</item>
187 <item>100</item>
188 <item>118</item>
189 <item>136</item>
190 <item>162</item>
191 <item>206</item>
192 <item>246</item>
193 <item>270</item>
194 <item>284</item>
195 <item>312</item>
196 <item>324</item>
197 <item>360</item>
198 <item>400</item>
199 <item>450</item>
475163e7
JA
200 </integer-array>
201 <string-array name="config_tether_bluetooth_regexs">
0eac86f8 202 <item>bt-pan</item>
475163e7
JA
203 </string-array>
204 <string-array name="config_tether_usb_regexs">
c6d13f06
JA
205 <item>"usb\\d"</item>
206 <item>"rndis\\d"</item>
475163e7 207 </string-array>
c6d13f06
JA
208 <string-array translatable="false" name="config_tether_wifi_regexs">
209 <item>"wlan0"</item>
210 <item>"softap.*"</item>
211 </string-array>
475163e7
JA
212 <integer-array name="config_virtualKeyVibePattern">
213 <item>0</item>
0eac86f8 214 <item>26</item>
475163e7 215 </integer-array>
0eac86f8
JA
216
217 <bool name="config_bluetooth_hfp_inband_ringing_support">true</bool>
0eac86f8 218 <bool name="config_hotswapCapable">true</bool>
104e2518 219 <bool name="config_nightDisplayAvailable">true</bool>
0eac86f8
JA
220 <bool name="config_showNavigationBar">true</bool>
221 <bool name="config_supportSystemNavigationKeys">true</bool>
222 <bool name="config_unplugTurnsOnScreen">true</bool>
223 <bool name="config_useDevInputEventForAudioJack">true</bool>
224 <bool name="config_wifi_background_scan_support">true</bool>
225 <bool name="config_wifi_connected_mac_randomization_supported">true</bool>
226 <bool name="config_wifi_dual_band_support">true</bool>
227 <bool name="config_wifi_fast_bss_transition_enabled">true</bool>
228 <bool name="config_wifi_p2p_mac_randomization_supported">true</bool>
c6d13f06 229 <bool name="config_wifi_softap_acs_supported">false</bool>
0eac86f8
JA
230 <bool name="skip_restoring_network_selection">true</bool>
231
232 <integer name="config_cameraLaunchGestureSensorType">65540</integer>
233 <integer name="config_multiuserMaximumUsers">4</integer>
234 <integer name="config_safe_media_volume_index">9</integer>
235 <integer name="config_screenBrightnessDark">2</integer>
236 <integer name="config_screenBrightnessDim">2</integer>
237 <integer name="config_screenBrightnessSettingMinimum">2</integer>
238
239 <string name="config_cameraLaunchGestureSensorStringType">com.motorola.sensor.camera_activate</string>
0eac86f8
JA
240 <string name="config_radio_access_family">GSM|CDMA|EVDO|WCDMA|LTE</string>
241 <string name="config_wifi_tcp_buffers">2097152,4194304,8388608,2097152,4194304,8388608</string>
c6d13f06
JA
242
243 <bool translatable="false" name="config_wifi_softap_ieee80211ac_supported">true</bool>
244 <bool name="config_enableWifiDisplay">true</bool>
173692b1 245
246 <!-- Boolean indicating if current platform supports BLE peripheral mode -->
247 <bool name="config_bluetooth_le_peripheral_mode_supported">true</bool>
4f2669b0 248</resources>