config.xml revision cf03b60ce20bef77865181a0a359b089a87c722b
1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3/* 4** Copyright 2009, 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 20<!-- These resources are around just to allow their values to be customized 21 for different hardware and product builds. Do not translate. --> 22<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> 23 <!-- Do not translate. Defines the slots for the right-hand side icons. That is to say, the 24 icons in the status bar that are not notifications. --> 25 <string-array name="config_statusBarIcons"> 26 <item><xliff:g id="id">ime</xliff:g></item> 27 <item><xliff:g id="id">sync_failing</xliff:g></item> 28 <item><xliff:g id="id">sync_active</xliff:g></item> 29 <item><xliff:g id="id">cast</xliff:g></item> 30 <item><xliff:g id="id">location</xliff:g></item> 31 <item><xliff:g id="id">bluetooth</xliff:g></item> 32 <item><xliff:g id="id">nfc</xliff:g></item> 33 <item><xliff:g id="id">tty</xliff:g></item> 34 <item><xliff:g id="id">speakerphone</xliff:g></item> 35 <item><xliff:g id="id">zen</xliff:g></item> 36 <item><xliff:g id="id">mute</xliff:g></item> 37 <item><xliff:g id="id">volume</xliff:g></item> 38 <item><xliff:g id="id">wifi</xliff:g></item> 39 <item><xliff:g id="id">cdma_eri</xliff:g></item> 40 <item><xliff:g id="id">data_connection</xliff:g></item> 41 <item><xliff:g id="id">phone_evdo_signal</xliff:g></item> 42 <item><xliff:g id="id">phone_signal</xliff:g></item> 43 <item><xliff:g id="id">battery</xliff:g></item> 44 <item><xliff:g id="id">alarm_clock</xliff:g></item> 45 <item><xliff:g id="id">secure</xliff:g></item> 46 <item><xliff:g id="id">clock</xliff:g></item> 47 </string-array> 48 49 <!-- Flag indicating whether the surface flinger has limited 50 alpha compositing functionality in hardware. If set, the window 51 manager will disable alpha trasformation in animations where not 52 strictly needed. --> 53 <bool name="config_sf_limitedAlpha">false</bool> 54 55 <!-- Default value used to block data calls if ims is not 56 connected. If you use the ims apn DCT will block 57 any other apn from connecting until ims apn is connected--> 58 <bool name="ImsConnectedDefaultValue">false</bool> 59 60 <!-- Flag indicating whether the surface flinger is inefficient 61 at performing a blur. Used by parts of the UI to turn off 62 the blur effect where it isn't worth the performance hit. 63 As of Honeycomb, blurring is not supported anymore. --> 64 <bool name="config_sf_slowBlur">true</bool> 65 66 <!-- Flag indicating that the media framework should allow changing 67 master volume stream and nothing else . --> 68 <bool name="config_useMasterVolume">false</bool> 69 70 <!-- Flag indicating that the media framework should support playing of sounds on volume 71 key usage. This adds noticeable additional overhead to volume key processing, so 72 is disableable for products for which it is irrelevant. --> 73 <bool name="config_useVolumeKeySounds">true</bool> 74 75 <!-- Array of integer pairs controlling the rate at which the master volume changes 76 in response to volume up and down key events. 77 The first integer of each pair is compared against the current master volume 78 (in range 0 to 100). 79 The last pair with first integer <= the current volume is chosen, 80 and the second integer of the pair indicates the amount to increase the master volume 81 when volume up is pressed. --> 82 <integer-array name="config_masterVolumeRamp"> 83 <item>0</item> <item>5</item> <!-- default: always increase volume by 5% --> 84 </integer-array> 85 86 <!-- The attenuation in dB applied to the sound effects played 87 through AudioManager.playSoundEffect() when no volume is specified. --> 88 <integer name="config_soundEffectVolumeDb">-6</integer> 89 90 <!-- The attenuation in dB applied to the lock/unlock sounds. --> 91 <integer name="config_lockSoundVolumeDb">-6</integer> 92 93 <!-- Flag indicating whether the AUDIO_BECOMING_NOISY notification should 94 be sent during a change to the audio output device. --> 95 <bool name="config_sendAudioBecomingNoisy">true</bool> 96 97 <!-- The duration (in milliseconds) of a short animation. --> 98 <integer name="config_shortAnimTime">200</integer> 99 100 <!-- The duration (in milliseconds) of a medium-length animation. --> 101 <integer name="config_mediumAnimTime">400</integer> 102 103 <!-- The duration (in milliseconds) of a long animation. --> 104 <integer name="config_longAnimTime">500</integer> 105 106 <!-- The duration (in milliseconds) of the activity open/close and fragment open/close animations. --> 107 <integer name="config_activityShortDur">150</integer> 108 <integer name="config_activityDefaultDur">220</integer> 109 110 <!-- Duration for the dim animation behind a dialog. This may be either 111 a percentage, which is relative to the duration of the enter/open 112 animation of the window being shown that is dimming behind, or it may 113 be an integer for a constant duration. --> 114 <fraction name="config_dimBehindFadeDuration">100%</fraction> 115 116 <!-- The maximum width we would prefer dialogs to be. 0 if there is no 117 maximum (let them grow as large as the screen). Actual values are 118 specified for -large and -xlarge configurations. --> 119 <dimen name="config_prefDialogWidth">320dp</dimen> 120 121 <!-- Enables or disables fading edges when marquee is enabled in TextView. 122 Off by default, since the framebuffer readback used to implement the 123 fading edges is prohibitively expensive on most GPUs. --> 124 <bool name="config_ui_enableFadingMarquee">false</bool> 125 126 <!-- Whether dialogs should close automatically when the user touches outside 127 of them. This should not normally be modified. --> 128 <bool name="config_closeDialogWhenTouchOutside">true</bool> 129 130 <!-- Device configuration indicating whether we should avoid using accelerated graphics 131 in certain places to reduce RAM footprint. This is ignored if ro.config.low_ram 132 is true (in that case this is assumed true as well). It can allow you to tune down 133 your device's memory use without going to the point of causing applications to turn 134 off features. --> 135 <bool name="config_avoidGfxAccel">false</bool> 136 137 <!-- Device configuration setting the minfree tunable in the lowmemorykiller in the kernel. 138 A high value will cause the lowmemorykiller to fire earlier, keeping more memory 139 in the file cache and preventing I/O thrashing, but allowing fewer processes to 140 stay in memory. A low value will keep more processes in memory but may cause 141 thrashing if set too low. Overrides the default value chosen by ActivityManager 142 based on screen size and total memory for the largest lowmemorykiller bucket, and 143 scaled proportionally to the smaller buckets. -1 keeps the default. --> 144 <integer name="config_lowMemoryKillerMinFreeKbytesAbsolute">-1</integer> 145 146 <!-- Device configuration adjusting the minfree tunable in the lowmemorykiller in the 147 kernel. A high value will cause the lowmemorykiller to fire earlier, keeping more 148 memory in the file cache and preventing I/O thrashing, but allowing fewer processes 149 to stay in memory. A low value will keep more processes in memory but may cause 150 thrashing if set too low. Directly added to the default value chosen by 151 ActivityManager based on screen size and total memory for the largest lowmemorykiller 152 bucket, and scaled proportionally to the smaller buckets. 0 keeps the default. --> 153 <integer name="config_lowMemoryKillerMinFreeKbytesAdjust">0</integer> 154 155 <!-- Device configuration setting the /proc/sys/vm/extra_free_kbytes tunable in the kernel 156 (if it exists). A high value will increase the amount of memory that the kernel 157 tries to keep free, reducing allocation time and causing the lowmemorykiller to kill 158 earlier. A low value allows more memory to be used by processes but may cause more 159 allocations to block waiting on disk I/O or lowmemorykiller. Overrides the default 160 value chosen by ActivityManager based on screen size. 0 prevents keeping any extra 161 memory over what the kernel keeps by default. -1 keeps the default. --> 162 <integer name="config_extraFreeKbytesAbsolute">-1</integer> 163 164 <!-- Device configuration adjusting the /proc/sys/vm/extra_free_kbytes tunable in the kernel 165 (if it exists). 0 uses the default value chosen by ActivityManager. A positive value 166 will increase the amount of memory that the kernel tries to keep free, reducing 167 allocation time and causing the lowmemorykiller to kill earlier. A negative value 168 allows more memory to be used by processes but may cause more allocations to block 169 waiting on disk I/O or lowmemorykiller. Directly added to the default value chosen by 170 ActivityManager based on screen size. --> 171 <integer name="config_extraFreeKbytesAdjust">0</integer> 172 173 <!-- The duration (in milliseconds) that the radio will scan for a signal 174 when there's no network connection. If the scan doesn't timeout, use zero --> 175 <integer name="config_radioScanningTimeout">0</integer> 176 177 <!-- XXXXX NOTE THE FOLLOWING RESOURCES USE THE WRONG NAMING CONVENTION. 178 Please don't copy them, copy anything else. --> 179 180 <!-- This string array should be overridden by the device to present a list of network 181 attributes. This is used by the connectivity manager to decide which networks can coexist 182 based on the hardware --> 183 <!-- An Array of "[Connection name],[ConnectivityManager.TYPE_xxxx], 184 [associated radio-type],[priority],[restoral-timer(ms)],[dependencyMet] --> 185 <!-- the 5th element "resore-time" indicates the number of milliseconds to delay 186 before automatically restore the default connection. Set -1 if the connection 187 does not require auto-restore. --> 188 <!-- the 6th element indicates boot-time dependency-met value. --> 189 <string-array translatable="false" name="networkAttributes"> 190 <item>"wifi,1,1,1,-1,true"</item> 191 <item>"mobile,0,0,0,-1,true"</item> 192 <item>"mobile_mms,2,0,2,60000,true"</item> 193 <item>"mobile_supl,3,0,2,60000,true"</item> 194 <item>"mobile_hipri,5,0,3,60000,true"</item> 195 <item>"mobile_fota,10,0,2,60000,true"</item> 196 <item>"mobile_ims,11,0,2,60000,true"</item> 197 <item>"mobile_cbs,12,0,2,60000,true"</item> 198 <item>"wifi_p2p,13,1,0,-1,true"</item> 199 <item>"mobile_ia,14,0,2,-1,true"</item> 200 <item>"mobile_emergency,15,0,2,-1,true"</item> 201 </string-array> 202 203 <!-- Array of ConnectivityManager.TYPE_xxxx constants for networks that may only 204 be controlled by systemOrSignature apps. --> 205 <integer-array translatable="false" name="config_protectedNetworks"> 206 <item>10</item> 207 <item>11</item> 208 <item>12</item> 209 <item>14</item> 210 <item>15</item> 211 </integer-array> 212 213 <!-- This string array should be overridden by the device to present a list of radio 214 attributes. This is used by the connectivity manager to decide which networks can coexist 215 based on the hardware --> 216 <!-- An Array of "[ConnectivityManager connectionType], 217 [# simultaneous connection types]" --> 218 <string-array translatable="false" name="radioAttributes"> 219 <item>"1,1"</item> 220 <item>"0,1"</item> 221 </string-array> 222 223 <!-- Set of NetworkInfo.getType() that reflect data usage. --> 224 <integer-array translatable="false" name="config_data_usage_network_types"> 225 <item>0</item> <!-- TYPE_MOBILE --> 226 <item>2</item> <!-- TYPE_MOBILE_MMS --> 227 <item>3</item> <!-- TYPE_MOBILE_SUPL --> 228 <item>4</item> <!-- TYPE_MOBILE_DUN --> 229 <item>5</item> <!-- TYPE_MOBILE_HIPRI --> 230 <item>10</item> <!-- TYPE_MOBILE_FOTA --> 231 <item>11</item> <!-- TYPE_MOBILE_IMS --> 232 <item>12</item> <!-- TYPE_MOBILE_CBS --> 233 <item>14</item> <!-- TYPE_MOBILE_IA --> 234 </integer-array> 235 236 <!-- The maximum duration (in milliseconds) we expect a network transition to take --> 237 <integer name="config_networkTransitionTimeout">60000</integer> 238 239 <!-- List of regexpressions describing the interface (if any) that represent tetherable 240 USB interfaces. If the device doesn't want to support tething over USB this should 241 be empty. An example would be "usb.*" --> 242 <string-array translatable="false" name="config_tether_usb_regexs"> 243 </string-array> 244 245 <!-- List of regexpressions describing the interface (if any) that represent tetherable 246 Wifi interfaces. If the device doesn't want to support tethering over Wifi this 247 should be empty. An example would be "softap.*" --> 248 <string-array translatable="false" name="config_tether_wifi_regexs"> 249 </string-array> 250 251 <!-- List of regexpressions describing the interface (if any) that represent tetherable 252 WiMAX interfaces. If the device doesn't want to support tethering over Wifi this 253 should be empty. An example would be "softap.*" --> 254 <string-array translatable="false" name="config_tether_wimax_regexs"> 255 </string-array> 256 257 <!-- List of regexpressions describing the interface (if any) that represent tetherable 258 bluetooth interfaces. If the device doesn't want to support tethering over bluetooth this 259 should be empty. --> 260 <string-array translatable="false" name="config_tether_bluetooth_regexs"> 261 </string-array> 262 263 <!-- Max number of Bluetooth tethering connections allowed. If this is 264 updated config_tether_dhcp_range has to be updated appropriately. --> 265 <integer translateable="false" name="config_max_pan_devices">5</integer> 266 267 <!-- Dhcp range (min, max) to use for tethering purposes --> 268 <string-array translatable="false" name="config_tether_dhcp_range"> 269 </string-array> 270 271 <!-- Regex of wired ethernet ifaces --> 272 <string translatable="false" name="config_ethernet_iface_regex">eth\\d</string> 273 274 <!-- If the mobile hotspot feature requires provisioning, a package name and class name 275 can be provided to launch a supported application that provisions the devices. 276 277 Example Usage: 278 279 String[] appDetails = getStringArray(R.array.config_mobile_hotspot_provision_app); 280 Intent intent = new Intent(Intent.ACTION_MAIN); 281 intent.setClassName(appDetails[0], appDetails[1]); 282 startActivityForResult(intent, 0); 283 284 public void onActivityResult(int requestCode, int resultCode, Intent intent) { 285 super.onActivityResult(requestCode, resultCode, intent); 286 if (requestCode == 0) { 287 if (resultCode == Activity.RESULT_OK) { 288 //Mobile hotspot provisioning successful 289 } else { 290 //Mobile hotspot provisioning failed 291 } 292 } 293 294 See src/com/android/settings/TetherSettings.java for more details. 295 --> 296 <!-- The first element is the package name and the second element is the class name 297 of the provisioning app --> 298 <string-array translatable="false" name="config_mobile_hotspot_provision_app"> 299 <!-- 300 <item>com.example.provisioning</item> 301 <item>com.example.provisioning.Activity</item> 302 --> 303 </string-array> 304 305 <!-- Array of ConnectivityManager.TYPE_xxxx values allowable for tethering --> 306 <!-- Common options are [1, 4] for TYPE_WIFI and TYPE_MOBILE_DUN or 307 <!== [0,1,5,7] for TYPE_MOBILE, TYPE_WIFI, TYPE_MOBILE_HIPRI and TYPE_BLUETOOTH --> 308 <integer-array translatable="false" name="config_tether_upstream_types"> 309 <item>0</item> 310 <item>1</item> 311 <item>5</item> 312 <item>7</item> 313 <item>9</item> 314 </integer-array> 315 316 <!-- If the DUN connection for this CDMA device supports more than just DUN --> 317 <!-- traffic you should list them here. --> 318 <!-- If this device is not CDMA this is ignored. If this list is empty on --> 319 <!-- a DUN-requiring CDMA device, the DUN APN will just support just DUN. --> 320 <string-array translatable="false" name="config_cdma_dun_supported_types"> 321 </string-array> 322 323 <!-- String containing the apn value for tethering. May be overriden by secure settings 324 TETHER_DUN_APN. Value is a comma separated series of strings: 325 "name,apn,proxy,port,username,password,server,mmsc,mmsproxy,mmsport,mcc,mnc,auth,type" 326 note that empty fields can be ommitted: "name,apn,,,,,,,,,310,260,,DUN" --> 327 <string translatable="false" name="config_tether_apndata"></string> 328 329 <!-- Boolean indicating whether the wifi chipset has dual frequency band support --> 330 <bool translatable="false" name="config_wifi_dual_band_support">false</bool> 331 332 <!-- Device type information conforming to Annex B format in WiFi Direct specification. 333 The default represents a dual-mode smartphone --> 334 <string translatable="false" name="config_wifi_p2p_device_type">10-0050F204-5</string> 335 336 <!-- Boolean indicating whether the wifi chipset supports background scanning mechanism. 337 This mechanism allows the host to remain in suspend state and the dongle to actively 338 scan and wake the host when a configured SSID is detected by the dongle. This chipset 339 capability can provide power savings when wifi needs to be always kept on. --> 340 <bool translatable="false" name="config_wifi_background_scan_support">false</bool> 341 342 <!-- Boolean indicating we re-try re-associating once upon disconnection and RSSI is high failure --> 343 <bool translatable="true" name="config_wifi_enable_disconnection_debounce">true</bool> 344 345 <!-- Boolean indicating autojoin will prefer 5GHz and choose 5GHz BSSIDs --> 346 <bool translatable="true" name="config_wifi_enable_5GHz_preference">true</bool> 347 348 <!-- Integer specifying the basic autojoin parameters --> 349 <integer translatable="false" name="config_wifi_framework_5GHz_preference_boost_threshold">-65</integer> 350 <integer translatable="false" name="config_wifi_framework_5GHz_preference_boost_factor">5</integer> 351 <integer translatable="false" name="config_wifi_framework_current_association_hysteresis_high">16</integer> 352 <integer translatable="false" name="config_wifi_framework_current_association_hysteresis_low">10</integer> 353 <integer translatable="false" name="config_wifi_framework_5GHz_preference_penalty_threshold">-75</integer> 354 <integer translatable="false" name="config_wifi_framework_5GHz_preference_penalty_factor">2</integer> 355 356 <!-- Integer parameters of the wifi to cellular handover feature 357 wifi should not stick to bad networks --> 358 <integer translatable="false" name="config_wifi_framework_wifi_score_bad_rssi_threshold_5GHz">-82</integer> 359 <integer translatable="false" name="config_wifi_framework_wifi_score_low_rssi_threshold_5GHz">-72</integer> 360 <integer translatable="false" name="config_wifi_framework_wifi_score_good_rssi_threshold_5GHz">-60</integer> 361 <integer translatable="false" name="config_wifi_framework_wifi_score_bad_rssi_threshold_24GHz">-87</integer> 362 <integer translatable="false" name="config_wifi_framework_wifi_score_low_rssi_threshold_24GHz">-77</integer> 363 <integer translatable="false" name="config_wifi_framework_wifi_score_good_rssi_threshold_24GHz">-65</integer> 364 <integer translatable="false" name="config_wifi_framework_wifi_score_bad_link_speed_24">6</integer> 365 <integer translatable="false" name="config_wifi_framework_wifi_score_bad_link_speed_5">12</integer> 366 <integer translatable="false" name="config_wifi_framework_wifi_score_good_link_speed_24">24</integer> 367 <integer translatable="false" name="config_wifi_framework_wifi_score_good_link_speed_5">36</integer> 368 <bool translatable="false" name="config_wifi_framework_cellular_handover_enable_user_triggered_adjustment">true</bool> 369 370 <!-- Integer packet threshold used to allow scan while associated --> 371 <integer translatable="false" name="config_wifi_framework_associated_full_scan_tx_packet_threshold">5</integer> 372 <integer translatable="false" name="config_wifi_framework_associated_full_scan_rx_packet_threshold">10</integer> 373 <integer translatable="false" name="config_wifi_framework_associated_partial_scan_tx_packet_threshold">40</integer> 374 <integer translatable="false" name="config_wifi_framework_associated_partial_scan_rx_packet_threshold">80</integer> 375 <integer translatable="false" name="config_wifi_framework_network_switch_tx_packet_threshold">2</integer> 376 <integer translatable="false" name="config_wifi_framework_network_switch_rx_packet_threshold">20</integer> 377 378 <!-- Integer indicating wpa_supplicant scan interval in milliseconds --> 379 <integer translatable="false" name="config_wifi_supplicant_scan_interval">15000</integer> 380 381 <!-- Integer indicating wpa_supplicant scan interval when p2p is connected in milliseconds --> 382 <integer translatable="false" name="config_wifi_scan_interval_p2p_connected">60000</integer> 383 384 <!-- Integer indicating the framework scan interval in milliseconds. This is used in the scenario 385 where the chipset does not support background scanning (config_wifi_background_scan_suport 386 is false) to set up a periodic wake up scan so that the device can connect to a new access 387 point on the move. A value of 0 means no periodic scans will be used in the framework. --> 388 <integer translatable="false" name="config_wifi_framework_scan_interval">300000</integer> 389 390 <!-- Integer indicating associated partial scan interval in milliseconds --> 391 <integer translatable="false" name="config_wifi_framework_associated_scan_interval">10000</integer> 392 393 <!-- Integer indicating associated full scan backoff, representing a fraction: xx/8 --> 394 <integer translatable="false" name="config_wifi_framework_associated_full_scan_backoff">12</integer> 395 396 <!-- Integer indicating associated full scan max interval in milliseconds --> 397 <integer translatable="false" name="config_wifi_framework_associated_full_scan_max_interval">300000</integer> 398 399 <!-- Integer indicating associated full scan max total dwell time in milliseconds --> 400 <integer translatable="false" name="config_wifi_framework_associated_full_scan_max_total_dwell_time">500</integer> 401 402 <!-- Integer indicating associated full scan max num active channels --> 403 <integer translatable="false" name="config_wifi_framework_associated_partial_scan_max_num_active_channels">6</integer> 404 405 <!-- Integer indicating associated full scan max num passive channels --> 406 <integer translatable="false" name="config_wifi_framework_associated_partial_scan_max_num_passive_channels">3</integer> 407 408 <!-- Boolean indicating associated scan are allowed --> 409 <bool translatable="false" name="config_wifi_framework_enable_associated_autojoin_scan">true</bool> 410 411 <!-- Boolean indicating associated network selection is allowed --> 412 <bool translatable="false" name="config_wifi_framework_enable_associated_network_selection">true</bool> 413 414 <!-- Boolean indicating that wifi only link configuratios that have exact same credentials (i.e PSK) --> 415 <bool translatable="false" name="config_wifi_only_link_same_credential_configurations">true</bool> 416 417 <!-- Wifi driver stop delay, in milliseconds. 418 Default value is 2 minutes. --> 419 <integer translatable="false" name="config_wifi_driver_stop_delay">120000</integer> 420 421 <!-- Wifi driver supports batched scan --> 422 <bool translatable="false" name="config_wifi_batched_scan_supported">false</bool> 423 424 <!-- Flag indicating whether the we should enable the automatic brightness in Settings. 425 Software implementation will be used if config_hardware_auto_brightness_available is not set --> 426 <bool name="config_automatic_brightness_available">false</bool> 427 428 <!-- Don't name config resources like this. It should look like config_annoyDianne --> 429 <bool name="config_annoy_dianne">true</bool> 430 431 <!-- XXXXXX END OF RESOURCES USING WRONG NAMING CONVENTION --> 432 433 <!-- If this is true, the screen will come on when you unplug usb/power/whatever. --> 434 <bool name="config_unplugTurnsOnScreen">false</bool> 435 436 <!-- Set this true only if the device has separate attention and notification lights. --> 437 <bool name="config_useAttentionLight">false</bool> 438 439 <!-- If this is true, the screen will fade off. --> 440 <bool name="config_animateScreenLights">false</bool> 441 442 <!-- If this is true, key chords can be used to take a screenshot on the device. --> 443 <bool name="config_enableScreenshotChord">true</bool> 444 445 <!-- Auto-rotation behavior --> 446 447 <!-- If true, enables auto-rotation features using the accelerometer. 448 Otherwise, auto-rotation is disabled. Applications may still request 449 to use specific orientations but the sensor is ignored and sensor-based 450 orientations are not available. Furthermore, all auto-rotation related 451 settings are omitted from the system UI. In certain situations we may 452 still use the accelerometer to determine the orientation, such as when 453 docked if the dock is configured to enable the accelerometer. --> 454 <bool name="config_supportAutoRotation">true</bool> 455 456 <!-- If true, the screen can be rotated via the accelerometer in all 4 457 rotations as the default behavior. --> 458 <bool name="config_allowAllRotations">false</bool> 459 460 <!-- If true, the direction rotation is applied to get to an application's requested 461 orientation is reversed. Normally, the model is that landscape is 462 clockwise from portrait; thus on a portrait device an app requesting 463 landscape will cause a clockwise rotation, and on a landscape device an 464 app requesting portrait will cause a counter-clockwise rotation. Setting 465 true here reverses that logic. --> 466 <bool name="config_reverseDefaultRotation">false</bool> 467 468 <!-- Lid switch behavior --> 469 470 <!-- The number of degrees to rotate the display when the keyboard is open. 471 A value of -1 means no change in orientation by default. --> 472 <integer name="config_lidOpenRotation">-1</integer> 473 474 <!-- Indicate whether the lid state impacts the accessibility of 475 the physical keyboard. 0 means it doesn't, 1 means it is accessible 476 when the lid is open, 2 means it is accessible when the lid is 477 closed. The default is 0. --> 478 <integer name="config_lidKeyboardAccessibility">0</integer> 479 480 <!-- Indicate whether the lid state impacts the accessibility of 481 the navigation buttons. 0 means it doesn't, 1 means it is accessible 482 when the lid is open, 2 means it is accessible when the lid is 483 closed. The default is 0. --> 484 <integer name="config_lidNavigationAccessibility">0</integer> 485 486 <!-- Indicate whether closing the lid causes the device to go to sleep and opening 487 it causes the device to wake up. 488 The default is false. --> 489 <bool name="config_lidControlsSleep">false</bool> 490 491 <!-- Desk dock behavior --> 492 493 <!-- The number of degrees to rotate the display when the device is in a desk dock. 494 A value of -1 means no change in orientation by default. --> 495 <integer name="config_deskDockRotation">-1</integer> 496 497 <!-- Control whether being in the desk dock (and powered) always 498 keeps the screen on. By default it stays on when plugged in to 499 AC. 0 will not keep it on; or together 1 to stay on when plugged 500 in to AC and 2 to stay on when plugged in to USB. (So 3 for both.) --> 501 <integer name="config_deskDockKeepsScreenOn">1</integer> 502 503 <!-- Control whether being in the desk dock should enable accelerometer 504 based screen orientation. This defaults to true because it is 505 common for desk docks to be sold in a variety of form factors 506 with different orientations. Since we cannot always tell these docks 507 apart and the docks cannot report their true orientation on their own, 508 we rely on gravity to determine the effective orientation. --> 509 <bool name="config_deskDockEnablesAccelerometer">true</bool> 510 511 <!-- Car dock behavior --> 512 513 <!-- The number of degrees to rotate the display when the device is in a car dock. 514 A value of -1 means no change in orientation by default. --> 515 <integer name="config_carDockRotation">-1</integer> 516 517 <!-- Control whether being in the car dock (and powered) always 518 keeps the screen on. By default it stays on when plugged in to 519 AC. 0 will not keep it on; or together 1 to stay on when plugged 520 in to AC and 2 to stay on when plugged in to USB. (So 3 for both.) --> 521 <integer name="config_carDockKeepsScreenOn">1</integer> 522 523 <!-- Control whether being in the car dock should enable accelerometer based 524 screen orientation. This defaults to true because putting a device in 525 a car dock make the accelerometer more a physical input (like a lid). --> 526 527 <bool name="config_carDockEnablesAccelerometer">true</bool> 528 529 <!-- HDMI behavior --> 530 531 <!-- The number of degrees to rotate the display when the device has HDMI connected 532 but is not in a dock. A value of -1 means no change in orientation by default. 533 Use -1 except on older devices whose Hardware Composer HAL does not 534 provide full support for multiple displays. --> 535 <integer name="config_undockedHdmiRotation">-1</integer> 536 537 <!-- Control the default UI mode type to use when there is no other type override 538 happening. One of the following values (See Configuration.java): 539 1 UI_MODE_TYPE_NORMAL 540 4 UI_MODE_TYPE_TELEVISION 541 5 UI_MODE_TYPE_APPLIANCE 542 6 UI_MODE_TYPE_WATCH 543 Any other values will have surprising consequences. --> 544 <integer name="config_defaultUiModeType">1</integer> 545 546 <!-- Indicate whether to allow the device to suspend when the screen is off 547 due to the proximity sensor. This resource should only be set to true 548 if the sensor HAL correctly handles the proximity sensor as a wake-up source. 549 Otherwise, the device may fail to wake out of suspend reliably. 550 The default is false. --> 551 <bool name="config_suspendWhenScreenOffDueToProximity">false</bool> 552 553 <!-- Control the behavior when the user long presses the power button. 554 0 - Nothing 555 1 - Global actions menu 556 2 - Power off (with confirmation) 557 --> 558 <integer name="config_longPressOnPowerBehavior">1</integer> 559 560 <!-- Control the behavior when the user short presses the power button. 561 0 - Nothing 562 1 - Go to sleep (doze) 563 2 - Really go to sleep (don't doze) 564 3 - Really go to sleep and go home (don't doze) 565 --> 566 <integer name="config_shortPressOnPowerBehavior">1</integer> 567 568 <!-- Package name for default keyguard appwidget [DO NOT TRANSLATE] --> 569 <string name="widget_default_package_name"></string> 570 571 <!-- Class name for default keyguard appwidget [DO NOT TRANSLATE] --> 572 <string name="widget_default_class_name"></string> 573 574 <!-- Indicate whether the SD card is accessible without removing the battery. --> 575 <bool name="config_batterySdCardAccessibility">false</bool> 576 577 <!-- List of file paths for USB host busses to exclude from USB host support. 578 For example, if the first USB bus on the device is used to communicate 579 with the modem or some other restricted hardware, add "/dev/bus/usb/001/" 580 to this list. If this is empty, no parts of the host USB bus will be excluded. 581 --> 582 <string-array name="config_usbHostBlacklist" translatable="false"> 583 </string-array> 584 585 <!-- List of paths to serial ports that are available to the serial manager. 586 for example, /dev/ttyUSB0 587 --> 588 <string-array translatable="false" name="config_serialPorts"> 589 </string-array> 590 591 <!-- Vibrator pattern for feedback about a long screen/key press --> 592 <integer-array name="config_longPressVibePattern"> 593 <item>0</item> 594 <item>1</item> 595 <item>20</item> 596 <item>21</item> 597 </integer-array> 598 599 <!-- Vibrator pattern for feedback about touching a virtual key --> 600 <integer-array name="config_virtualKeyVibePattern"> 601 <item>0</item> 602 <item>10</item> 603 <item>20</item> 604 <item>30</item> 605 </integer-array> 606 607 <!-- Vibrator pattern for a very short but reliable vibration for soft keyboard tap --> 608 <integer-array name="config_keyboardTapVibePattern"> 609 <item>40</item> 610 </integer-array> 611 612 <!-- Vibrator pattern for feedback when selecting an hour/minute tick of a Clock --> 613 <integer-array name="config_clockTickVibePattern"> 614 <item>125</item> 615 <item>30</item> 616 </integer-array> 617 618 <!-- Vibrator pattern for feedback when selecting a day/month/year date of a Calendar --> 619 <integer-array name="config_calendarDateVibePattern"> 620 <item>125</item> 621 <item>30</item> 622 </integer-array> 623 624 <!-- Vibrator pattern for feedback about booting with safe mode disabled --> 625 <integer-array name="config_safeModeDisabledVibePattern"> 626 <item>0</item> 627 <item>1</item> 628 <item>20</item> 629 <item>21</item> 630 </integer-array> 631 632 <!-- Vibrator pattern for feedback about booting with safe mode disabled --> 633 <integer-array name="config_safeModeEnabledVibePattern"> 634 <item>0</item> 635 <item>1</item> 636 <item>20</item> 637 <item>21</item> 638 <item>500</item> 639 <item>600</item> 640 </integer-array> 641 642 <!-- Vibrator pattern for feedback about hitting a scroll barrier --> 643 <integer-array name="config_scrollBarrierVibePattern"> 644 <item>0</item> 645 <item>15</item> 646 <item>10</item> 647 <item>10</item> 648 </integer-array> 649 650 <bool name="config_use_strict_phone_number_comparation">false</bool> 651 652 <!-- Display low battery warning when battery level dips to this value. 653 Also, the battery stats are flushed to disk when we hit this level. --> 654 <integer name="config_criticalBatteryWarningLevel">5</integer> 655 656 <!-- Shutdown if the battery temperature exceeds (this value * 0.1) Celsius. --> 657 <integer name="config_shutdownBatteryTemperature">680</integer> 658 659 <!-- Display low battery warning when battery level dips to this value --> 660 <integer name="config_lowBatteryWarningLevel">15</integer> 661 662 <!-- Close low battery warning when battery level reaches the lowBatteryWarningLevel 663 plus this --> 664 <integer name="config_lowBatteryCloseWarningBump">5</integer> 665 666 <!-- Default color for notification LED. --> 667 <color name="config_defaultNotificationColor">#ffffffff</color> 668 669 <!-- Default LED on time for notification LED in milliseconds. --> 670 <integer name="config_defaultNotificationLedOn">500</integer> 671 672 <!-- Default LED off time for notification LED in milliseconds. --> 673 <integer name="config_defaultNotificationLedOff">2000</integer> 674 675 <!-- Default value for led color when battery is low on charge --> 676 <integer name="config_notificationsBatteryLowARGB">0xFFFF0000</integer> 677 678 <!-- Default value for led color when battery is medium charged --> 679 <integer name="config_notificationsBatteryMediumARGB">0xFFFFFF00</integer> 680 681 <!-- Default value for led color when battery is fully charged --> 682 <integer name="config_notificationsBatteryFullARGB">0xFF00FF00</integer> 683 684 <!-- Default value for LED on time when the battery is low on charge in miliseconds --> 685 <integer name="config_notificationsBatteryLedOn">125</integer> 686 687 <!-- Is the notification LED intrusive? Used to decide if there should be a disable option --> 688 <bool name="config_intrusiveNotificationLed">false</bool> 689 690 <!-- Default value for LED off time when the battery is low on charge in miliseconds --> 691 <integer name="config_notificationsBatteryLedOff">2875</integer> 692 693 <!-- Number of notifications to keep in the notification service historical archive --> 694 <integer name="config_notificationServiceArchiveSize">100</integer> 695 696 <!-- Allow the menu hard key to be disabled in LockScreen on some devices --> 697 <bool name="config_disableMenuKeyInLockScreen">false</bool> 698 699 <!-- Don't show lock screen before unlock screen (PIN/pattern/password) --> 700 <bool name="config_enableLockBeforeUnlockScreen">false</bool> 701 702 <!-- Disable lockscreen rotation by default --> 703 <bool name="config_enableLockScreenRotation">false</bool> 704 705 <!-- Enable lockscreen translucent decor by default --> 706 <bool name="config_enableLockScreenTranslucentDecor">true</bool> 707 708 <!-- Enable translucent decor by default --> 709 <bool name="config_enableTranslucentDecor">true</bool> 710 711 <!-- Is the device capable of hot swapping an UICC Card --> 712 <bool name="config_hotswapCapable">false</bool> 713 714 <!-- Enable puk unlockscreen by default. 715 If unlock screen is disabled, the puk should be unlocked through Emergency Dialer --> 716 <bool name="config_enable_puk_unlock_screen">true</bool> 717 718 <!-- Enable emergency call when sim is locked or puk locked. Some countries/carriers do not 719 allow emergency calls to be placed without the IMSI, which is locked in the SIM. 720 If so, this should be set to 'false' in an overlay. --> 721 <bool name="config_enable_emergency_call_while_sim_locked">true</bool> 722 723 <!-- Control the behavior when the user long presses the home button. 724 0 - Nothing 725 1 - Recent apps view in SystemUI 726 2 - Launch assist intent 727 This needs to match the constants in 728 policy/src/com/android/internal/policy/impl/PhoneWindowManager.java 729 --> 730 <integer name="config_longPressOnHomeBehavior">1</integer> 731 732 <!-- Control the behavior when the user double-taps the home button. 733 0 - Nothing 734 1 - Recent apps view in SystemUI 735 This needs to match the constants in 736 policy/src/com/android/internal/policy/impl/PhoneWindowManager.java 737 --> 738 <integer name="config_doubleTapOnHomeBehavior">0</integer> 739 740 <!-- Minimum screen brightness setting allowed by the power manager. 741 The user is forbidden from setting the brightness below this level. --> 742 <integer name="config_screenBrightnessSettingMinimum">10</integer> 743 744 <!-- Maximum screen brightness allowed by the power manager. 745 The user is forbidden from setting the brightness above this level. --> 746 <integer name="config_screenBrightnessSettingMaximum">255</integer> 747 748 <!-- Default screen brightness setting. 749 Must be in the range specified by minimum and maximum. --> 750 <integer name="config_screenBrightnessSettingDefault">102</integer> 751 752 <!-- Screen brightness used to dim the screen while dozing in a very low power state. 753 May be less than the minimum allowed brightness setting 754 that can be set by the user. --> 755 <integer name="config_screenBrightnessDoze">1</integer> 756 757 <!-- Screen brightness used to dim the screen when the user activity 758 timeout expires. May be less than the minimum allowed brightness setting 759 that can be set by the user. --> 760 <integer name="config_screenBrightnessDim">10</integer> 761 762 <!-- Minimum allowable screen brightness to use in a very dark room. 763 This value sets the floor for the darkest possible auto-brightness 764 adjustment. It is expected to be somewhat less than the first entry in 765 config_autoBrightnessLcdBacklightValues so as to allow the user to have 766 some range of adjustment to dim the screen further than usual in very 767 dark rooms. The contents of the screen must still be clearly visible 768 in darkness (although they may not be visible in a bright room). --> 769 <integer name="config_screenBrightnessDark">1</integer> 770 771 <!-- Array of light sensor LUX values to define our levels for auto backlight brightness support. 772 The N entries of this array define N + 1 control points as follows: 773 (1-based arrays) 774 775 Point 1: (0, value[1]): lux <= 0 776 Point 2: (level[1], value[2]): 0 < lux <= level[1] 777 Point 3: (level[2], value[3]): level[2] < lux <= level[3] 778 ... 779 Point N+1: (level[N], value[N+1]): level[N] < lux 780 781 The control points must be strictly increasing. Each control point 782 corresponds to an entry in the brightness backlight values arrays. 783 For example, if LUX == level[1] (first element of the levels array) 784 then the brightness will be determined by value[2] (second element 785 of the brightness values array). 786 787 Spline interpolation is used to determine the auto-brightness 788 backlight values for LUX levels between these control points. 789 790 Must be overridden in platform specific overlays --> 791 <integer-array name="config_autoBrightnessLevels"> 792 </integer-array> 793 794 <!-- Array of output values for LCD backlight corresponding to the LUX values 795 in the config_autoBrightnessLevels array. This array should have size one greater 796 than the size of the config_autoBrightnessLevels array. 797 The brightness values must be between 0 and 255 and be non-decreasing. 798 This must be overridden in platform specific overlays --> 799 <integer-array name="config_autoBrightnessLcdBacklightValues"> 800 </integer-array> 801 802 <!-- Array of output values for button backlight corresponding to the LUX values 803 in the config_autoBrightnessLevels array. This array should have size one greater 804 than the size of the config_autoBrightnessLevels array. 805 The brightness values must be between 0 and 255 and be non-decreasing. 806 This must be overridden in platform specific overlays --> 807 <integer-array name="config_autoBrightnessButtonBacklightValues"> 808 </integer-array> 809 810 <!-- Array of output values for keyboard backlight corresponding to the LUX values 811 in the config_autoBrightnessLevels array. This array should have size one greater 812 than the size of the config_autoBrightnessLevels array. 813 The brightness values must be between 0 and 255 and be non-decreasing. 814 This must be overridden in platform specific overlays --> 815 <integer-array name="config_autoBrightnessKeyboardBacklightValues"> 816 </integer-array> 817 818 <!-- Amount of time it takes for the light sensor to warm up in milliseconds. 819 For this time after the screen turns on, the Power Manager 820 will not debounce light sensor readings --> 821 <integer name="config_lightSensorWarmupTime">0</integer> 822 823 <!-- Enables swipe versus poly-finger touch disambiguation in the KeyboardView --> 824 <bool name="config_swipeDisambiguation">true</bool> 825 826 <!-- Specifies the amount of time to disable virtual keys after the screen is touched 827 in order to filter out accidental virtual key presses due to swiping gestures 828 or taps near the edge of the display. May be 0 to disable the feature. 829 It is recommended that this value be no more than 250 ms. 830 This feature should be disabled for most devices. --> 831 <integer name="config_virtualKeyQuietTimeMillis">0</integer> 832 833 <!-- Component name of the default wallpaper. This will be ImageWallpaper if not 834 specified --> 835 <string name="default_wallpaper_component" translatable="false">@null</string> 836 837 <!-- Component name of the built in wallpaper used to display bitmap wallpapers. This must not be null. --> 838 <string name="image_wallpaper_component" translatable="false">com.android.systemui/com.android.systemui.ImageWallpaper</string> 839 840 <!-- True if WallpaperService is enabled --> 841 <bool name="config_enableWallpaperService">true</bool> 842 843 <!-- Whether to enable network location overlay which allows network 844 location provider to be replaced by an app at run-time. When disabled, 845 only the config_networkLocationProviderPackageName package will be 846 searched for network location provider, otherwise packages whose 847 signature matches the signatures of config_locationProviderPackageNames 848 will be searched, and the service with the highest version number will 849 be picked. Anyone who wants to disable the overlay mechanism can set it 850 to false. 851 --> 852 <bool name="config_enableNetworkLocationOverlay" translatable="false">true</bool> 853 <!-- Package name providing network location support. Used only when 854 config_enableNetworkLocationOverlay is false. --> 855 <string name="config_networkLocationProviderPackageName" translatable="false">@null</string> 856 857 <!-- Whether to enable fused location provider overlay which allows fused 858 location provider to be replaced by an app at run-time. When disabled, 859 only the config_fusedLocationProviderPackageName package will be 860 searched for fused location provider, otherwise packages whose 861 signature matches the signatures of config_locationProviderPackageNames 862 will be searched, and the service with the highest version number will 863 be picked. Anyone who wants to disable the overlay mechanism can set it 864 to false. 865 --> 866 <bool name="config_enableFusedLocationOverlay" translatable="false">true</bool> 867 <!-- Package name providing fused location support. Used only when 868 config_enableFusedLocationOverlay is false. --> 869 <string name="config_fusedLocationProviderPackageName" translatable="false">com.android.location.fused</string> 870 871 <!-- Whether to enable Hardware FLP overlay which allows Hardware FLP to be 872 replaced by an app at run-time. When disabled, only the 873 config_hardwareFlpPackageName package will be searched for Hardware Flp, 874 otherwise packages whose signature matches the signatures of 875 config_locationProviderPackageNames will be searched, and the service 876 with the highest version number will be picked. Anyone who wants to 877 disable the overlay mechanism can set it to false. 878 --> 879 <bool name="config_enableHardwareFlpOverlay" translatable="false">true</bool> 880 <!-- Package name providing Hardware Flp. Used only when 881 config_enableHardwareFlpOverlay is false. --> 882 <string name="config_hardwareFlpPackageName" translatable="false">com.android.location.fused</string> 883 884 <!-- Whether to enable geocoder overlay which allows geocoder to be replaced 885 by an app at run-time. When disabled, only the 886 config_geocoderProviderPackageName package will be searched for 887 geocoder, otherwise packages whose signature matches the signatures of 888 config_locationProviderPackageNames will be searched, and the service 889 with the highest version number will be picked. Anyone who wants to 890 disable the overlay mechanism can set it to false. 891 --> 892 <bool name="config_enableGeocoderOverlay" translatable="false">true</bool> 893 <!-- Package name providing geocoder API support. Used only when 894 config_enableGeocoderOverlay is false. --> 895 <string name="config_geocoderProviderPackageName" translatable="false">@null</string> 896 897 <!-- Whether to enable geofence overlay which allows geofence to be replaced 898 by an app at run-time. When disabled, only the 899 config_geofenceProviderPackageName package will be searched for 900 geofence implementation, otherwise packages whose signature matches the 901 signatures of config_locationProviderPackageNames will be searched, and 902 the service with the highest version number will be picked. Anyone who 903 wants to disable the overlay mechanism can set it to false. 904 --> 905 <bool name="config_enableGeofenceOverlay" translatable="false">true</bool> 906 <!-- Package name providing geofence API support. Used only when 907 config_enableGeofenceOverlay is false. --> 908 <string name="config_geofenceProviderPackageName" translatable="false">@null</string> 909 910 <!-- Whether to enable Hardware Activity-Recognition overlay which allows Hardware 911 Activity-Recognition to be replaced by an app at run-time. When disabled, only the 912 config_activityRecognitionHardwarePackageName package will be searched for 913 its implementation, otherwise packages whose signature matches the 914 signatures of config_locationProviderPackageNames will be searched, and 915 the service with the highest version number will be picked. Anyone who 916 wants to disable the overlay mechanism can set it to false. 917 --> 918 <bool name="config_enableActivityRecognitionHardwareOverlay" translatable="false">true</bool> 919 <!-- Package name providing Hardware Activity-Recognition API support. Used only when 920 config_enableActivityRecognitionHardwareOverlay is false. --> 921 <string name="config_activityRecognitionHardwarePackageName" translatable="false">@null</string> 922 923 <!-- Package name(s) containing location provider support. 924 These packages can contain services implementing location providers, 925 such as the Geocode Provider, Network Location Provider, and 926 Fused Location Provider. They will each be searched for 927 service components implementing these providers. 928 It is strongly recommended that the packages explicitly named 929 below are on the system image, so that they will not map to 930 a 3rd party application. 931 The location framework also has support for installation 932 of new location providers at run-time. The new package does not 933 have to be explicitly listed here, however it must have a signature 934 that matches the signature of at least one package on this list. 935 --> 936 <string-array name="config_locationProviderPackageNames" translatable="false"> 937 <!-- The standard AOSP fused location provider --> 938 <item>com.android.location.fused</item> 939 </string-array> 940 941 <!-- This string array can be overriden to enable test location providers initially. --> 942 <!-- Array of "[locationProviderName],[requiresNetwork], 943 [requiresSatellite],[requiresCell],[hasMonetaryCost], 944 [supportAltitute],[supportsSpeed],[supportsBearing], 945 [powerRequirement],[accuracy]" --> 946 <!-- powerRequirement is defined in android.location.Criteria 947 0 = NO_REQUIREMENT / 1 = POWER_LOW / 2 = POWER_MEDIUM / 3 = POWER_HIGH --> 948 <!-- accuracy is defined in anroid.location.Criteria 949 1 = ACCURACY_FINE / 2 = ACCURACY_COARSE --> 950 <string-array name="config_testLocationProviders" translatable="false"> 951 <!-- Example test network location provider 952 <item>network,false,false,false,false,true,true,true,1,2</item> 953 --> 954 </string-array> 955 956 <!-- Boolean indicating if current platform supports bluetooth SCO for off call 957 use cases --> 958 <bool name="config_bluetooth_sco_off_call">true</bool> 959 960 <!-- Boolean indicating if current platform supports bluetooth wide band 961 speech --> 962 <bool name="config_bluetooth_wide_band_speech">true</bool> 963 964 <!-- Boolean indicating if current platform need do one-time bluetooth address 965 re-validation --> 966 <bool name="config_bluetooth_address_validation">false</bool> 967 968 <!-- Boolean indicating if current platform supports BLE peripheral mode --> 969 <bool name="config_bluetooth_le_peripheral_mode_supported">false</bool> 970 971 <!-- Max number of scan filters supported by blutooth controller. 0 if the 972 device does not support hardware scan filters--> 973 <integer translatable="false" name="config_bluetooth_max_scan_filters">0</integer> 974 975 <!-- Max number of advertisers supported by bluetooth controller. 0 if the 976 device does not support multiple advertisement--> 977 <integer translatable="false" name="config_bluetooth_max_advertisers">0</integer> 978 979 <!-- The default data-use polling period. --> 980 <integer name="config_datause_polling_period_sec">600</integer> 981 982 <!-- The default data-use threshold in bytes. 0 disables--> 983 <integer name="config_datause_threshold_bytes">0</integer> 984 985 <!-- The default reduced-datarate value in kilobits per sec --> 986 <integer name="config_datause_throttle_kbitsps">300</integer> 987 988 <!-- The default iface on which to monitor data use --> 989 <string name="config_datause_iface" translatable="false">rmnet0</string> 990 991 <!-- The default reduced-datarate notification mask --> 992 <!-- 2 means give warning --> 993 <integer name="config_datause_notification_type">2</integer> 994 995 <!-- If Voice Radio Technology is RIL_RADIO_TECHNOLOGY_LTE:14 or 996 RIL_RADIO_TECHNOLOGY_UNKNOWN:0 this is the value that should be used instead. 997 A configuration value of RIL_RADIO_TECHNOLOGY_UNKNOWN:0 means 998 there is no replacement value and that the default assumption 999 for phone type (GSM) should be used. --> 1000 <integer name="config_volte_replacement_rat">0</integer> 1001 1002 <!-- Flag indicating whether the current device is "voice capable". 1003 If true, this means that the device supports circuit-switched 1004 (i.e. voice) phone calls over the telephony network, and is 1005 allowed to display the in-call UI while a cellular voice call is 1006 active. This can be overridden to false for "data only" devices 1007 which can't make voice calls and don't support any in-call UI. 1008 1009 Note: this flag is subtly different from the 1010 PackageManager.FEATURE_TELEPHONY system feature, which is 1011 available on *any* device with a telephony radio, even if the 1012 device is data-only. --> 1013 <bool name="config_voice_capable">true</bool> 1014 1015 <!-- Flag indicating whether the current device allows sms service. 1016 If true, this means that the device supports both sending and 1017 receiving sms via the telephony network. 1018 This can be overridden to false for "data only" devices 1019 which can't send and receive sms message. 1020 1021 Note: Disable SMS also disable voicemail waiting sms, 1022 cell broadcasting sms, and MMS. --> 1023 <bool name="config_sms_capable">true</bool> 1024 1025 <!-- Default SMS Application. This will be the default SMS application when 1026 the phone first boots. The user can then change the default app to oe 1027 of their choosing. 1028 This can be overridden for devices where a different default SMS 1029 application is desired. --> 1030 <string name="default_sms_application" translatable="false">com.android.mms</string> 1031 1032 <!-- Enable/disable default bluetooth profiles: 1033 HSP_AG, ObexObjectPush, Audio, NAP --> 1034 <bool name="config_bluetooth_default_profiles">true</bool> 1035 1036 <!-- IP address of the dns server to use if nobody else suggests one --> 1037 <string name="config_default_dns_server" translatable="false">8.8.8.8</string> 1038 1039 <!-- The default mobile provisioning apn. Empty by default, maybe overridden by 1040 an mcc/mnc specific config.xml --> 1041 <string name="mobile_provisioning_apn" translatable="false"></string> 1042 1043 <!-- The default mobile provisioning url. Empty by default, maybe overridden by 1044 an mcc/mnc specific config.xml --> 1045 <string name="mobile_provisioning_url" translatable="false"></string> 1046 1047 <!-- This url is used as the default url when redirection is detected. Any 1048 should work as all url's get redirected. But maybe overridden by 1049 if needed. --> 1050 <string name="mobile_redirected_provisioning_url" translatable="false">http://google.com</string> 1051 1052 <!-- The default character set for GsmAlphabet --> 1053 <!-- Empty string means MBCS is not considered --> 1054 <string name="gsm_alphabet_default_charset" translatable="false"></string> 1055 1056 <!-- Enables SIP on WIFI only --> 1057 <bool name="config_sip_wifi_only">false</bool> 1058 1059 <!-- Enables built-in SIP phone capability --> 1060 <bool name="config_built_in_sip_phone">true</bool> 1061 1062 <!-- Boolean indicating if restoring network selection should be skipped --> 1063 <!-- The restoring is handled by modem if it is true--> 1064 <bool translatable="false" name="skip_restoring_network_selection">false</bool> 1065 1066 <!-- Maximum number of database connections opened and managed by framework layer 1067 to handle queries on each database when using Write-Ahead Logging. --> 1068 <integer name="db_connection_pool_size">4</integer> 1069 1070 <!-- The default journal mode to use use when Write-Ahead Logging is not active. 1071 Choices are: OFF, DELETE, TRUNCATE, PERSIST and MEMORY. 1072 PERSIST may improve performance by reducing how often journal blocks are 1073 reallocated (compared to truncation) resulting in better data block locality 1074 and less churn of the storage media. --> 1075 <string name="db_default_journal_mode">PERSIST</string> 1076 1077 <!-- Maximum size of the persistent journal file in bytes. 1078 If the journal file grows to be larger than this amount then SQLite will 1079 truncate it after committing the transaction. --> 1080 <integer name="db_journal_size_limit">524288</integer> 1081 1082 <!-- The database synchronization mode when using the default journal mode. 1083 FULL is safest and preserves durability at the cost of extra fsyncs. 1084 NORMAL also preserves durability in non-WAL modes and uses checksums to ensure 1085 integrity although there is a small chance that an error might go unnoticed. 1086 Choices are: FULL, NORMAL, OFF. --> 1087 <string name="db_default_sync_mode">FULL</string> 1088 1089 <!-- The database synchronization mode when using Write-Ahead Logging. 1090 FULL is safest and preserves durability at the cost of extra fsyncs. 1091 NORMAL sacrifices durability in WAL mode because syncs are only performed before 1092 and after checkpoint operations. If checkpoints are infrequent and power loss 1093 occurs, then committed transactions could be lost and applications might break. 1094 Choices are: FULL, NORMAL, OFF. --> 1095 <string name="db_wal_sync_mode">FULL</string> 1096 1097 <!-- The Write-Ahead Log auto-checkpoint interval in database pages (typically 1 to 4KB). 1098 The log is checkpointed automatically whenever it exceeds this many pages. 1099 When a database is reopened, its journal mode is set back to the default 1100 journal mode, which may cause a checkpoint operation to occur. Checkpoints 1101 can also happen at other times when transactions are committed. 1102 The bigger the WAL file, the longer a checkpoint operation takes, so we try 1103 to keep the WAL file relatively small to avoid long delays. 1104 The size of the WAL file is also constrained by 'db_journal_size_limit'. --> 1105 <integer name="db_wal_autocheckpoint">100</integer> 1106 1107 <!-- Max space (in MB) allocated to DownloadManager to store the downloaded 1108 files if they are to be stored in DownloadManager's data dir, 1109 which typically is /data/data/com.android.providers.downloads/files --> 1110 <integer name="config_downloadDataDirSize">200</integer> 1111 1112 <!-- Max number of downloads allowed to proceed concurrently --> 1113 <integer name="config_MaxConcurrentDownloadsAllowed">5</integer> 1114 1115 <!-- When the free space available in DownloadManager's data dir falls 1116 below the percentage value specified by this param, DownloadManager 1117 starts removing files to try to make percentage of available 1118 free space above this threshold value. --> 1119 <integer name="config_downloadDataDirLowSpaceThreshold">10</integer> 1120 1121 <!-- The URL that should be sent in an x-wap-profile header with an HTTP request, 1122 as defined in the Open Mobile Alliance User Agent Profile specification 1123 OMA-TS-UAProf-V2_0-20060206-A Section 8.1.1.1. If the URL contains a '%s' 1124 format string then that substring will be replaced with the value of 1125 Build.MODEL. The format string shall not be escaped. --> 1126 <string name="config_useragentprofile_url" translatable="false"></string> 1127 1128 <!-- When a database query is executed, the results retuned are paginated 1129 in pages of size (in KB) indicated by this value --> 1130 <integer name="config_cursorWindowSize">2048</integer> 1131 1132 <!-- Sets whether menu shortcuts should be displayed on panel menus when 1133 a keyboard is present. --> 1134 <bool name="config_showMenuShortcutsWhenKeyboardPresent">false</bool> 1135 1136 <!-- Do not translate. Defines the slots is Two Digit Number for dialing normally not USSD --> 1137 <string-array name="config_twoDigitNumberPattern" translatable="false"> 1138 </string-array> 1139 1140 <!-- The VoiceMail default value is displayed to my own number if it is true --> 1141 <bool name="config_telephony_use_own_number_for_voicemail">false</bool> 1142 1143 <!-- If this value is true, Sms encoded as octet is decoded by utf8 decoder. 1144 If false, decoded by Latin decoder. --> 1145 <bool name="config_sms_utf8_support">false</bool> 1146 1147 <!-- If this value is true, The mms content-disposition field is supported correctly. 1148 If false, Content-disposition fragments are ignored --> 1149 <bool name="config_mms_content_disposition_support">true</bool> 1150 1151 <!-- MMS user agent string --> 1152 <string name="config_mms_user_agent" translatable="false"></string> 1153 1154 <!-- MMS user agent prolfile url --> 1155 <string name="config_mms_user_agent_profile_url" translatable="false"></string> 1156 1157 <!-- National Language Identifier codes for the following two config items. 1158 (from 3GPP TS 23.038 V9.1.1 Table 6.2.1.2.4.1): 1159 0 - reserved 1160 1 - Turkish 1161 2 - Spanish (single shift table only) 1162 3 - Portuguese 1163 4 - Bengali 1164 5 - Gujarati 1165 6 - Hindi 1166 7 - Kannada 1167 8 - Malayalam 1168 9 - Oriya 1169 10 - Punjabi 1170 11 - Tamil 1171 12 - Telugu 1172 13 - Urdu 1173 14+ - reserved --> 1174 1175 <!-- National language single shift tables to enable for SMS encoding. 1176 Decoding is always enabled. 3GPP TS 23.038 states that this feature 1177 should not be enabled until a formal request is issued by the relevant 1178 national regulatory body. Array elements are codes from the table above. 1179 Example 1: devices sold in Turkey must include table 1 to conform with 1180 By-Law Number 27230. (http://www.btk.gov.tr/eng/pdf/2009/BY-LAW_SMS.pdf) 1181 Example 2: devices sold in India should include tables 4 through 13 1182 to enable use of the new Release 9 tables for Indic languages. --> 1183 <integer-array name="config_sms_enabled_single_shift_tables"></integer-array> 1184 1185 <!-- National language locking shift tables to enable for SMS encoding. 1186 Decoding is always enabled. 3GPP TS 23.038 states that this feature 1187 should not be enabled until a formal request is issued by the relevant 1188 national regulatory body. Array elements are codes from the table above. 1189 Example 1: devices sold in Turkey must include table 1 after the 1190 Turkish Telecommunication Authority requires locking shift encoding 1191 to be enabled (est. July 2012). (http://www.btk.gov.tr/eng/pdf/2009/BY-LAW_SMS.pdf) 1192 See also: http://www.mobitech.com.tr/tr/ersanozturkblog_en/index.php?entry=entry090223-160014 1193 Example 2: devices sold in India should include tables 4 through 13 1194 to enable use of the new Release 9 tables for Indic languages. --> 1195 <integer-array name="config_sms_enabled_locking_shift_tables"></integer-array> 1196 1197 <!-- Set to true if the RSSI should always display CDMA signal strength even on EVDO --> 1198 <bool name="config_alwaysUseCdmaRssi">false</bool> 1199 1200 1201 <!-- If this value is true, duplicate Source/Destination port fields 1202 in WDP header of some carriers OMADM wap push are supported. 1203 ex: MSGTYPE-TotalSegments-CurrentSegment 1204 -SourcePortDestPort-SourcePortDestPort-OMADM PDU 1205 If false, not supported. --> 1206 <bool name="config_duplicate_port_omadm_wappush">false</bool> 1207 1208 <!-- Maximum numerical value that will be shown in a status bar 1209 notification icon or in the notification itself. Will be replaced 1210 with @string/status_bar_notification_info_overflow when shown in the 1211 UI. --> 1212 <integer name="status_bar_notification_info_maxnum">999</integer> 1213 1214 <!-- Path to an ISO image to be shared with via USB mass storage. 1215 This is intended to allow packaging drivers or tools for installation on a PC. --> 1216 <string translatable="false" name="config_isoImagePath"></string> 1217 1218 <!-- Whether a software navigation bar should be shown. NOTE: in the future this may be 1219 autodetected from the Configuration. --> 1220 <bool name="config_showNavigationBar">false</bool> 1221 1222 <!-- Whether action menu items should be displayed in ALLCAPS or not. 1223 Defaults to true. If this is not appropriate for specific locales 1224 it should be disabled in that locale's resources. --> 1225 <bool name="config_actionMenuItemAllCaps">true</bool> 1226 1227 <!-- Whether action menu items should obey the "withText" showAsAction 1228 flag. This may be set to false for situations where space is 1229 extremely limited. --> 1230 <bool name="config_allowActionMenuItemTextWithIcon">false</bool> 1231 1232 <!-- Remote server that can provide NTP responses. --> 1233 <string translatable="false" name="config_ntpServer">2.android.pool.ntp.org</string> 1234 <!-- Normal polling frequency in milliseconds --> 1235 <integer name="config_ntpPollingInterval">864000000</integer> 1236 <!-- Try-again polling interval in milliseconds, in case the network request failed --> 1237 <integer name="config_ntpPollingIntervalShorter">60000</integer> 1238 <!-- Number of times to try again with the shorter interval, before backing 1239 off until the normal polling interval. A value < 0 indicates infinite. --> 1240 <integer name="config_ntpRetry">3</integer> 1241 <!-- If the time difference is greater than this threshold in milliseconds, 1242 then update the time. --> 1243 <integer name="config_ntpThreshold">5000</integer> 1244 <!-- Timeout to wait for NTP server response. --> 1245 <integer name="config_ntpTimeout">20000</integer> 1246 1247 <!-- Default network policy warning threshold, in megabytes. --> 1248 <integer name="config_networkPolicyDefaultWarning">2048</integer> 1249 1250 <!-- Set and Unsets WiMAX --> 1251 <bool name="config_wimaxEnabled">false</bool> 1252 <!-- Location of the wimax framwork jar location --> 1253 <string name="config_wimaxServiceJarLocation" translatable="false"></string> 1254 <!-- Location of the wimax native library locaiton --> 1255 <string name="config_wimaxNativeLibLocation" translatable="false"></string> 1256 <!-- Name of the wimax manager class --> 1257 <string name="config_wimaxManagerClassname" translatable="false"></string> 1258 <!-- Name of the wimax service class --> 1259 <string name="config_wimaxServiceClassname" translatable="false"></string> 1260 <!-- Name of the wimax state tracker clas --> 1261 <string name="config_wimaxStateTrackerClassname" translatable="false"></string> 1262 1263 <!-- Specifies whether the dreams feature should be supported. 1264 When true, the system will allow the user to configure dreams (screensavers) 1265 to launch when a user activity timeout occurs or the system is told to nap. 1266 When false, the dreams feature will be disabled (this does not affect dozing). 1267 1268 Consider setting this resource to false or disabling dreams by default when a 1269 doze component is specified below since dreaming will supercede dozing and 1270 will prevent the system from entering a low power state until the dream ends. --> 1271 <bool name="config_dreamsSupported">true</bool> 1272 1273 <!-- If supported, are dreams enabled? (by default) --> 1274 <bool name="config_dreamsEnabledByDefault">true</bool> 1275 <!-- If supported and enabled, are dreams activated when docked? (by default) --> 1276 <bool name="config_dreamsActivatedOnDockByDefault">true</bool> 1277 <!-- If supported and enabled, are dreams activated when asleep and charging? (by default) --> 1278 <bool name="config_dreamsActivatedOnSleepByDefault">false</bool> 1279 <!-- ComponentName of the default dream (Settings.Secure.DEFAULT_SCREENSAVER_COMPONENT) --> 1280 <string name="config_dreamsDefaultComponent">com.google.android.deskclock/com.android.deskclock.Screensaver</string> 1281 1282 <!-- Are we allowed to dream while not plugged in? --> 1283 <bool name="config_dreamsEnabledOnBattery">false</bool> 1284 <!-- Minimum battery level to allow dreaming when powered. 1285 Use -1 to disable this safety feature. --> 1286 <integer name="config_dreamsBatteryLevelMinimumWhenPowered">-1</integer> 1287 <!-- Minimum battery level to allow dreaming when not powered. 1288 Use -1 to disable this safety feature. --> 1289 <integer name="config_dreamsBatteryLevelMinimumWhenNotPowered">15</integer> 1290 <!-- If the battery level drops by this percentage and the user activity timeout 1291 has expired, then assume the device is receiving insufficient current to charge 1292 effectively and terminate the dream. Use -1 to disable this safety feature. --> 1293 <integer name="config_dreamsBatteryLevelDrainCutoff">5</integer> 1294 1295 <!-- ComponentName of a dream to show whenever the system would otherwise have 1296 gone to sleep. When the PowerManager is asked to go to sleep, it will instead 1297 try to start this dream if possible. The dream should typically call startDozing() 1298 to put the display into a low power state and allow the application processor 1299 to be suspended. When the dream ends, the system will go to sleep as usual. 1300 Specify the component name or an empty string if none. 1301 1302 Note that doze dreams are not subject to the same start conditions as ordinary dreams. 1303 Doze dreams will run whenever the power manager is in a dozing state. --> 1304 <string name="config_dozeComponent"></string> 1305 1306 <!-- If true, the doze component is not started until after the screen has been 1307 turned off and the screen off animation has been performed. --> 1308 <bool name="config_dozeAfterScreenOff">false</bool> 1309 1310 <!-- Power Management: Specifies whether to decouple the auto-suspend state of the 1311 device from the display on/off state. 1312 1313 When false, autosuspend_disable() will be called before the display is turned on 1314 and autosuspend_enable() will be called after the display is turned off. 1315 This mode provides best compatibility for devices using legacy power management 1316 features such as early suspend / late resume. 1317 1318 When true, autosuspend_display() and autosuspend_enable() will be called 1319 independently of whether the display is being turned on or off. This mode 1320 enables the power manager to suspend the application processor while the 1321 display is on. 1322 1323 This resource should be set to "true" when a doze component has been specified 1324 to maximize power savings but not all devices support it. 1325 1326 Refer to autosuspend.h for details. 1327 --> 1328 <bool name="config_powerDecoupleAutoSuspendModeFromDisplay">false</bool> 1329 1330 <!-- Power Management: Specifies whether to decouple the interactive state of the 1331 device from the display on/off state. 1332 1333 When false, setInteractive(..., true) will be called before the display is turned on 1334 and setInteractive(..., false) will be called after the display is turned off. 1335 This mode provides best compatibility for devices that expect the interactive 1336 state to be tied to the display state. 1337 1338 When true, setInteractive(...) will be called independently of whether the display 1339 is being turned on or off. This mode enables the power manager to reduce 1340 clocks and disable the touch controller while the display is on. 1341 1342 This resource should be set to "true" when a doze component has been specified 1343 to maximize power savings but not all devices support it. 1344 1345 Refer to power.h for details. 1346 --> 1347 <bool name="config_powerDecoupleInteractiveModeFromDisplay">false</bool> 1348 1349 <!-- User activity timeout: Minimum screen off timeout in milliseconds. 1350 1351 Sets a lower bound for the {@link Settings.System#SCREEN_OFF_TIMEOUT} setting 1352 which determines how soon the device will go to sleep when there is no 1353 user activity. 1354 1355 This value must be greater than zero, otherwise the device will immediately 1356 fall asleep again as soon as it is awoken. 1357 --> 1358 <integer name="config_minimumScreenOffTimeout">10000</integer> 1359 1360 <!-- User activity timeout: Maximum screen dim duration in milliseconds. 1361 1362 Sets an upper bound for how long the screen will dim before the device goes 1363 to sleep when there is no user activity. The dim duration is subtracted from 1364 the overall screen off timeout to determine the screen dim timeout. 1365 When the screen dim timeout expires, the screen will dim, shortly thereafter 1366 the device will go to sleep. 1367 1368 If the screen off timeout is very short, the dim duration may be reduced 1369 proportionally. See config_maximumScreenDimRatio. 1370 1371 This value may be zero in which case the screen will not dim before the 1372 device goes to sleep. 1373 --> 1374 <integer name="config_maximumScreenDimDuration">7000</integer> 1375 1376 <!-- User activity timeout: Maximum screen dim duration as a percentage of screen off timeout. 1377 1378 This resource is similar to config_maximumScreenDimDuration but the maximum 1379 screen dim duration is defined as a ratio of the overall screen off timeout 1380 instead of as an absolute value in milliseconds. This is useful for reducing 1381 the dim duration when the screen off timeout is very short. 1382 1383 When computing the screen dim duration, the power manager uses the lesser 1384 of the effective durations expressed by config_maximumScreenDimDuration and 1385 config_maximumScreenDimRatio. 1386 1387 This value must be between 0% and 100%. If the value is zero, the screen will not 1388 dim before the device goes to sleep. 1389 --> 1390 <fraction name="config_maximumScreenDimRatio">20%</fraction> 1391 1392 <!-- Base "touch slop" value used by ViewConfiguration as a 1393 movement threshold where scrolling should begin. --> 1394 <dimen name="config_viewConfigurationTouchSlop">8dp</dimen> 1395 1396 <!-- Minimum velocity to initiate a fling, as measured in dips per second. --> 1397 <dimen name="config_viewMinFlingVelocity">50dp</dimen> 1398 1399 <!-- Maximum velocity to initiate a fling, as measured in dips per second. --> 1400 <dimen name="config_viewMaxFlingVelocity">8000dp</dimen> 1401 1402 <!-- Amount of time in ms the user needs to press the relevant key to bring up the global actions dialog --> 1403 <integer name="config_globalActionsKeyTimeout">500</integer> 1404 1405 <!-- Maximum number of grid columns permitted in the ResolverActivity 1406 used for picking activities to handle an intent. --> 1407 <integer name="config_maxResolverActivityColumns">3</integer> 1408 1409 <!-- Array of OEM specific USB mode override config. 1410 OEM can override a certain USB mode depending on ro.bootmode. 1411 Specify an array of below items to set override rule. 1412 [bootmode]:[original USB mode]:[USB mode used]--> 1413 <integer-array translatable="false" name="config_oemUsbModeOverride"> 1414 </integer-array> 1415 1416 <!-- Set to true to add links to Cell Broadcast app from Settings and MMS app. --> 1417 <bool name="config_cellBroadcastAppLinks">false</bool> 1418 1419 <!-- The default value if the SyncStorageEngine should sync automatically or not --> 1420 <bool name="config_syncstorageengine_masterSyncAutomatically">true</bool> 1421 1422 <!-- Maximum number of supported users --> 1423 <integer name="config_multiuserMaximumUsers">1</integer> 1424 <!-- Whether UI for multi user should be shown --> 1425 <bool name="config_enableMultiUserUI">false</bool> 1426 1427 <!-- If true, then we do not ask user for permission for apps to connect to USB devices. 1428 Do not set this to true for production devices. Doing so will cause you to fail CTS. --> 1429 <bool name="config_disableUsbPermissionDialogs">false</bool> 1430 1431 <!-- Minimum span needed to begin a touch scaling gesture. 1432 If the span is equal to or greater than this size, a scaling gesture 1433 will begin, where supported. (See android.view.ScaleGestureDetector) 1434 1435 This also takes into account the size of any active touch points. 1436 Devices with screens that deviate too far from their assigned density 1437 bucket should consider tuning this value in a device-specific overlay. 1438 For best results, care should be taken such that this value remains 1439 larger than the minimum reported touchMajor/touchMinor values 1440 reported by the hardware. --> 1441 <dimen name="config_minScalingSpan">27mm</dimen> 1442 1443 <!-- Minimum accepted value for touchMajor while scaling. This may be tuned 1444 per-device in overlays. --> 1445 <dimen name="config_minScalingTouchMajor">48dp</dimen> 1446 1447 <!-- Safe headphone volume index. When music stream volume is below this index 1448 the SPL on headphone output is compliant to EN 60950 requirements for portable music 1449 players. --> 1450 <integer name="config_safe_media_volume_index">10</integer> 1451 1452 <!-- Configure mobile network MTU. The standard default is set here but each carrier 1453 may have a specific value set in an overlay config.xml file. --> 1454 <integer name="config_mobile_mtu">1500</integer> 1455 1456 <!-- Configure mobile tcp buffer sizes in the form: 1457 rat-name:rmem_min,rmem_def,rmem_max,wmem_min,wmem_def,wmem_max 1458 If no value is found for the rat-name in use, the system default will be applied. 1459 --> 1460 <string-array name="config_mobile_tcp_buffers"> 1461 </string-array> 1462 1463 <!-- Configure ethernet tcp buffersizes in the form: 1464 rmem_min,rmem_def,rmem_max,wmem_min,wmem_def,wmem_max --> 1465 <string name="config_ethernet_tcp_buffers" translatable="false">524288,1048576,3145728,524288,1048576,2097152</string> 1466 1467 <!-- Configure wifi tcp buffersizes in the form: 1468 rmem_min,rmem_def,rmem_max,wmem_min,wmem_def,wmem_max --> 1469 <string name="config_wifi_tcp_buffers" translatable="false">524288,1048576,2097152,262144,524288,1048576</string> 1470 1471 <!-- Whether WiFi display is supported by this device. 1472 There are many prerequisites for this feature to work correctly. 1473 Here are a few of them: 1474 * The WiFi radio must support WiFi P2P. 1475 * The WiFi radio must support concurrent connections to the WiFi display and 1476 to an access point. 1477 * The Audio Flinger audio_policy.conf file must specify a rule for the "r_submix" 1478 remote submix module. This module is used to record and stream system 1479 audio output to the WiFi display encoder in the media server. 1480 * The remote submix module "audio.r_submix.default" must be installed on the device. 1481 * The device must be provisioned with HDCP keys (for protected content). 1482 --> 1483 <bool name="config_enableWifiDisplay">false</bool> 1484 1485 <!-- When true use the linux /dev/input/event subsystem to detect the switch changes 1486 on the headphone/microphone jack. When false use the older uevent framework. --> 1487 <bool name="config_useDevInputEventForAudioJack">false</bool> 1488 1489 <!-- Whether safe headphone volume is enabled or not (country specific). --> 1490 <bool name="config_safe_media_volume_enabled">true</bool> 1491 1492 <!-- Set to true if the wifi display supports compositing content stored 1493 in gralloc protected buffers. For this to be true, there must exist 1494 a protected hardware path for surface flinger to composite and send 1495 protected buffers to the wifi display video encoder. 1496 1497 If this flag is false, we advise applications not to use protected 1498 buffers (if possible) when presenting content to a wifi display because 1499 the content may be blanked. 1500 1501 This flag controls whether the {@link Display#FLAG_SUPPORTS_PROTECTED_BUFFERS} 1502 flag is set for wifi displays. 1503 --> 1504 <bool name="config_wifiDisplaySupportsProtectedBuffers">false</bool> 1505 1506 <!-- Whether camera shutter sound is forced or not (country specific). --> 1507 <bool name="config_camera_sound_forced">false</bool> 1508 1509 <!-- Set to true if we need to not prefer an APN. 1510 This is being added to enable a simple scenario of pre-paid 1511 provisioning on some carriers, working around a bug (7305641) 1512 where if the preferred is used we don't try the others. --> 1513 <bool name="config_dontPreferApn">false</bool> 1514 1515 <!-- The list of ril radio technologies (see ServiceState.java) which only support 1516 a single data connection at one time. This may change by carrier via 1517 overlays (some don't support multiple pdp on UMTS). All unlisted radio 1518 tech types support unlimited types (practically only 2-4 used). --> 1519 <integer-array name="config_onlySingleDcAllowed"> 1520 <item>4</item> <!-- IS95A --> 1521 <item>5</item> <!-- IS95B --> 1522 <item>6</item> <!-- 1xRTT --> 1523 <item>7</item> <!-- EVDO_0 --> 1524 <item>8</item> <!-- EVDO_A --> 1525 <item>12</item> <!-- EVDO_B --> 1526 </integer-array> 1527 1528 <!-- Set to true if after a provisioning apn the radio should be restarted --> 1529 <bool name="config_restartRadioAfterProvisioning">false</bool> 1530 1531 <!-- Boolean indicating if RADIO POWER OFF is required on receiving SIM REFRESH with RESET. 1532 This will be handled by modem if it is false. --> 1533 <bool name="config_requireRadioPowerOffOnSimRefreshReset">false</bool> 1534 1535 <!-- Vibrator pattern to be used as the default for notifications 1536 that specify DEFAULT_VIBRATE. 1537 --> 1538 <integer-array name="config_defaultNotificationVibePattern"> 1539 <item>0</item> 1540 <item>350</item> 1541 <item>250</item> 1542 <item>350</item> 1543 </integer-array> 1544 1545 <!-- Vibrator pattern to be used as the default for notifications 1546 that do not specify vibration but vibrate anyway because the device 1547 is in vibrate mode. 1548 --> 1549 <integer-array name="config_notificationFallbackVibePattern"> 1550 <item>0</item> 1551 <item>100</item> 1552 <item>150</item> 1553 <item>100</item> 1554 </integer-array> 1555 1556 <!-- Flag indicating if the speed up audio on mt call code should be executed --> 1557 <bool name="config_speed_up_audio_on_mt_calls">false</bool> 1558 1559 <!-- Class name of the framework account picker activity. 1560 Can be customized for other product types --> 1561 <string name="config_chooseAccountActivity" 1562 >android/android.accounts.ChooseAccountActivity</string> 1563 <!-- Class name of the account type and account picker activity. 1564 Can be customized for other product types --> 1565 <string name="config_chooseTypeAndAccountActivity" 1566 >android/android.accounts.ChooseTypeAndAccountActivity</string> 1567 1568 <!-- Component name of a custom ResolverActivity (Intent resolver) to be used instead of 1569 the default framework version. If left empty, then the framework version will be used. 1570 Example: com.google.android.myapp/.resolver.MyResolverActivity --> 1571 <string name="config_customResolverActivity"></string> 1572 1573 <!-- Name of the activity or service that prompts the user to reject, accept, or whitelist 1574 an adb host's public key, when an unwhitelisted host connects to the local adbd. 1575 Can be customized for other product types --> 1576 <string name="config_customAdbPublicKeyConfirmationComponent" 1577 >com.android.systemui/com.android.systemui.usb.UsbDebuggingActivity</string> 1578 1579 <!-- Name of the CustomDialog that is used for VPN --> 1580 <string name="config_customVpnConfirmDialogComponent" 1581 >com.android.vpndialogs/com.android.vpndialogs.ConfirmDialog</string> 1582 1583 <!-- Apps that are authorized to access shared accounts, overridden by product overlays --> 1584 <string name="config_appsAuthorizedForSharedAccounts">;com.android.settings;</string> 1585 1586 <!-- Flag indicating that the media framework should not allow changes or mute on any 1587 stream or master volumes. --> 1588 <bool name="config_useFixedVolume">false</bool> 1589 1590 <!-- The list of IMEs which should be disabled until used. 1591 This function suppresses update notifications for these pre-installed apps. 1592 We need to set this configuration carefully that they should not have functionarities 1593 other than "IME" or "Spell Checker". In InputMethodManagerService, 1594 the listed IMEs are disabled until used when all of the following conditions are met. 1595 1. Not selected as an enabled IME in the Settings 1596 2. Not selected as a spell checker in the Settings 1597 3. Installed 1598 4. A pre-installed IME 1599 5. Not enabled 1600 And the disabled_until_used state for an IME is released by InputMethodManagerService 1601 when the IME is selected as an enabled IME. --> 1602 <string-array name="config_disabledUntilUsedPreinstalledImes" translatable="false"> 1603 <item>com.android.inputmethod.latin</item> 1604 </string-array> 1605 1606 <!-- The list of classes that should be added to the notification ranking pipline. 1607 See {@link com.android.server.notification.NotificationSignalExtractor} --> 1608 <string-array name="config_notificationSignalExtractors"> 1609 <item>com.android.server.notification.ValidateNotificationPeople</item> 1610 <item>com.android.server.notification.PackagePriorityExtractor</item> 1611 <item>com.android.server.notification.NotificationIntrusivenessExtractor</item> 1612 <item>com.android.server.notification.PackageVisibilityExtractor</item> 1613 </string-array> 1614 1615 <!-- Flag indicating that this device does not rotate and will always remain in its default 1616 orientation. Activities that desire to run in a non-compatible orientation will be run 1617 from an emulated display within the physical display. --> 1618 <bool name="config_forceDefaultOrientation">false</bool> 1619 1620 <!-- Default Gravity setting for the system Toast view. Equivalent to: Gravity.CENTER_HORIZONTAL | Gravity.BOTTOM --> 1621 <integer name="config_toastDefaultGravity">0x00000051</integer> 1622 1623 <!-- set to false if we need to show user confirmation 1624 when alpha identifier is not provided by the UICC --> 1625 <bool name="config_stkNoAlphaUsrCnf">true</bool> 1626 1627 <!-- Don't use roaming icon for considered operators. 1628 Can use mcc or mcc+mnc as item. For example, 302 or 21407. 1629 If operators, 21404 and 21407, make roaming agreements, user of 21404 should not see 1630 the roaming icon as using 21407 network. 1631 To do this, add 21407 item to values-mcc214-mnc04/config.xml --> 1632 <string-array translatable="false" name="config_operatorConsideredNonRoaming"> 1633 </string-array> 1634 1635 <!-- Threshold (in ms) under which a screen off / screen on will be considered a reset of the 1636 immersive mode confirmation prompt.--> 1637 <integer name="config_immersive_mode_confirmation_panic">5000</integer> 1638 1639 <!-- For some operators, PDU has garbages. To fix it, need to use valid index --> 1640 <integer name="config_valid_wappush_index">-1</integer> 1641 1642 <!-- Show roaming icon though same named operators. 1643 Uses "startsWith" so you can use a leading substring like the mcc or 1644 use the complete mcc+mnc string. 1645 Though same mcc and same operator name, some operator want to roam. 1646 user of 40485 should see the roaming icon as using 40483 network 1647 though same Reliance network. 1648 To do this, add 40483 item to values-mcc404-mnc85/config.xml --> 1649 <string-array translatable="false" name="config_sameNamedOperatorConsideredRoaming"> 1650 </string-array> 1651 <!-- call barring MMI code from TS 22.030 Annex B --> 1652 <string-array translatable="false" name="config_callBarringMMI"> 1653 <item>33</item> 1654 <item>331</item> 1655 <item>332</item> 1656 <item>35</item> 1657 <item>351</item> 1658 <item>330</item> 1659 <item>333</item> 1660 <item>353</item> 1661 </string-array> 1662 1663 <!-- Override the default detection behavior for the framework method 1664 android.view.ViewConfiguration#hasPermanentMenuKey(). 1665 Valid settings are: 1666 0 - No change. Use the default autodetection behavior. 1667 1 - The device DOES have a permanent menu key; ignore autodetection. 1668 2 - The device DOES NOT have a permanent menu key; ignore autodetection. --> 1669 <integer name="config_overrideHasPermanentMenuKey">0</integer> 1670 1671 <!-- Override the DPad detection behavior for configuration purposes --> 1672 <bool name="config_hasPermanentDpad">false</bool> 1673 1674 <!-- default window inset isRound property --> 1675 <bool name="config_windowIsRound">false</bool> 1676 1677 <!-- Package name for default network scorer app; overridden by product overlays. --> 1678 <string name="config_defaultNetworkScorerPackageName"></string> 1679 1680 <!-- default device has recents property --> 1681 <bool name="config_hasRecents">true</bool> 1682 1683 <!-- default window ShowCircularMask property --> 1684 <bool name="config_windowShowCircularMask">false</bool> 1685 1686 <!-- default value for whether circular emulators (ro.emulator.circular) 1687 should show a display overlay on the screen --> 1688 <bool name="config_windowEnableCircularEmulatorDisplayOverlay">false</bool> 1689 1690 <!-- Defines the default set of global actions. Actions may still be disabled or hidden based 1691 on the current state of the device. 1692 Each item must be one of the following strings: 1693 "power" = Power off 1694 "settings" = An action to launch settings 1695 "airplane" = Airplane mode toggle 1696 "bugreport" = Take bug report, if available 1697 "silent" = silent mode 1698 "users" = list of users 1699 --> 1700 <string-array translatable="false" name="config_globalActionsList"> 1701 <item>power</item> 1702 <item>bugreport</item> 1703 <item>users</item> 1704 </string-array> 1705 1706 <!-- default telephony hardware configuration for this platform. 1707 --> 1708 <!-- this string array should be overridden by the device to present a list 1709 telephony hardware resource. this is used by the telephony device controller 1710 (TDC) to offer the basic capabilities of the hardware to the telephony 1711 framework 1712 --> 1713 <!-- an array of "[hardware type],[hardware-uuid],[state],[[hardware-type specific]]" 1714 with, [[hardware-type specific]] in: 1715 - "[[ril-model],[rat],[max-active-voice],[max-active-data],[max-active-standby]]" 1716 for 'modem' hardware 1717 - "[[associated-modem-uuid]]" 1718 for 'sim' hardware. 1719 refer to HardwareConfig in com.android.internal.telephony for specific details/values 1720 those elements can carry. 1721 --> 1722 <string-array translatable="false" name="config_telephonyHardware"> 1723 <!-- modem --> 1724 <item>"0,modem,0,0,0,1,1,1"</item> 1725 <!-- sim --> 1726 <item>"1,sim,0,modem"</item> 1727 </string-array> 1728 1729 <!-- This string array can be overriden to add an additional DRM support for WebView EME. --> 1730 <!-- Array of "[keySystemName],[UuidOfMediaDrm]" @hide @SystemApi --> 1731 <string-array name="config_keySystemUuidMapping" translatable="false"> 1732 <!-- Example: 1733 <item>"x-com.microsoft.playready,9A04F079-9840-4286-AB92-E65BE0885F95"</item> 1734 --> 1735 </string-array> 1736 1737 <!-- Flag indicating which package name can access the persistent data partition --> 1738 <string name="config_persistentDataPackageName" translatable="false"></string> 1739 1740 <!-- Flag indicating apps will skip sending hold request before merge. In this case 1741 IMS service implementation will do both.i.e.hold followed by merge. --> 1742 <bool name="skipHoldBeforeMerge">true</bool> 1743 1744 <!-- Flag indicating emergency calls will always use IMS irrespective of the state of 1745 the IMS connection --> 1746 <bool name="useImsAlwaysForEmergencyCall">true</bool> 1747 1748 <!-- Flag indicating whether the IMS service can be turned off. If false then 1749 the service will not be turned-off completely (the ImsManager.turnOffIms() will 1750 be disabled) but individual Features can be disabled using ImsConfig.setFeatureValue() --> 1751 <bool name="imsServiceAllowTurnOff">true</bool> 1752 1753 <!-- Flag specifying whether VoLTE & VT is availasble on device --> 1754 <bool name="config_device_volte_vt_available">false</bool> 1755 1756 <!-- Flag specifying whether VoLTE & VT should be available for carrier: independent of 1757 carrier provisioning. If false: hard disabled. If true: then depends on carrier 1758 provisioning, availability etc --> 1759 <bool name="config_carrier_volte_vt_available">false</bool> 1760 1761 <bool name="config_networkSamplingWakesDevice">true</bool> 1762 1763 <string-array translatable="false" name="config_cdma_home_system" /> 1764 1765 <!-- Default text encoding for WebSettings. @hide @SystemApi --> 1766 <string name="config_webSettingsDefaultTextEncoding">UTF-8</string> 1767 1768 <!--From SmsMessage--> 1769 <!--Support decoding the user data payload as pack GSM 8-bit (a GSM alphabet 1770 string that's stored in 8-bit unpacked format) characters.--> 1771 <bool translatable="false" name="config_sms_decode_gsm_8bit_data">false</bool> 1772 1773 <!-- Package name providing WebView implementation. --> 1774 <string name="config_webViewPackageName" translatable="false">com.android.webview</string> 1775 1776 <!-- If EMS is not supported, framework breaks down EMS into single segment SMS 1777 and adds page info " x/y". This config is used to set which carrier doesn't 1778 support EMS and whether page info should be added at the beginning or the end. 1779 We use tag 'prefix' for position beginning and 'suffix' for position end. 1780 And use gid to distinguish different carriers which using same mcc and mnc. 1781 Examples: <item>simOperatorNumber;position;gid(optional)</item>> 1782 --> 1783 <string-array translatable="false" name="no_ems_support_sim_operators"> 1784 <!-- VZW --> 1785 <item>20404;suffix;BAE0000000000000</item> 1786 </string-array> 1787 1788 <bool name="config_auto_attach_data_on_creation">true</bool> 1789 1790 <!-- Values for GPS configuration --> 1791 <string-array translatable="false" name="config_gpsParameters"> 1792 <item>SUPL_HOST=supl.google.com</item> 1793 <item>SUPL_PORT=7275</item> 1794 <item>NTP_SERVER=north-america.pool.ntp.org</item> 1795 <item>SUPL_VER=0x20000</item> 1796 <item>SUPL_MODE=1</item> 1797 </string-array> 1798 1799 <!-- If there is no preload VM number in the sim card, carriers such as 1800 Verizon require to load a default vm number from the configurantion. 1801 Define config_default_vm_number for this purpose. And there are two 1802 optional formats for this configuration as below: 1803 (1)<item>voicemail number</item> 1804 (2)<item>voicemail number;gid</item> 1805 The logic to pick up the correct voicemail number: 1806 (1) If the config_default_vm_number array has no gid special item, the last one will be 1807 picked 1808 (2) If the config_default_vm_number array has gid special item and it matches the current 1809 sim's gid, it will be picked. 1810 (3) If the config_default_vm_number array has gid special item but it doesn't match the 1811 current sim's gid, the last one without gid will be picked --> 1812 <string-array translatable="false" name="config_default_vm_number" /> 1813 1814 <!-- Sprint need a 70 ms delay for 3way call --> 1815 <integer name="config_cdma_3waycall_flash_delay">0</integer> 1816 1817 <!--SIM does not save, but the voice mail number to be changed. --> 1818 <bool name="editable_voicemailnumber">false</bool> 1819 1820 <!-- service number convert map in roaming network. --> 1821 <!-- [dialstring],[replacement][,optional gid] --> 1822 <string-array translatable="false" name="dial_string_replace"> 1823 </string-array> 1824 1825 <!-- Flag indicating whether radio is to be restarted on the error of 1826 PDP_FAIL_REGULAR_DEACTIVATION/0x24 --> 1827 <bool name="config_restart_radio_on_pdp_fail_regular_deactivation">false</bool> 1828 1829 <!-- networks that don't want data deactivate when shutdown the phone 1830 note this is dependent on the operator of the network we're on, 1831 not operator on the SIM --> 1832 <string-array translatable="false" name="networks_not_clear_data"> 1833 <item>71203</item> 1834 <item>71606</item> 1835 <item>71610</item> 1836 <item>732101</item> 1837 </string-array> 1838</resources> 1839