config.xml revision e0be933ec7c05826683e61665644bf106f081f34
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. --> 22<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> 23 <!-- Component to be used as the status bar service. Must implement the IStatusBar 24 interface. This name is in the ComponentName flattened format (package/class) --> 25 <string name="config_statusBarComponent">com.android.systemui/com.android.systemui.statusbar.StatusBarService</string> 26 27 <!-- Do not translate. Defines the slots for the right-hand side icons. That is to say, the 28 icons in the status bar that are not notifications. --> 29 <string-array name="config_statusBarIcons"> 30 <item><xliff:g id="id">ime</xliff:g></item> 31 <item><xliff:g id="id">sync_failing</xliff:g></item> 32 <item><xliff:g id="id">sync_active</xliff:g></item> 33 <item><xliff:g id="id">gps</xliff:g></item> 34 <item><xliff:g id="id">bluetooth</xliff:g></item> 35 <item><xliff:g id="id">nfc</xliff:g></item> 36 <item><xliff:g id="id">tty</xliff:g></item> 37 <item><xliff:g id="id">speakerphone</xliff:g></item> 38 <item><xliff:g id="id">mute</xliff:g></item> 39 <item><xliff:g id="id">volume</xliff:g></item> 40 <item><xliff:g id="id">wifi</xliff:g></item> 41 <item><xliff:g id="id">cdma_eri</xliff:g></item> 42 <item><xliff:g id="id">data_connection</xliff:g></item> 43 <item><xliff:g id="id">phone_evdo_signal</xliff:g></item> 44 <item><xliff:g id="id">phone_signal</xliff:g></item> 45 <item><xliff:g id="id">battery</xliff:g></item> 46 <item><xliff:g id="id">alarm_clock</xliff:g></item> 47 <item><xliff:g id="id">secure</xliff:g></item> 48 <item><xliff:g id="id">clock</xliff:g></item> 49 </string-array> 50 51 <!-- Flag indicating whether the surface flinger has limited 52 alpha compositing functionality in hardware. If set, the window 53 manager will disable alpha trasformation in animations where not 54 strictly needed. --> 55 <bool name="config_sf_limitedAlpha">false</bool> 56 57 <!-- Flag indicating whether the surface flinger is inefficient 58 at performing a blur. Used by parts of the UI to turn off 59 the blur effect where it isn't worth the performance hit. --> 60 <bool name="config_sf_slowBlur">false</bool> 61 62 <!-- The duration (in milliseconds) of a short animation. --> 63 <integer name="config_shortAnimTime">150</integer> 64 65 <!-- The duration (in milliseconds) of a medium-length animation. --> 66 <integer name="config_mediumAnimTime">300</integer> 67 68 <!-- The duration (in milliseconds) of a long animation. --> 69 <integer name="config_longAnimTime">400</integer> 70 71 <!-- The duration (in milliseconds) that the radio will scan for a signal 72 when there's no network connection. If the scan doesn't timeout, use zero --> 73 <integer name="config_radioScanningTimeout">0</integer> 74 75 <!-- A product with no SD card == not removable. --> 76 <bool name="config_externalStorageRemovable" product="nosdcard">false</bool> 77 <!-- Configures whether the primary external storage device is 78 removable. For example, if external storage is on an SD card, 79 it is removable; if it is built in to the device, it is not removable. 80 The default product has external storage on an SD card, which is 81 removable. --> 82 <bool name="config_externalStorageRemovable" product="default">true</bool> 83 84 <!-- XXXXX NOTE THE FOLLOWING RESOURCES USE THE WRONG NAMING CONVENTION. 85 Please don't copy them, copy anything else. --> 86 87 <!-- This string array should be overridden by the device to present a list of network 88 attributes. This is used by the connectivity manager to decide which networks can coexist 89 based on the hardware --> 90 <!-- An Array of "[Connection name],[ConnectivityManager connection type], 91 [associated radio-type],[priority] --> 92 <string-array translatable="false" name="networkAttributes"> 93 <item>"wifi,1,1,1"</item> 94 <item>"mobile,0,0,0"</item> 95 <item>"mobile_mms,2,0,2"</item> 96 <item>"mobile_supl,3,0,2"</item> 97 <item>"mobile_hipri,5,0,3"</item> 98 </string-array> 99 100 <!-- This string array should be overridden by the device to present a list of radio 101 attributes. This is used by the connectivity manager to decide which networks can coexist 102 based on the hardware --> 103 <!-- An Array of "[ConnectivityManager connectionType], 104 [# simultaneous connection types]" --> 105 <string-array translatable="false" name="radioAttributes"> 106 <item>"1,1"</item> 107 <item>"0,1"</item> 108 </string-array> 109 110 <!-- List of regexpressions describing the interface (if any) that represent tetherable 111 USB interfaces. If the device doesn't want to support tething over USB this should 112 be empty. An example would be "usb.*" --> 113 <string-array translatable="false" name="config_tether_usb_regexs"> 114 </string-array> 115 116 <!-- List of regexpressions describing the interface (if any) that represent tetherable 117 Wifi interfaces. If the device doesn't want to support tethering over Wifi this 118 should be empty. An example would be "softap.*" --> 119 <string-array translatable="false" name="config_tether_wifi_regexs"> 120 </string-array> 121 122 <!-- Dhcp range (min, max) to use for tethering purposes --> 123 <string-array translatable="false" name="config_tether_dhcp_range"> 124 </string-array> 125 126 <!-- Regex array of allowable upstream ifaces for tethering - for example if you want 127 tethering on a new interface called "foo2" add <item>"foo\\d"</item> to the array --> 128 <string-array translatable="false" name="config_tether_upstream_regexs"> 129 </string-array> 130 131 <!-- Boolean indicating if we require the use of DUN on mobile for tethering. 132 Note that this defaults to false so that if you move to a carrier that 133 hasn't configured anything tethering will still work. If you'd rather 134 make the device untetherable on unconfigured devices, set to true --> 135 <bool translatable="false" name="config_tether_dun_required">false</bool> 136 137 <!-- String containing the apn value for tethering. May be overriden by secure settings 138 TETHER_DUN_APN. Value is a comma separated series of strings: 139 "name,apn,proxy,port,username,password,server,mmsc,mmsproxy,mmsport,mcc,mnc,auth,type" 140 note that empty fields can be ommitted: "name,apn,,,,,,,,,310,260,,DUN" --> 141 <string translatable="false" name="config_tether_apndata"></string> 142 143 144 <!-- Flag indicating whether the keyguard should be bypassed when 145 the slider is open. This can be set or unset depending how easily 146 the slider can be opened (for example, in a pocket or purse). --> 147 <bool name="config_bypass_keyguard_if_slider_open">true</bool> 148 149 <!-- Flag indicating whether the we should enable the automatic brightness in Settings. 150 Software implementation will be used if config_hardware_auto_brightness_available is not set --> 151 <bool name="config_automatic_brightness_available">false</bool> 152 153 <!-- Don't name config resources like this. It should look like config_annoyDianne --> 154 <bool name="config_annoy_dianne">true</bool> 155 156 <!-- If this is true, the screen will come on when you unplug usb/power/whatever. --> 157 <bool name="config_unplugTurnsOnScreen">false</bool> 158 159 <!-- If this is true, the screen will fade off. --> 160 <bool name="config_animateScreenLights">true</bool> 161 162 <!-- XXXXXX END OF RESOURCES USING WRONG NAMING CONVENTION --> 163 164 <!-- The number of degrees to rotate the display when the keyboard is open. --> 165 <integer name="config_lidOpenRotation">90</integer> 166 167 <!-- The number of degrees to rotate the display when the device is in a desk dock. 168 A value of -1 means no change in orientation by default. --> 169 <integer name="config_deskDockRotation">-1</integer> 170 171 <!-- The number of degrees to rotate the display when the device is in a car dock. 172 A value of -1 means no change in orientation by default. --> 173 <integer name="config_carDockRotation">-1</integer> 174 175 <!-- Control whether being in the desk dock (and powered) always 176 keeps the screen on. By default it stays on when plugged in to 177 AC. 0 will not keep it on; or together 1 to stay on when plugged 178 in to AC and 2 to stay on when plugged in to USB. (So 3 for both.) --> 179 <integer name="config_deskDockKeepsScreenOn">1</integer> 180 181 <!-- Control whether being in the car dock (and powered) always 182 keeps the screen on. By default it stays on when plugged in to 183 AC. 0 will not keep it on; or together 1 to stay on when plugged 184 in to AC and 2 to stay on when plugged in to USB. (So 3 for both.) --> 185 <integer name="config_carDockKeepsScreenOn">1</integer> 186 187 <!-- Control whether being in the desk dock should enable accelerometer 188 based screen orientation. Note this should probably default to true 189 like car dock, but we haven't had a chance to test it. --> 190 <bool name="config_deskDockEnablesAccelerometer">false</bool> 191 192 <!-- Control whether being in the car dock should enable accelerometer based 193 screen orientation. This defaults to true because putting a device in 194 a car dock make the accelerometer more a physical input (like a lid). --> 195 <bool name="config_carDockEnablesAccelerometer">true</bool> 196 197 <!-- Indicate whether the lid state impacts the accessibility of 198 the physical keyboard. 0 means it doesn't, 1 means it is accessible 199 when the lid is open, 2 means it is accessible when the lid is 200 closed. The default is 1. --> 201 <integer name="config_lidKeyboardAccessibility">1</integer> 202 203 <!-- Indicate whether the lid state impacts the accessibility of 204 the physical keyboard. 0 means it doesn't, 1 means it is accessible 205 when the lid is open, 2 means it is accessible when the lid is 206 closed. The default is 0. --> 207 <integer name="config_lidNavigationAccessibility">0</integer> 208 209 <!-- Indicate whether the SD card is accessible without removing the battery. --> 210 <bool name="config_batterySdCardAccessibility">false</bool> 211 212 <!-- Vibrator pattern for feedback about a long screen/key press --> 213 <integer-array name="config_longPressVibePattern"> 214 <item>0</item> 215 <item>1</item> 216 <item>20</item> 217 <item>21</item> 218 </integer-array> 219 220 <!-- Vibrator pattern for feedback about touching a virtual key --> 221 <integer-array name="config_virtualKeyVibePattern"> 222 <item>0</item> 223 <item>10</item> 224 <item>20</item> 225 <item>30</item> 226 </integer-array> 227 228 <!-- Vibrator pattern for a very short but reliable vibration for soft keyboard tap --> 229 <integer-array name="config_keyboardTapVibePattern"> 230 <item>40</item> 231 </integer-array> 232 233 <!-- Vibrator pattern for feedback about booting with safe mode disabled --> 234 <integer-array name="config_safeModeDisabledVibePattern"> 235 <item>0</item> 236 <item>1</item> 237 <item>20</item> 238 <item>21</item> 239 </integer-array> 240 241 <!-- Vibrator pattern for feedback about booting with safe mode disabled --> 242 <integer-array name="config_safeModeEnabledVibePattern"> 243 <item>0</item> 244 <item>1</item> 245 <item>20</item> 246 <item>21</item> 247 <item>500</item> 248 <item>600</item> 249 </integer-array> 250 251 <!-- Vibrator pattern for feedback about hitting a scroll barrier --> 252 <integer-array name="config_scrollBarrierVibePattern"> 253 <item>0</item> 254 <item>15</item> 255 <item>10</item> 256 <item>10</item> 257 </integer-array> 258 259 <bool name="config_use_strict_phone_number_comparation">false</bool> 260 261 <!-- Display low battery warning when battery level dips to this value --> 262 <integer name="config_lowBatteryWarningLevel">15</integer> 263 264 <!-- Close low battery warning when battery level reaches this value --> 265 <integer name="config_lowBatteryCloseWarningLevel">20</integer> 266 267 <!-- Default color for notification LED. --> 268 <color name="config_defaultNotificationColor">#ff00ff00</color> 269 270 <!-- Default LED on time for notification LED in milliseconds. --> 271 <integer name="config_defaultNotificationLedOn">500</integer> 272 273 <!-- Default LED off time for notification LED in milliseconds. --> 274 <integer name="config_defaultNotificationLedOff">2000</integer> 275 276 <!-- Allow the menu hard key to be disabled in LockScreen on some devices --> 277 <bool name="config_disableMenuKeyInLockScreen">false</bool> 278 279 <!-- Array of light sensor LUX values to define our levels for auto backlight brightness support. 280 The N entries of this array define N + 1 zones as follows: 281 282 Zone 0: 0 <= LUX < array[0] 283 Zone 1: array[0] <= LUX < array[1] 284 ... 285 Zone N: array[N - 1] <= LUX < array[N] 286 Zone N + 1: array[N] <= LUX < infinity 287 288 Must be overridden in platform specific overlays --> 289 <integer-array name="config_autoBrightnessLevels"> 290 </integer-array> 291 292 <!-- Array of output values for LCD backlight corresponding to the LUX values 293 in the config_autoBrightnessLevels array. This array should have size one greater 294 than the size of the config_autoBrightnessLevels array. 295 This must be overridden in platform specific overlays --> 296 <integer-array name="config_autoBrightnessLcdBacklightValues"> 297 </integer-array> 298 299 <!-- Array of output values for button backlight corresponding to the LUX values 300 in the config_autoBrightnessLevels array. This array should have size one greater 301 than the size of the config_autoBrightnessLevels array. 302 This must be overridden in platform specific overlays --> 303 <integer-array name="config_autoBrightnessButtonBacklightValues"> 304 </integer-array> 305 306 <!-- Array of output values for keyboard backlight corresponding to the LUX values 307 in the config_autoBrightnessLevels array. This array should have size one greater 308 than the size of the config_autoBrightnessLevels array. 309 This must be overridden in platform specific overlays --> 310 <integer-array name="config_autoBrightnessKeyboardBacklightValues"> 311 </integer-array> 312 313 <!-- Amount of time it takes for the light sensor to warm up in milliseconds. 314 For this time after the screen turns on, the Power Manager 315 will not debounce light sensor readings --> 316 <integer name="config_lightSensorWarmupTime">0</integer> 317 318 <!-- Enables swipe versus poly-finger touch disambiguation in the KeyboardView --> 319 <bool name="config_swipeDisambiguation">true</bool> 320 321 <!-- Enables special filtering code in the framework for raw touch events 322 from the touch driver. This code exists for one particular device, 323 and should not be enabled for any others. Hopefully in the future 324 it will be removed when the lower-level touch driver generates better 325 data. --> 326 <bool name="config_filterTouchEvents">false</bool> 327 328 <!-- Enables special filtering code in the framework for raw touch events 329 from the touch driver. This code exists for one particular device, 330 and should not be enabled for any others. --> 331 <bool name="config_filterJumpyTouchEvents">false</bool> 332 333 <!-- Component name of the default wallpaper. This will be ImageWallpaper if not 334 specified --> 335 <string name="default_wallpaper_component">@null</string> 336 337 <!-- Component name of the service providing network location support. --> 338 <string name="config_networkLocationProvider">@null</string> 339 340 <!-- Component name of the service providing geocoder API support. --> 341 <string name="config_geocodeProvider">@null</string> 342 343 <!-- Boolean indicating if current platform supports bluetooth SCO for off call 344 use cases --> 345 <bool name="config_bluetooth_sco_off_call">true</bool> 346 347 <!-- The default data-use polling period. --> 348 <integer name="config_datause_polling_period_sec">600</integer> 349 350 <!-- The default data-use threshold in bytes. 0 disables--> 351 <integer name="config_datause_threshold_bytes">0</integer> 352 353 <!-- The default reduced-datarate value in kilobits per sec --> 354 <integer name="config_datause_throttle_kbitsps">300</integer> 355 356 <!-- The default iface on which to monitor data use --> 357 <string name="config_datause_iface">rmnet0</string> 358 359 <!-- The default reduced-datarate notification mask --> 360 <!-- 2 means give warning --> 361 <integer name="config_datause_notification_type">2</integer> 362 363 <!-- Enables SIP on WIFI only --> 364 <bool name="config_sip_wifi_only">true</bool> 365 366 <!-- Boolean indicating if restoring network selection should be skipped --> 367 <!-- The restoring is handled by modem if it is true--> 368 <bool translatable="false" name="skip_restoring_network_selection">false</bool> 369</resources> 370