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