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