OSDN Git Service

Merge "docs: Add documentation for equals() method" into qt-dev
[android-x86/frameworks-base.git] / core / res / res / values / config.xml
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
23      NOTE: The naming convention is "config_camelCaseValue". Some legacy
24      entries do not follow the convention, but all new entries should. -->
25
26 <resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
27     <!-- Do not translate. Defines the slots for the right-hand side icons.  That is to say, the
28          icons in the status bar that are not notifications. -->
29     <string-array name="config_statusBarIcons">
30         <item><xliff:g id="id">@string/status_bar_alarm_clock</xliff:g></item>
31         <item><xliff:g id="id">@string/status_bar_rotate</xliff:g></item>
32         <item><xliff:g id="id">@string/status_bar_headset</xliff:g></item>
33         <item><xliff:g id="id">@string/status_bar_data_saver</xliff:g></item>
34         <item><xliff:g id="id">@string/status_bar_ime</xliff:g></item>
35         <item><xliff:g id="id">@string/status_bar_sync_failing</xliff:g></item>
36         <item><xliff:g id="id">@string/status_bar_sync_active</xliff:g></item>
37         <item><xliff:g id="id">@string/status_bar_nfc</xliff:g></item>
38         <item><xliff:g id="id">@string/status_bar_tty</xliff:g></item>
39         <item><xliff:g id="id">@string/status_bar_speakerphone</xliff:g></item>
40         <item><xliff:g id="id">@string/status_bar_cdma_eri</xliff:g></item>
41         <item><xliff:g id="id">@string/status_bar_data_connection</xliff:g></item>
42         <item><xliff:g id="id">@string/status_bar_phone_evdo_signal</xliff:g></item>
43         <item><xliff:g id="id">@string/status_bar_phone_signal</xliff:g></item>
44         <item><xliff:g id="id">@string/status_bar_secure</xliff:g></item>
45         <item><xliff:g id="id">@string/status_bar_managed_profile</xliff:g></item>
46         <item><xliff:g id="id">@string/status_bar_cast</xliff:g></item>
47         <item><xliff:g id="id">@string/status_bar_vpn</xliff:g></item>
48         <item><xliff:g id="id">@string/status_bar_bluetooth</xliff:g></item>
49         <item><xliff:g id="id">@string/status_bar_camera</xliff:g></item>
50         <item><xliff:g id="id">@string/status_bar_microphone</xliff:g></item>
51         <item><xliff:g id="id">@string/status_bar_location</xliff:g></item>
52         <item><xliff:g id="id">@string/status_bar_mute</xliff:g></item>
53         <item><xliff:g id="id">@string/status_bar_volume</xliff:g></item>
54         <item><xliff:g id="id">@string/status_bar_zen</xliff:g></item>
55         <item><xliff:g id="id">@string/status_bar_ethernet</xliff:g></item>
56         <item><xliff:g id="id">@string/status_bar_wifi</xliff:g></item>
57         <item><xliff:g id="id">@string/status_bar_hotspot</xliff:g></item>
58         <item><xliff:g id="id">@string/status_bar_mobile</xliff:g></item>
59         <item><xliff:g id="id">@string/status_bar_airplane</xliff:g></item>
60         <item><xliff:g id="id">@string/status_bar_battery</xliff:g></item>
61         <item><xliff:g id="id">@string/status_bar_sensors_off</xliff:g></item>
62     </string-array>
63
64     <string translatable="false" name="status_bar_rotate">rotate</string>
65     <string translatable="false" name="status_bar_headset">headset</string>
66     <string translatable="false" name="status_bar_data_saver">data_saver</string>
67     <string translatable="false" name="status_bar_managed_profile">managed_profile</string>
68     <string translatable="false" name="status_bar_ime">ime</string>
69     <string translatable="false" name="status_bar_sync_failing">sync_failing</string>
70     <string translatable="false" name="status_bar_sync_active">sync_active</string>
71     <string translatable="false" name="status_bar_cast">cast</string>
72     <string translatable="false" name="status_bar_hotspot">hotspot</string>
73     <string translatable="false" name="status_bar_location">location</string>
74     <string translatable="false" name="status_bar_bluetooth">bluetooth</string>
75     <string translatable="false" name="status_bar_nfc">nfc</string>
76     <string translatable="false" name="status_bar_tty">tty</string>
77     <string translatable="false" name="status_bar_speakerphone">speakerphone</string>
78     <string translatable="false" name="status_bar_zen">zen</string>
79     <string translatable="false" name="status_bar_mute">mute</string>
80     <string translatable="false" name="status_bar_volume">volume</string>
81     <string translatable="false" name="status_bar_wifi">wifi</string>
82     <string translatable="false" name="status_bar_cdma_eri">cdma_eri</string>
83     <string translatable="false" name="status_bar_data_connection">data_connection</string>
84     <string translatable="false" name="status_bar_phone_evdo_signal">phone_evdo_signal</string>
85     <string translatable="false" name="status_bar_phone_signal">phone_signal</string>
86     <string translatable="false" name="status_bar_battery">battery</string>
87     <string translatable="false" name="status_bar_alarm_clock">alarm_clock</string>
88     <string translatable="false" name="status_bar_secure">secure</string>
89     <string translatable="false" name="status_bar_clock">clock</string>
90     <string translatable="false" name="status_bar_mobile">mobile</string>
91     <string translatable="false" name="status_bar_vpn">vpn</string>
92     <string translatable="false" name="status_bar_ethernet">ethernet</string>
93     <string translatable="false" name="status_bar_microphone">microphone</string>
94     <string translatable="false" name="status_bar_camera">camera</string>
95     <string translatable="false" name="status_bar_airplane">airplane</string>
96     <string translatable="false" name="status_bar_sensors_off">sensors_off</string>
97
98     <!-- Flag indicating whether the surface flinger has limited
99          alpha compositing functionality in hardware.  If set, the window
100          manager will disable alpha trasformation in animations where not
101          strictly needed. -->
102     <bool name="config_sf_limitedAlpha">false</bool>
103
104     <!-- Default value used to block data calls if ims is not
105          connected.  If you use the ims apn DCT will block
106          any other apn from connecting until ims apn is connected-->
107     <bool name="ImsConnectedDefaultValue">false</bool>
108
109     <!-- Flag indicating whether the surface flinger is inefficient
110          at performing a blur.  Used by parts of the UI to turn off
111          the blur effect where it isn't worth the performance hit.
112          As of Honeycomb, blurring is not supported anymore. -->
113     <bool name="config_sf_slowBlur">true</bool>
114
115     <!-- Flag indicating that the media framework should support playing of sounds on volume
116          key usage.  This adds noticeable additional overhead to volume key processing, so
117          is disableable for products for which it is irrelevant. -->
118     <bool name="config_useVolumeKeySounds">true</bool>
119
120     <!-- The attenuation in dB applied to the sound effects played
121          through AudioManager.playSoundEffect() when no volume is specified. -->
122     <integer name="config_soundEffectVolumeDb">-6</integer>
123
124     <!-- The attenuation in dB applied to the lock/unlock sounds. -->
125     <integer name="config_lockSoundVolumeDb">-6</integer>
126
127     <!-- Flag indicating whether the AUDIO_BECOMING_NOISY notification should
128          be sent during a change to the audio output device. -->
129     <bool name="config_sendAudioBecomingNoisy">true</bool>
130
131     <!-- Whether Hearing Aid profile is supported -->
132     <bool name="config_hearing_aid_profile_supported">false</bool>
133
134     <!-- Flag to disable all transition animations -->
135     <bool name="config_disableTransitionAnimation">false</bool>
136
137     <!-- The duration (in milliseconds) of a short animation. -->
138     <integer name="config_shortAnimTime">200</integer>
139
140     <!-- The duration (in milliseconds) of a medium-length animation. -->
141     <integer name="config_mediumAnimTime">400</integer>
142
143     <!-- The duration (in milliseconds) of a long animation. -->
144     <integer name="config_longAnimTime">500</integer>
145
146     <!-- The duration (in milliseconds) of the activity open/close and fragment open/close animations. -->
147     <integer name="config_activityShortDur">150</integer>
148     <integer name="config_activityDefaultDur">220</integer>
149
150     <!-- The duration (in milliseconds) of the tooltip show/hide animations. -->
151     <integer name="config_tooltipAnimTime">150</integer>
152
153     <!-- Duration for the dim animation behind a dialog.  This may be either
154          a percentage, which is relative to the duration of the enter/open
155          animation of the window being shown that is dimming behind, or it may
156          be an integer for a constant duration. -->
157     <fraction name="config_dimBehindFadeDuration">100%</fraction>
158
159     <!-- The maximum width we would prefer dialogs to be.  0 if there is no
160          maximum (let them grow as large as the screen).  Actual values are
161          specified for -large and -xlarge configurations. -->
162     <dimen name="config_prefDialogWidth">320dp</dimen>
163
164     <!-- Enables or disables fading edges when marquee is enabled in TextView.
165          Off by default, since the framebuffer readback used to implement the
166          fading edges is prohibitively expensive on most GPUs. -->
167     <bool name="config_ui_enableFadingMarquee">false</bool>
168
169     <!-- Enables or disables haptic effect when the text insertion/selection handle is moved
170          manually by the user. Off by default, since the expected haptic feedback may not be
171          available on some devices. -->
172     <bool name="config_enableHapticTextHandle">false</bool>
173
174     <!-- Whether dialogs should close automatically when the user touches outside
175          of them.  This should not normally be modified. -->
176     <bool name="config_closeDialogWhenTouchOutside">true</bool>
177
178     <!-- Device configuration indicating whether we should avoid using accelerated graphics
179          in certain places to reduce RAM footprint.  This is ignored if ro.config.low_ram
180          is true (in that case this is assumed true as well).  It can allow you to tune down
181          your device's memory use without going to the point of causing applications to turn
182          off features. -->
183     <bool name="config_avoidGfxAccel">false</bool>
184
185     <!-- Device configuration setting the minfree tunable in the lowmemorykiller in the kernel.
186          A high value will cause the lowmemorykiller to fire earlier, keeping more memory
187          in the file cache and preventing I/O thrashing, but allowing fewer processes to
188          stay in memory.  A low value will keep more processes in memory but may cause
189          thrashing if set too low.  Overrides the default value chosen by ActivityManager
190          based on screen size and total memory for the largest lowmemorykiller bucket, and
191          scaled proportionally to the smaller buckets.  -1 keeps the default. -->
192     <integer name="config_lowMemoryKillerMinFreeKbytesAbsolute">-1</integer>
193
194     <!-- Device configuration adjusting the minfree tunable in the lowmemorykiller in the
195          kernel.  A high value will cause the lowmemorykiller to fire earlier, keeping more
196          memory in the file cache and preventing I/O thrashing, but allowing fewer processes
197          to stay in memory.  A low value will keep more processes in memory but may cause
198          thrashing if set too low.  Directly added to the default value chosen by
199          ActivityManager based on screen size and total memory for the largest lowmemorykiller
200          bucket, and scaled proportionally to the smaller buckets. 0 keeps the default. -->
201     <integer name="config_lowMemoryKillerMinFreeKbytesAdjust">0</integer>
202
203     <!-- Device configuration setting the /proc/sys/vm/extra_free_kbytes tunable in the kernel
204          (if it exists).  A high value will increase the amount of memory that the kernel
205          tries to keep free, reducing allocation time and causing the lowmemorykiller to kill
206          earlier.  A low value allows more memory to be used by processes but may cause more
207          allocations to block waiting on disk I/O or lowmemorykiller.  Overrides the default
208          value chosen by ActivityManager based on screen size.  0 prevents keeping any extra
209          memory over what the kernel keeps by default.  -1 keeps the default. -->
210     <integer name="config_extraFreeKbytesAbsolute">-1</integer>
211
212     <!-- Device configuration adjusting the /proc/sys/vm/extra_free_kbytes tunable in the kernel
213          (if it exists).  0 uses the default value chosen by ActivityManager.  A positive value
214          will increase the amount of memory that the kernel tries to keep free, reducing
215          allocation time and causing the lowmemorykiller to kill earlier.  A negative value
216          allows more memory to be used by processes but may cause more allocations to block
217          waiting on disk I/O or lowmemorykiller.  Directly added to the default value chosen by
218          ActivityManager based on screen size. -->
219     <integer name="config_extraFreeKbytesAdjust">0</integer>
220
221     <!-- Set this to true to enable the platform's auto-power-save modes like doze and
222          app standby.  These are not enabled by default because they require a standard
223          cloud-to-device messaging service for apps to interact correctly with the modes
224          (such as to be able to deliver an instant message to the device even when it is
225          dozing).  This should be enabled if you have such services and expect apps to
226          correctly use them when installed on your device.  Otherwise, keep this disabled
227          so that applications can still use their own mechanisms. -->
228     <bool name="config_enableAutoPowerModes">false</bool>
229
230     <!-- Whether (if true) this is a kind of device that can be moved around (eg. phone/laptop),
231          or (if false) something for which movement is either not measurable or should not count
232          toward power states (eg. tv/soundbar). -->
233     <bool name="config_autoPowerModeUseMotionSensor">true</bool>
234
235     <!-- The threshold angle for any motion detection in auto-power save modes.
236          In hundreths of a degree. -->
237     <integer name="config_autoPowerModeThresholdAngle">200</integer>
238
239     <!-- The sensor id of an "any motion" sensor used in auto-power save modes.
240          0 indicates this sensor is not available. -->
241     <integer name="config_autoPowerModeAnyMotionSensor">0</integer>
242
243     <!-- If an any motion sensor is not available, prefer the wrist tilt detector over the
244          SMD. -->
245     <bool name="config_autoPowerModePreferWristTilt">false</bool>
246
247     <!-- If a location should be pre-fetched when going into device idle. -->
248     <bool name="config_autoPowerModePrefetchLocation">true</bool>
249
250     <!-- The duration (in milliseconds) that the radio will scan for a signal
251          when there's no network connection. If the scan doesn't timeout, use zero -->
252     <integer name="config_radioScanningTimeout">0</integer>
253
254     <!-- XXXXX NOTE THE FOLLOWING RESOURCES USE THE WRONG NAMING CONVENTION.
255          Please don't copy them, copy anything else. -->
256
257     <!-- This string array should be overridden by the device to present a list of network
258          attributes.  This is used by the connectivity manager to decide which networks can coexist
259          based on the hardware -->
260     <!-- An Array of "[Connection name],[ConnectivityManager.TYPE_xxxx],
261          [associated radio-type],[priority],[restoral-timer(ms)],[dependencyMet]  -->
262     <!-- the 5th element "resore-time" indicates the number of milliseconds to delay
263          before automatically restore the default connection.  Set -1 if the connection
264          does not require auto-restore. -->
265     <!-- the 6th element indicates boot-time dependency-met value. -->
266     <string-array translatable="false" name="networkAttributes">
267         <item>"wifi,1,1,1,-1,true"</item>
268         <item>"mobile,0,0,0,-1,true"</item>
269         <item>"mobile_mms,2,0,2,60000,true"</item>
270         <item>"mobile_supl,3,0,2,60000,true"</item>
271         <item>"mobile_dun,4,0,2,60000,true"</item>
272         <item>"mobile_hipri,5,0,3,60000,true"</item>
273         <item>"mobile_fota,10,0,2,60000,true"</item>
274         <item>"mobile_ims,11,0,2,60000,true"</item>
275         <item>"mobile_cbs,12,0,2,60000,true"</item>
276         <item>"wifi_p2p,13,1,0,-1,true"</item>
277         <item>"mobile_ia,14,0,2,-1,true"</item>
278         <item>"mobile_emergency,15,0,2,-1,true"</item>
279     </string-array>
280
281     <!-- Array of ConnectivityManager.TYPE_xxxx constants for networks that may only
282          be controlled by systemOrSignature apps.  -->
283     <integer-array translatable="false" name="config_protectedNetworks">
284         <item>10</item>
285         <item>11</item>
286         <item>12</item>
287         <item>14</item>
288         <item>15</item>
289     </integer-array>
290
291     <!-- This string array should be overridden by the device to present a list of radio
292          attributes.  This is used by the connectivity manager to decide which networks can coexist
293          based on the hardware -->
294     <!-- An Array of "[ConnectivityManager connectionType],
295                       [# simultaneous connection types]"  -->
296     <string-array translatable="false" name="radioAttributes">
297         <item>"1,1"</item>
298         <item>"0,1"</item>
299     </string-array>
300
301     <!-- The maximum duration (in milliseconds) we expect a network transition to take -->
302     <integer name="config_networkTransitionTimeout">60000</integer>
303
304     <!-- Whether/how to notify the user on network switches. See LingerMonitor.java. -->
305     <integer translatable="false" name="config_networkNotifySwitchType">0</integer>
306
307     <!-- What types of network switches to notify. See LingerMonitor.java. -->
308     <string-array translatable="false" name="config_networkNotifySwitches">
309     </string-array>
310
311     <!-- Whether the device should automatically switch away from Wi-Fi networks that lose
312          Internet access. Actual device behaviour is controlled by
313          Settings.Global.NETWORK_AVOID_BAD_WIFI. This is the default value of that setting. -->
314     <integer translatable="false" name="config_networkAvoidBadWifi">1</integer>
315
316     <!-- Configuration hook for the URL returned by ConnectivityManager#getCaptivePortalServerUrl.
317          If empty, the returned value is controlled by Settings.Global.CAPTIVE_PORTAL_HTTP_URL,
318          and if that value is empty, the framework will use a hard-coded default.
319          This is *NOT* a URL that will always be used by the system network validation to detect
320          captive portals: NetworkMonitor may use different strategies and will not necessarily use
321          this URL. NetworkMonitor behaviour should be configured with NetworkStack resource overlays
322          instead. -->
323     <!--suppress CheckTagEmptyBody -->
324     <string translatable="false" name="config_networkCaptivePortalServerUrl"></string>
325
326     <!-- If the hardware supports specially marking packets that caused a wakeup of the
327          main CPU, set this value to the mark used. -->
328     <integer name="config_networkWakeupPacketMark">0</integer>
329
330     <!-- Mask to use when checking skb mark defined in config_networkWakeupPacketMark above. -->
331     <integer name="config_networkWakeupPacketMask">0</integer>
332
333     <!-- Whether the APF Filter in the device should filter out IEEE 802.3 Frames
334          Those frames are identified by the field Eth-type having values
335          less than 0x600 -->
336     <bool translatable="false" name="config_apfDrop802_3Frames">true</bool>
337
338     <!-- An array of Black listed EtherType, packets with EtherTypes within this array
339          will be dropped
340          TODO: need to put proper values, these are for testing purposes only -->
341     <integer-array translatable="false" name="config_apfEthTypeBlackList">
342         <item>0x88A2</item>
343         <item>0x88A4</item>
344         <item>0x88B8</item>
345         <item>0x88CD</item>
346         <item>0x88E3</item>
347     </integer-array>
348
349     <!-- Default value for ConnectivityManager.getMultipathPreference() on metered networks. Actual
350          device behaviour is controlled by Settings.Global.NETWORK_METERED_MULTIPATH_PREFERENCE.
351          This is the default value of that setting. -->
352     <integer translatable="false" name="config_networkMeteredMultipathPreference">0</integer>
353
354     <!-- Default daily multipath budget used by ConnectivityManager.getMultipathPreference()
355          on metered networks. This default quota only used if quota could not be determined from
356          data plan or data limit/warning set by the user. The value that is actually used is
357          controlled by Settings.Global.NETWORK_DEFAULT_DAILY_MULTIPATH_QUOTA_BYTES. This is the
358          default value of that setting. -->
359     <integer translatable="false" name="config_networkDefaultDailyMultipathQuotaBytes">2500000</integer>
360
361     <!-- Default supported concurrent socket keepalive slots per transport type, used by
362          ConnectivityManager.createSocketKeepalive() for calculating the number of keepalive
363          offload slots that should be reserved for privileged access. This string array should be
364          overridden by the device to present the capability of creating socket keepalives. -->
365     <!-- An Array of "[NetworkCapabilities.TRANSPORT_*],[supported keepalives] -->
366     <string-array translatable="false" name="config_networkSupportedKeepaliveCount">
367         <item>0,1</item>
368         <item>1,3</item>
369     </string-array>
370
371     <!-- Reserved privileged keepalive slots per transport. -->
372     <integer translatable="false" name="config_reservedPrivilegedKeepaliveSlots">2</integer>
373
374     <!-- Allowed unprivileged keepalive slots per uid. -->
375     <integer translatable="false" name="config_allowedUnprivilegedKeepalivePerUid">2</integer>
376
377     <!-- List of regexpressions describing the interface (if any) that represent tetherable
378          USB interfaces.  If the device doesn't want to support tethering over USB this should
379          be empty.  An example would be "usb.*" -->
380     <string-array translatable="false" name="config_tether_usb_regexs">
381     </string-array>
382
383     <!-- List of regexpressions describing the interface (if any) that represent tetherable
384          Wifi interfaces.  If the device doesn't want to support tethering over Wifi this
385          should be empty.  An example would be "softap.*" -->
386     <string-array translatable="false" name="config_tether_wifi_regexs">
387     </string-array>
388
389     <!-- List of regexpressions describing the interface (if any) that represent tetherable
390          WiMAX interfaces.  If the device doesn't want to support tethering over Wifi this
391          should be empty.  An example would be "softap.*" -->
392     <string-array translatable="false" name="config_tether_wimax_regexs">
393     </string-array>
394
395     <!-- List of regexpressions describing the interface (if any) that represent tetherable
396          bluetooth interfaces.  If the device doesn't want to support tethering over bluetooth this
397          should be empty. -->
398     <string-array translatable="false" name="config_tether_bluetooth_regexs">
399     </string-array>
400
401     <!-- Max number of Bluetooth tethering connections allowed. If this is
402          updated config_tether_dhcp_range has to be updated appropriately. -->
403     <integer translatable="false" name="config_max_pan_devices">5</integer>
404
405     <!-- Dhcp range (min, max) to use for tethering purposes -->
406     <string-array translatable="false" name="config_tether_dhcp_range">
407     </string-array>
408
409     <!-- Regex of wired ethernet ifaces -->
410     <string translatable="false" name="config_ethernet_iface_regex">eth\\d</string>
411
412
413
414     <!-- Configuration of Ethernet interfaces in the following format:
415          <interface name|mac address>;[Network Capabilities];[IP config];[Override Transport]
416          Where
417                [Network Capabilities] Optional. A comma seprated list of network capabilities.
418                    Values must be from NetworkCapabilities#NET_CAPABILITIES_* constants.
419                [IP config] Optional. If empty or not specified - DHCP will be used, otherwise
420                    use the following format to specify static IP configuration:
421                        ip=<ip-address/mask> gateway=<ip-address> dns=<comma-sep-ip-addresses>
422                        domains=<comma-sep-domains>
423                [Override Transport] Optional. An override network transport type to allow
424                     the propagation of an interface type on the other end of a local Ethernet
425                     interface. Value must be from NetworkCapabilities#TRANSPORT_* constants. If
426                     left out, this will default to TRANSPORT_ETHERNET.
427          -->
428     <string-array translatable="false" name="config_ethernet_interfaces">
429         <!--
430         <item>eth1;12,13,14,15;ip=192.168.0.10/24 gateway=192.168.0.1 dns=4.4.4.4,8.8.8.8</item>
431         <item>eth2;;ip=192.168.0.11/24</item>
432         <item>eth3;12,13,14,15;ip=192.168.0.12/24;1</item>
433         -->
434     </string-array>
435
436     <!-- If the mobile hotspot feature requires provisioning, a package name and class name
437         can be provided to launch a supported application that provisions the devices.
438
439         Example Usage:
440
441         String[] appDetails = getStringArray(R.array.config_mobile_hotspot_provision_app);
442         Intent intent = new Intent(Intent.ACTION_MAIN);
443         intent.setClassName(appDetails[0], appDetails[1]);
444         startActivityForResult(intent, 0);
445
446         public void onActivityResult(int requestCode, int resultCode, Intent intent) {
447             super.onActivityResult(requestCode, resultCode, intent);
448             if (requestCode == 0) {
449                 if (resultCode == Activity.RESULT_OK) {
450                     //Mobile hotspot provisioning successful
451                 } else {
452                     //Mobile hotspot provisioning failed
453                 }
454             }
455
456         See src/com/android/settings/TetherSettings.java for more details.
457         For ui-less/periodic recheck support see config_mobile_hotspot_provision_app_no_ui
458         -->
459     <!-- The first element is the package name and the second element is the class name
460          of the provisioning app -->
461     <string-array translatable="false" name="config_mobile_hotspot_provision_app">
462     <!--
463         <item>com.example.provisioning</item>
464         <item>com.example.provisioning.Activity</item>
465     -->
466     </string-array>
467
468     <!-- If the mobile hotspot feature requires provisioning, an action can be provided
469          that will be broadcast in non-ui cases for checking the provisioning status.
470
471          A second broadcast, action defined by config_mobile_hotspot_provision_response,
472          will be sent back to notify if provisioning succeeded or not.  The response will
473          match that of the activity in config_mobile_hotspot_provision_app, but instead
474          contained within the int extra "EntitlementResult".
475
476          Example Usage:
477          String provisionAction = getString(R.string.config_mobile_hotspot_provision_check);
478          sendBroadcast(new Intent(provisionAction));
479
480          public void onReceive(Context context, Intent intent) {
481              String provisionResponse =
482                     getString(R.string.config_mobile_hotspot_provision_response);
483              if (provisionResponse.equals(intent.getAction())
484                     && intent.getIntExtra("EntitlementResult") == Activity.RESULT_OK) {
485                  //Mobile hotspot provisioning successful
486              } else {
487                  //Mobile hotspot provisioning failed
488              }
489          }
490         -->
491     <string translatable="false" name="config_mobile_hotspot_provision_app_no_ui"></string>
492     <!-- Sent in response to a provisioning check. The caller must hold the
493          permission android.permission.CONNECTIVITY_INTERNAL for Settings to
494          receive this response.
495
496          See config_mobile_hotspot_provision_response
497          -->
498     <string translatable="false" name="config_mobile_hotspot_provision_response"></string>
499     <!-- Number of hours between each background provisioning call -->
500     <integer translatable="false" name="config_mobile_hotspot_provision_check_period">24</integer>
501
502     <!-- Activity name to enable wifi tethering after provisioning app succeeds -->
503     <string translatable="false" name="config_wifi_tether_enable">com.android.settings/.wifi.tether.TetherService</string>
504
505     <!-- Array of ConnectivityManager.TYPE_xxxx values allowable for tethering.
506
507          Common options are [1, 4] for TYPE_WIFI and TYPE_MOBILE_DUN or
508          [1,7,0] for TYPE_WIFI, TYPE_BLUETOOTH, and TYPE_MOBILE.
509
510          This list is also modified by code within the framework, including:
511
512              - TYPE_ETHERNET (9) is prepended to this list, and
513
514              - the return value of TelephonyManager.getTetherApnRequired()
515                determines how the array is further modified:
516
517                    * TRUE (DUN REQUIRED).
518                      TYPE_MOBILE is removed (if present).
519                      TYPE_MOBILE_HIPRI is removed (if present).
520                      TYPE_MOBILE_DUN is appended (if not already present).
521
522                    * FALSE (DUN NOT REQUIRED).
523                      TYPE_MOBILE_DUN is removed (if present).
524                      If both of TYPE_MOBILE{,_HIPRI} are not present:
525                         TYPE_MOBILE is appended.
526                         TYPE_MOBILE_HIPRI is appended.
527
528          For other changes applied to this list, now and in the future, see
529          com.android.server.connectivity.tethering.TetheringConfiguration.
530
531          Note also: the order of this is important. The first upstream type
532          for which a satisfying network exists is used.
533     -->
534     <integer-array translatable="false" name="config_tether_upstream_types">
535         <item>1</item>
536         <item>7</item>
537         <item>0</item>
538     </integer-array>
539
540     <!-- When true, the tethering upstream network follows the current default
541          Internet network (except when the current default network is mobile,
542          in which case a DUN network will be used if required).
543
544          When true, overrides the config_tether_upstream_types setting above.
545     -->
546     <bool translatable="false" name="config_tether_upstream_automatic">true</bool>
547
548     <!-- If the DUN connection for this CDMA device supports more than just DUN -->
549     <!-- traffic you should list them here. -->
550     <!-- If this device is not CDMA this is ignored.  If this list is empty on -->
551     <!-- a DUN-requiring CDMA device, the DUN APN will just support just DUN. -->
552     <string-array translatable="false" name="config_cdma_dun_supported_types">
553     </string-array>
554
555     <!-- Boolean indicating whether the wifi chipset has dual frequency band support -->
556     <bool translatable="false" name="config_wifi_dual_band_support">false</bool>
557
558     <!-- Maximum number of concurrent WiFi interfaces in AP mode -->
559     <integer translatable="false" name="config_wifi_max_ap_interfaces">1</integer>
560
561     <!-- Boolean indicating whether the wifi chipset requires the softap band be -->
562     <!-- converted from 5GHz to ANY due to hardware restrictions -->
563     <bool translatable="false" name="config_wifi_convert_apband_5ghz_to_any">false</bool>
564
565     <!-- Boolean indicating whether 802.11r Fast BSS Transition is enabled on this platform -->
566     <bool translatable="false" name="config_wifi_fast_bss_transition_enabled">false</bool>
567
568     <!-- Device type information conforming to Annex B format in WiFi Direct specification.
569          The default represents a dual-mode smartphone -->
570     <string translatable="false" name="config_wifi_p2p_device_type">10-0050F204-5</string>
571
572     <!-- Boolean indicating whether the wifi chipset supports background scanning mechanism.
573          This mechanism allows the host to remain in suspend state and the dongle to actively
574          scan and wake the host when a configured SSID is detected by the dongle. This chipset
575          capability can provide power savings when wifi needs to be always kept on. -->
576     <bool translatable="false" name="config_wifi_background_scan_support">false</bool>
577
578     <!-- Boolean indicating we re-try re-associating once upon disconnection and RSSI is high failure  -->
579     <bool translatable="true" name="config_wifi_enable_disconnection_debounce">true</bool>
580
581     <!-- Boolean indicating whether or not to revert to default country code when cellular
582          radio is unable to find any MCC information to infer wifi country code from -->
583     <bool translatable="false" name="config_wifi_revert_country_code_on_cellular_loss">false</bool>
584
585     <!-- Integer size limit, in KB, for a single WifiLogger ringbuffer, in default logging mode -->
586     <integer translatable="false" name="config_wifi_logger_ring_buffer_default_size_limit_kb">32</integer>
587
588     <!-- Integer size limit, in KB, for a single WifiLogger ringbuffer, in verbose logging mode -->
589     <integer translatable="false" name="config_wifi_logger_ring_buffer_verbose_size_limit_kb">1024</integer>
590
591     <!-- Array indicating wifi fatal firmware alert error code list from driver -->
592     <integer-array translatable="false" name="config_wifi_fatal_firmware_alert_error_code_list">
593         <!-- Example:
594         <item>0</item>
595         <item>1</item>
596         <item>2</item>
597         -->
598     </integer-array>
599
600     <!-- Boolean indicating whether or not wifi should turn off when emergency call is made -->
601     <bool translatable="false" name="config_wifi_turn_off_during_emergency_call">false</bool>
602
603     <!-- Integer specifying the basic autojoin parameters -->
604     <integer translatable="false" name="config_wifi_framework_5GHz_preference_boost_threshold">-65</integer>
605     <integer translatable="false" name="config_wifi_framework_5GHz_preference_boost_factor">40</integer>
606     <integer translatable="false" name="config_wifi_framework_5GHz_preference_penalty_threshold">-75</integer>
607     <integer translatable="false" name="config_wifi_framework_RSSI_SCORE_OFFSET">85</integer>
608     <integer translatable="false" name="config_wifi_framework_RSSI_SCORE_SLOPE">4</integer>
609     <integer translatable="false" name="config_wifi_framework_SAME_BSSID_AWARD">24</integer>
610     <integer translatable="false" name="config_wifi_framework_LAST_SELECTION_AWARD">480</integer>
611     <integer translatable="false" name="config_wifi_framework_PASSPOINT_SECURITY_AWARD">40</integer>
612     <integer translatable="false" name="config_wifi_framework_SECURITY_AWARD">80</integer>
613     <!-- Integer specifying the base interval in seconds for the exponential backoff scan for autojoin -->
614     <integer translatable="false" name="config_wifi_framework_exponential_backoff_scan_base_interval">20</integer>
615     <!-- Integers specifying the max packet Tx/Rx rates for full scan -->
616     <integer translatable="false" name="config_wifi_framework_max_tx_rate_for_full_scan">8</integer>
617     <integer translatable="false" name="config_wifi_framework_max_rx_rate_for_full_scan">16</integer>
618     <!-- Integers specifying the min packet Tx/Rx rates in packets per second for staying on the same network -->
619     <integer translatable="false" name="config_wifi_framework_min_tx_rate_for_staying_on_network">16</integer>
620     <integer translatable="false" name="config_wifi_framework_min_rx_rate_for_staying_on_network">16</integer>
621     <!-- Integer parameters of the wifi to cellular handover feature
622          wifi should not stick to bad networks -->
623     <!-- Integer threshold for low network score, should be somewhat less than the entry threshhold -->
624     <integer translatable="false" name="config_wifi_framework_wifi_score_bad_rssi_threshold_5GHz">-80</integer>
625     <!-- Integer threshold, do not connect to APs with RSSI lower than the entry threshold -->
626     <integer translatable="false" name="config_wifi_framework_wifi_score_entry_rssi_threshold_5GHz">-77</integer>
627     <integer translatable="false" name="config_wifi_framework_wifi_score_low_rssi_threshold_5GHz">-70</integer>
628     <integer translatable="false" name="config_wifi_framework_wifi_score_good_rssi_threshold_5GHz">-57</integer>
629     <integer translatable="false" name="config_wifi_framework_wifi_score_bad_rssi_threshold_24GHz">-83</integer>
630     <integer translatable="false" name="config_wifi_framework_wifi_score_entry_rssi_threshold_24GHz">-80</integer>
631     <integer translatable="false" name="config_wifi_framework_wifi_score_low_rssi_threshold_24GHz">-73</integer>
632     <integer translatable="false" name="config_wifi_framework_wifi_score_good_rssi_threshold_24GHz">-60</integer>
633
634     <!-- Integer delay in milliseconds before shutting down soft AP when there
635          are no connected devices. Framework will enforce a minimum limit on
636          this value and this setting will be overridden if the provided value is
637          smaller than the limit. -->
638     <integer translatable="false" name="config_wifi_framework_soft_ap_timeout_delay">600000</integer>
639
640     <string  translatable="false" name="config_wifi_random_mac_oui">DA-A1-19</string>
641     <string  translatable="false" name="config_wifi_framework_sap_2G_channel_list">1,6,11</string>
642
643     <bool translatable="false" name="config_wifi_framework_cellular_handover_enable_user_triggered_adjustment">true</bool>
644
645     <!-- Integer packet threshold used to allow scan while associated -->
646     <integer translatable="false" name="config_wifi_framework_associated_full_scan_tx_packet_threshold">5</integer>
647     <integer translatable="false" name="config_wifi_framework_associated_full_scan_rx_packet_threshold">10</integer>
648     <integer translatable="false" name="config_wifi_framework_associated_partial_scan_tx_packet_threshold">40</integer>
649     <integer translatable="false" name="config_wifi_framework_associated_partial_scan_rx_packet_threshold">80</integer>
650     <integer translatable="false" name="config_wifi_framework_network_switch_tx_packet_threshold">2</integer>
651     <integer translatable="false" name="config_wifi_framework_network_switch_rx_packet_threshold">20</integer>
652
653     <!-- Integer indicating wpa_supplicant scan interval in milliseconds -->
654     <integer translatable="false" name="config_wifi_supplicant_scan_interval">15000</integer>
655
656     <!-- Integer indicating amount of time failed networks areblacklisted for the purpose
657          of network switching in milliseconds -->
658     <integer translatable="false" name="config_wifi_network_switching_blacklist_time">172800000</integer>
659
660     <!-- Integer indicating wpa_supplicant scan interval when p2p is connected in milliseconds -->
661     <integer translatable="false" name="config_wifi_scan_interval_p2p_connected">60000</integer>
662
663     <!-- Integer indicating disconnect mode short scan interval in milliseconds -->
664     <integer translatable="false" name="config_wifi_disconnected_short_scan_interval">15000</integer>
665
666     <!-- Integer indicating associated partial scan short interval in milliseconds -->
667     <integer translatable="false" name="config_wifi_associated_short_scan_interval">20000</integer>
668
669     <!-- Integer indicating associated full scan backoff, representing a fraction: xx/8 -->
670     <integer translatable="false" name="config_wifi_framework_associated_full_scan_backoff">12</integer>
671
672     <!-- Integer indicating associated full scan max interval in milliseconds -->
673     <integer translatable="false" name="config_wifi_framework_associated_full_scan_max_interval">300000</integer>
674
675     <!-- Integer indicating associated full scan max total dwell time in milliseconds -->
676     <integer translatable="false" name="config_wifi_framework_associated_full_scan_max_total_dwell_time">500</integer>
677
678     <!-- Integer indicating associated full scan max num active channels -->
679     <integer translatable="false" name="config_wifi_framework_associated_partial_scan_max_num_active_channels">6</integer>
680
681     <!-- Integer indicating RSSI boost given to current network -->
682     <integer translatable="false" name="config_wifi_framework_current_network_boost">16</integer>
683
684     <!-- Integer delay in milliseconds before set wlan interface up during watchdog recovery -->
685     <integer translatable="false" name="config_wifi_framework_recovery_timeout_delay">2000</integer>
686
687     <!-- Integer indicating how to handle beacons with uninitialized RSSI value of 0 -->
688     <integer translatable="false" name="config_wifi_framework_scan_result_rssi_level_patchup_value">-85</integer>
689
690     <!-- Boolean indicating associated network selection is allowed -->
691     <bool translatable="false" name="config_wifi_framework_enable_associated_network_selection">true</bool>
692
693     <!-- Boolean indicating whether single radio chain scan results are to be used for network selection -->
694     <bool translatable="false" name="config_wifi_framework_use_single_radio_chain_scan_results_network_selection">true</bool>
695
696     <!-- Boolean indicating that wifi only link configuratios that have exact same credentials (i.e PSK) -->
697     <bool translatable="false" name="config_wifi_only_link_same_credential_configurations">true</bool>
698
699     <!-- Boolean indicating whether framework needs to set the tx power limit for meeting SAR requirements -->
700     <bool translatable="false" name="config_wifi_framework_enable_sar_tx_power_limit">false</bool>
701
702     <!-- Boolean indicating whether framework should use detection of softAP mode to set the tx
703          power limit for meeting SAR requirements -->
704     <bool translatable="false" name="config_wifi_framework_enable_soft_ap_sar_tx_power_limit">false</bool>
705
706     <!-- Boolean indicating whether framework needs to use body proximity to set the tx power limit
707          for meeting SAR requirements -->
708     <bool translatable="false" name="config_wifi_framework_enable_body_proximity_sar_tx_power_limit">false</bool>
709
710     <!-- String for the sensor type for body/head proximity for SAR -->
711     <string translatable="false" name="config_wifi_sar_sensor_type"></string>
712
713     <!-- Integer indicating event id by sar sensor for free space -->
714     <integer translatable="false" name="config_wifi_framework_sar_free_space_event_id">1</integer>
715
716     <!-- Integer indicating event id by sar sensor for near hand -->
717     <integer translatable="false" name="config_wifi_framework_sar_near_hand_event_id">2</integer>
718
719     <!-- Integer indicating event id by sar sensor for near head -->
720     <integer translatable="false" name="config_wifi_framework_sar_near_head_event_id">3</integer>
721
722     <!-- Integer indicating event id by sar sensor for near body -->
723     <integer translatable="false" name="config_wifi_framework_sar_near_body_event_id">4</integer>
724
725     <!-- Wifi driver supports batched scan -->
726     <bool translatable="false" name="config_wifi_batched_scan_supported">false</bool>
727
728     <!-- Wifi driver supports Automatic channel selection (ACS) for softap -->
729     <bool translatable="false" name="config_wifi_softap_acs_supported">false</bool>
730
731     <!-- Channel list restriction to Automatic channel selection (ACS) for softap. If the device
732          doesn't want to restrict channels this should be empty. Value is a comma separated channel
733          string and/or channel range string like '1-6,11' -->
734     <string translatable="false" name="config_wifi_softap_acs_supported_channel_list"></string>
735
736     <!-- Wifi driver supports IEEE80211AC for softap -->
737     <bool translatable="false" name="config_wifi_softap_ieee80211ac_supported">false</bool>
738
739     <!-- Indicates that local-only hotspot should be brought up at 5GHz.  This option is
740          for automotive builds only (the one that have PackageManager#FEATURE_AUTOMOTIVE) -->
741     <bool translatable="false" name="config_wifi_local_only_hotspot_5ghz">false</bool>
742
743     <!-- Indicates that connected MAC randomization is supported on this device -->
744     <bool translatable="false" name="config_wifi_connected_mac_randomization_supported">false</bool>
745
746     <!-- Indicates that p2p MAC randomization is supported on this device -->
747     <bool translatable="false" name="config_wifi_p2p_mac_randomization_supported">false</bool>
748
749     <!-- Indicates that wifi link probing is supported on this device -->
750     <bool translatable="false" name="config_wifi_link_probing_supported">false</bool>
751
752     <!-- Flag indicating whether we should enable the automatic brightness.
753          Software implementation will be used if config_hardware_auto_brightness_available is not set -->
754     <bool name="config_automatic_brightness_available">false</bool>
755
756     <!-- Flag indicating whether we should enable the adaptive sleep.-->
757     <bool name="config_adaptive_sleep_available">false</bool>
758
759     <!-- Flag indicating whether we should enable smart battery. -->
760     <bool name="config_smart_battery_available">false</bool>
761
762     <!-- Fast brightness animation ramp rate in brightness units per second-->
763     <integer translatable="false" name="config_brightness_ramp_rate_fast">180</integer>
764
765     <!-- Slow brightness animation ramp rate in brightness units per second-->
766     <integer translatable="false" name="config_brightness_ramp_rate_slow">60</integer>
767
768     <!-- Don't name config resources like this.  It should look like config_annoyDianne -->
769     <bool name="config_annoy_dianne">true</bool>
770
771     <!-- XXXXXX END OF RESOURCES USING WRONG NAMING CONVENTION -->
772
773     <!-- If this is true, notification effects will be played by the notification server.
774          When false, car notification effects will be handled elsewhere. -->
775     <bool name="config_enableServerNotificationEffectsForAutomotive">false</bool>
776
777     <!-- If this is true, the screen will come on when you unplug usb/power/whatever. -->
778     <bool name="config_unplugTurnsOnScreen">false</bool>
779
780     <!-- If this is true, the message that USB is only being used for charging will be shown. -->
781     <bool name="config_usbChargingMessage">true</bool>
782
783     <!-- Set this true only if the device has separate attention and notification lights. -->
784     <bool name="config_useAttentionLight">false</bool>
785
786     <!-- If this is true, the screen will fade off. -->
787     <bool name="config_animateScreenLights">false</bool>
788
789     <!-- If this is true, key chords can be used to take a screenshot on the device. -->
790     <bool name="config_enableScreenshotChord">true</bool>
791
792     <!-- If this is true, allow wake from theater mode when plugged in or unplugged. -->
793     <bool name="config_allowTheaterModeWakeFromUnplug">false</bool>
794     <!-- If this is true, allow wake from theater mode from gesture. -->
795     <bool name="config_allowTheaterModeWakeFromGesture">false</bool>
796     <!-- If this is true, allow wake from theater mode from camera lens cover is switched. -->
797     <bool name="config_allowTheaterModeWakeFromCameraLens">false</bool>
798     <!-- If this is true, allow wake from theater mode from power key press. -->
799     <bool name="config_allowTheaterModeWakeFromPowerKey">true</bool>
800     <!-- If this is true, allow wake from theater mode from regular key press. Setting this value to
801          true implies config_allowTheaterModeWakeFromPowerKey is also true-->
802     <bool name="config_allowTheaterModeWakeFromKey">false</bool>
803     <!-- If this is true, allow wake from theater mode from motion. -->
804     <bool name="config_allowTheaterModeWakeFromMotion">false</bool>
805     <!-- If this is true, allow wake from theater mode from motion. -->
806     <bool name="config_allowTheaterModeWakeFromMotionWhenNotDreaming">false</bool>
807     <!-- If this is true, allow wake from theater mode from lid switch. -->
808     <bool name="config_allowTheaterModeWakeFromLidSwitch">false</bool>
809     <!-- If this is true, allow wake from theater mode when docked. -->
810     <bool name="config_allowTheaterModeWakeFromDock">false</bool>
811     <!-- If this is true, allow wake from theater mode from window layout flag. -->
812     <bool name="config_allowTheaterModeWakeFromWindowLayout">false</bool>
813     <!-- If this is true, go to sleep when theater mode is enabled from button press -->
814     <bool name="config_goToSleepOnButtonPressTheaterMode">true</bool>
815     <!-- If this is true, long press on power button will be available from the non-interactive state -->
816     <bool name="config_supportLongPressPowerWhenNonInteractive">false</bool>
817
818     <!-- Auto-rotation behavior -->
819
820     <!-- If true, enables auto-rotation features using the accelerometer.
821          Otherwise, auto-rotation is disabled.  Applications may still request
822          to use specific orientations but the sensor is ignored and sensor-based
823          orientations are not available.  Furthermore, all auto-rotation related
824          settings are omitted from the system UI.  In certain situations we may
825          still use the accelerometer to determine the orientation, such as when
826          docked if the dock is configured to enable the accelerometer. -->
827     <bool name="config_supportAutoRotation">true</bool>
828
829     <!-- If true, the screen can be rotated via the accelerometer in all 4
830          rotations as the default behavior. -->
831     <bool name="config_allowAllRotations">false</bool>
832
833     <!-- If true, the direction rotation is applied to get to an application's requested
834          orientation is reversed.  Normally, the model is that landscape is
835          clockwise from portrait; thus on a portrait device an app requesting
836          landscape will cause a clockwise rotation, and on a landscape device an
837          app requesting portrait will cause a counter-clockwise rotation.  Setting
838          true here reverses that logic. -->
839     <bool name="config_reverseDefaultRotation">false</bool>
840
841     <!-- Sets the minimum and maximum tilt tolerance for each possible rotation.
842          This array consists of 4 pairs of values which specify the minimum and maximum
843          tilt angle at which the device will transition into each rotation.
844
845          The tilt angle represents the direction in which the plane of the screen is facing;
846          it is also known as the angle of elevation.
847
848            -90 degree tilt means that the screen is facing straight down
849                            (the device is being held overhead upside-down)
850              0 degree tilt means that the screen is facing outwards
851                            (the device is being held vertically)
852             90 degree tilt means that the screen is facing straight up
853                            (the device is resting on a flat table)
854
855         The default tolerances are set conservatively such that the device is more
856         likely to remain in its natural orientation than rotate into a counterclockwise,
857         clockwise, or reversed posture (with an especially strong bias against the latter)
858         to prevent accidental rotation while carrying the device in hand.
859
860         These thresholds may need to be tuned when the device is intended to be
861         mounted into a dock with a particularly shallow profile wherein rotation
862         would ordinarily have been suppressed.
863
864         It is helpful to consider the desired behavior both when the device is being
865         held at a positive tilt (typical case) vs. a negative tilt (reading overhead in
866         bed) since they are quite different.  In the overhead case, we typically want
867         the device to more strongly prefer to retain its current configuration (in absence
868         of a clear indication that a rotation is desired) since the user's head and neck may
869         be held at an unusual angle.
870     -->
871     <integer-array name="config_autoRotationTiltTolerance">
872         <!-- rotation:   0 (natural)    --> <item>-25</item> <item>70</item>
873         <!-- rotation:  90 (rotate CCW) --> <item>-25</item> <item>65</item>
874         <!-- rotation: 180 (reverse)    --> <item>-25</item> <item>60</item>
875         <!-- rotation: 270 (rotate CW)  --> <item>-25</item> <item>65</item>
876     </integer-array>
877
878     <!-- Lid switch behavior -->
879
880     <!-- The number of degrees to rotate the display when the keyboard is open.
881          A value of -1 means no change in orientation by default. -->
882     <integer name="config_lidOpenRotation">-1</integer>
883
884     <!-- Indicate whether the lid state impacts the accessibility of
885          the physical keyboard.  0 means it doesn't, 1 means it is accessible
886          when the lid is open, 2 means it is accessible when the lid is
887          closed.  The default is 0. -->
888     <integer name="config_lidKeyboardAccessibility">0</integer>
889
890     <!-- Indicate whether the lid state impacts the accessibility of
891          the navigation buttons.  0 means it doesn't, 1 means it is accessible
892          when the lid is open, 2 means it is accessible when the lid is
893          closed.  The default is 0. -->
894     <integer name="config_lidNavigationAccessibility">0</integer>
895
896     <!-- Indicate whether closing the lid causes the lockscreen to appear.
897          The default is false. -->
898     <bool name="config_lidControlsScreenLock">false</bool>
899
900     <!-- Indicate whether closing the lid causes the device to go to sleep and opening
901          it causes the device to wake up.
902          The default is false. -->
903     <bool name="config_lidControlsSleep">false</bool>
904
905     <!-- Indicate whether closing the lid causes the device to enter the folded state which means
906          to get a smaller screen and opening the lid causes the device to enter the unfolded state
907          which means to get a larger screen. -->
908     <bool name="config_lidControlsDisplayFold">false</bool>
909
910     <!-- Indicate the display area rect for foldable devices in folded state. -->
911     <string name="config_foldedArea"></string>
912
913     <!-- Desk dock behavior -->
914
915     <!-- The number of degrees to rotate the display when the device is in a desk dock.
916          A value of -1 means no change in orientation by default. -->
917     <integer name="config_deskDockRotation">-1</integer>
918
919     <!-- Control whether being in the desk dock (and powered) always
920          keeps the screen on.  By default it stays on when plugged in to
921          AC.  0 will not keep it on; or together 1 to stay on when plugged
922          in to AC and 2 to stay on when plugged in to USB.  (So 3 for both.) -->
923     <integer name="config_deskDockKeepsScreenOn">1</integer>
924
925     <!-- Control whether being in the desk dock should enable accelerometer
926          based screen orientation.  This defaults to true because it is
927          common for desk docks to be sold in a variety of form factors
928          with different orientations.  Since we cannot always tell these docks
929          apart and the docks cannot report their true orientation on their own,
930          we rely on gravity to determine the effective orientation. -->
931     <bool name="config_deskDockEnablesAccelerometer">true</bool>
932
933     <!-- Car dock behavior -->
934
935     <!-- The number of degrees to rotate the display when the device is in a car dock.
936          A value of -1 means no change in orientation by default. -->
937     <integer name="config_carDockRotation">-1</integer>
938
939     <!-- Control whether being in the car dock (and powered) always
940          keeps the screen on.  By default it stays on when plugged in to
941          AC.  0 will not keep it on; or together 1 to stay on when plugged
942          in to AC and 2 to stay on when plugged in to USB.  (So 3 for both.) -->
943     <integer name="config_carDockKeepsScreenOn">1</integer>
944
945     <!-- Control whether being in the car dock should enable accelerometer based
946          screen orientation.  This defaults to true because putting a device in
947          a car dock make the accelerometer more a physical input (like a lid). -->
948
949     <bool name="config_carDockEnablesAccelerometer">true</bool>
950
951     <!--  Control whether to launch Car dock home app when user presses home button or when
952           car dock intent is fired.
953           In mobile device, usually separate home app is expected in car mode, and this should be
954           enabled. But in environments like real car, default home app may be enough, and in that
955           case, this can be disabled (set to false). -->
956     <bool name="config_enableCarDockHomeLaunch">true</bool>
957
958     <!-- Control whether to force the display of System UI Bars at all times regardless of
959          System Ui Flags. This can be useful in the Automotive case if there's a requirement for
960          a UI element to be on screen at all times. -->
961     <bool name="config_forceShowSystemBars">false</bool>
962
963     <!-- HDMI behavior -->
964
965     <!-- The number of degrees to rotate the display when the device has HDMI connected
966          but is not in a dock.  A value of -1 means no change in orientation by default.
967          Use -1 except on older devices whose Hardware Composer HAL does not
968          provide full support for multiple displays.  -->
969     <integer name="config_undockedHdmiRotation">-1</integer>
970
971     <!-- Control the default UI mode type to use when there is no other type override
972          happening.  One of the following values (See Configuration.java):
973              1  UI_MODE_TYPE_NORMAL
974              4  UI_MODE_TYPE_TELEVISION
975              5  UI_MODE_TYPE_APPLIANCE
976              6  UI_MODE_TYPE_WATCH
977              7  UI_MODE_TYPE_VR_HEADSET
978          Any other values will have surprising consequences. -->
979     <integer name="config_defaultUiModeType">1</integer>
980
981     <!--  Control whether to lock UI mode to what is selected from config_defaultUiModeType.
982           Once UI mode is locked, applications cannot change it anymore. -->
983     <bool name="config_lockUiMode">false</bool>
984
985     <!--  Control whether to lock day/night mode change from normal application. When it is
986           true, day / night mode change is only allowed to apps with MODIFY_DAY_NIGHT_MODE
987           permission. -->
988     <bool name="config_lockDayNightMode">true</bool>
989
990     <!-- Control the default night mode to use when there is no other mode override set.
991          One of the following values (see UiModeManager.java):
992              0 - MODE_NIGHT_AUTO
993              1 - MODE_NIGHT_NO
994              2 - MODE_NIGHT_YES
995     -->
996     <integer name="config_defaultNightMode">1</integer>
997
998     <!-- Boolean indicating whether the HWC setColorTransform function can be performed efficiently
999          in hardware. -->
1000     <bool name="config_setColorTransformAccelerated">false</bool>
1001
1002     <!-- Boolean indicating whether the HWC setColorTransform function can be performed efficiently
1003          in hardware for individual layers. -->
1004     <bool name="config_setColorTransformAcceleratedPerLayer">false</bool>
1005
1006     <!-- Control whether Night display is available. This should only be enabled on devices
1007          that have a HWC implementation that can apply the matrix passed to setColorTransform
1008          without impacting power, performance, and app compatibility (e.g. protected content). -->
1009     <bool name="config_nightDisplayAvailable">@bool/config_setColorTransformAccelerated</bool>
1010
1011     <!-- Default mode to control how Night display is automatically activated.
1012          One of the following values (see ColorDisplayManager.java):
1013              0 - AUTO_MODE_DISABLED
1014              1 - AUTO_MODE_CUSTOM_TIME
1015              2 - AUTO_MODE_TWILIGHT
1016     -->
1017     <integer name="config_defaultNightDisplayAutoMode">0</integer>
1018
1019     <!-- Default time when Night display is automatically activated.
1020          Represented as milliseconds from midnight (e.g. 79200000 == 10pm). -->
1021     <integer name="config_defaultNightDisplayCustomStartTime">79200000</integer>
1022
1023     <!-- Default time when Night display is automatically deactivated.
1024          Represented as milliseconds from midnight (e.g. 21600000 == 6am). -->
1025     <integer name="config_defaultNightDisplayCustomEndTime">21600000</integer>
1026
1027     <!-- Minimum color temperature, in Kelvin, supported by Night display. -->
1028     <integer name="config_nightDisplayColorTemperatureMin">2596</integer>
1029
1030     <!-- Default color temperature, in Kelvin, to tint the screen when Night display is
1031          activated. -->
1032     <integer name="config_nightDisplayColorTemperatureDefault">2850</integer>
1033
1034     <!-- Maximum color temperature, in Kelvin, supported by Night display. -->
1035     <integer name="config_nightDisplayColorTemperatureMax">4082</integer>
1036
1037     <string-array name="config_nightDisplayColorTemperatureCoefficientsNative">
1038         <!-- R a-coefficient --> <item>0.0</item>
1039         <!-- R b-coefficient --> <item>0.0</item>
1040         <!-- R y-intercept --> <item>1.0</item>
1041         <!-- G a-coefficient --> <item>-0.00000000962353339</item>
1042         <!-- G b-coefficient --> <item>0.000153045476</item>
1043         <!-- G y-intercept --> <item>0.390782778</item>
1044         <!-- B a-coefficient --> <item>-0.0000000189359041</item>
1045         <!-- B b-coefficient --> <item>0.000302412211</item>
1046         <!-- B y-intercept --> <item>-0.198650895</item>
1047     </string-array>
1048
1049     <string-array name="config_nightDisplayColorTemperatureCoefficients">
1050         <!-- R a-coefficient --> <item>0.0</item>
1051         <!-- R b-coefficient --> <item>0.0</item>
1052         <!-- R y-intercept --> <item>1.0</item>
1053         <!-- G a-coefficient --> <item>-0.00000000962353339</item>
1054         <!-- G b-coefficient --> <item>0.000153045476</item>
1055         <!-- G y-intercept --> <item>0.390782778</item>
1056         <!-- B a-coefficient --> <item>-0.0000000189359041</item>
1057         <!-- B b-coefficient --> <item>0.000302412211</item>
1058         <!-- B y-intercept --> <item>-0.198650895</item>
1059     </string-array>
1060
1061     <!-- Boolean indicating whether display white balance is supported. -->
1062     <bool name="config_displayWhiteBalanceAvailable">false</bool>
1063
1064     <!-- Boolean indicating whether display white balance should be enabled by default. -->
1065     <bool name="config_displayWhiteBalanceEnabledDefault">false</bool>
1066
1067     <!-- Minimum color temperature, in Kelvin, supported by display white balance. -->
1068     <integer name="config_displayWhiteBalanceColorTemperatureMin">4000</integer>
1069
1070     <!-- Maximum color temperature, in Kelvin, supported by display white balance. -->
1071     <integer name="config_displayWhiteBalanceColorTemperatureMax">8000</integer>
1072
1073     <!-- Default color temperature, in Kelvin, used by display white balance. -->
1074     <integer name="config_displayWhiteBalanceColorTemperatureDefault">6500</integer>
1075
1076     <!-- The display primaries, in CIE1931 XYZ color space, for display
1077          white balance to use in its calculations. The array must include a total of 12 float
1078          values: 3 values per color (X, Y, Z) and 4 colors (R, G, B, W) -->
1079     <string-array name="config_displayWhiteBalanceDisplayPrimaries">
1080         <!-- Red X -->   <item>0.412315</item>
1081         <!-- Red Y -->   <item>0.212600</item>
1082         <!-- Red Z -->   <item>0.019327</item>
1083         <!-- Green X --> <item>0.357600</item>
1084         <!-- Green Y --> <item>0.715200</item>
1085         <!-- Green Z --> <item>0.119200</item>
1086         <!-- Blue X -->  <item>0.180500</item>
1087         <!-- Blue Y -->  <item>0.072200</item>
1088         <!-- Blue Z -->  <item>0.950633</item>
1089         <!-- White X --> <item>0.950456</item>
1090         <!-- White Y --> <item>1.000000</item>
1091         <!-- White Z --> <item>1.089058</item>
1092     </string-array>
1093
1094     <!-- The nominal white coordinates, in CIE1931 XYZ color space, for Display White Balance to
1095          use in its calculations. AWB will adapt this white point to the target ambient white
1096          point. The array must include a total of 3 float values (X, Y, Z) -->
1097     <string-array name="config_displayWhiteBalanceDisplayNominalWhite">
1098         <!-- Nominal White X --> <item>0.950456</item>
1099         <!-- Nominal White Y --> <item>1.000000</item>
1100         <!-- Nominal White Z --> <item>1.089058</item>
1101     </string-array>
1102
1103
1104     <!-- Indicate available ColorDisplayManager.COLOR_MODE_xxx. -->
1105     <integer-array name="config_availableColorModes">
1106         <!-- Example:
1107         <item>0</item>
1108         <item>1</item>
1109         <item>2</item>
1110         -->
1111     </integer-array>
1112
1113     <!-- Color mode to use when accessibility transforms are enabled. This color mode must be
1114          supported by the device, but not necessarily appear in config_availableColorModes. The
1115          regularly selected color mode will be used if this value is negative. -->
1116     <integer name="config_accessibilityColorMode">-1</integer>
1117
1118     <!-- Indicate whether to allow the device to suspend when the screen is off
1119          due to the proximity sensor.  This resource should only be set to true
1120          if the sensor HAL correctly handles the proximity sensor as a wake-up source.
1121          Otherwise, the device may fail to wake out of suspend reliably.
1122          The default is false. -->
1123     <bool name="config_suspendWhenScreenOffDueToProximity">false</bool>
1124
1125     <!-- Control the behavior when the user long presses the power button.
1126             0 - Nothing
1127             1 - Global actions menu
1128             2 - Power off (with confirmation)
1129             3 - Power off (without confirmation)
1130             4 - Go to voice assist
1131             5 - Go to assistant (Settings.Secure.ASSISTANT)
1132     -->
1133     <integer name="config_longPressOnPowerBehavior">1</integer>
1134
1135     <!-- Control the behavior when the user long presses the power button for a long time.
1136             0 - Nothing
1137             1 - Global actions menu
1138     -->
1139     <integer name="config_veryLongPressOnPowerBehavior">0</integer>
1140
1141     <!-- Control the behavior when the user long presses the back button.  Non-zero values are only
1142          valid for watches as part of CDD/CTS.
1143             0 - Nothing
1144             1 - Go to voice assist
1145     -->
1146     <integer name="config_longPressOnBackBehavior">0</integer>
1147
1148     <!-- Allows activities to be launched on a long press on power during device setup. -->
1149     <bool name="config_allowStartActivityForLongPressOnPowerInSetup">false</bool>
1150
1151     <!-- Control the behavior when the user short presses the power button.
1152             0 - Nothing
1153             1 - Go to sleep (doze)
1154             2 - Really go to sleep (don't doze)
1155             3 - Really go to sleep and go home (don't doze)
1156             4 - Go to home
1157             5 - Dismiss IME if shown. Otherwise go to home
1158     -->
1159     <integer name="config_shortPressOnPowerBehavior">1</integer>
1160
1161     <!-- Control the behavior when the user double presses the power button.
1162             0 - Nothing
1163             1 - Toggle theater mode setting
1164             2 - Brightness boost
1165     -->
1166     <integer name="config_doublePressOnPowerBehavior">0</integer>
1167
1168     <!-- Control the behavior when the user triple presses the power button.
1169             0 - Nothing
1170             1 - Toggle theater mode setting
1171             2 - Brightness boost
1172     -->
1173     <integer name="config_triplePressOnPowerBehavior">0</integer>
1174
1175     <!-- Control the behavior when the user presses the sleep button.
1176             0 - Go to sleep (doze)
1177             1 - Go to sleep (doze) and go home
1178     -->
1179     <integer name="config_shortPressOnSleepBehavior">0</integer>
1180
1181     <!-- Time to wait while a button is pressed before triggering a very long press. -->
1182     <integer name="config_veryLongPressTimeout">3500</integer>
1183
1184     <!-- Package name for default keyguard appwidget [DO NOT TRANSLATE] -->
1185     <string name="widget_default_package_name" translatable="false"></string>
1186
1187     <!-- Class name for default keyguard appwidget [DO NOT TRANSLATE] -->
1188     <string name="widget_default_class_name" translatable="false"></string>
1189
1190     <!-- Indicate whether the SD card is accessible without removing the battery. -->
1191     <bool name="config_batterySdCardAccessibility">false</bool>
1192
1193     <!-- List of file paths for USB host busses to exclude from USB host support.
1194          For example, if the first USB bus on the device is used to communicate
1195          with the modem or some other restricted hardware, add "/dev/bus/usb/001/"
1196          to this list.  If this is empty, no parts of the host USB bus will be excluded.
1197     -->
1198     <string-array name="config_usbHostBlacklist" translatable="false">
1199     </string-array>
1200
1201     <!-- List of paths to serial ports that are available to the serial manager.
1202          for example, /dev/ttyUSB0
1203     -->
1204     <string-array translatable="false" name="config_serialPorts">
1205     </string-array>
1206
1207     <!-- Vibrator pattern for feedback about a long screen/key press -->
1208     <integer-array name="config_longPressVibePattern">
1209         <item>0</item>
1210         <item>1</item>
1211         <item>20</item>
1212         <item>21</item>
1213     </integer-array>
1214
1215     <!-- Vibrator pattern for feedback about touching a virtual key -->
1216     <integer-array name="config_virtualKeyVibePattern">
1217         <item>0</item>
1218         <item>10</item>
1219         <item>20</item>
1220         <item>30</item>
1221     </integer-array>
1222
1223     <!-- Vibrator pattern for a very short but reliable vibration for soft keyboard tap -->
1224     <integer-array name="config_keyboardTapVibePattern">
1225         <item>40</item>
1226     </integer-array>
1227
1228     <!-- Vibrator pattern for feedback when selecting an hour/minute tick of a Clock -->
1229     <integer-array name="config_clockTickVibePattern">
1230         <item>125</item>
1231         <item>30</item>
1232     </integer-array>
1233
1234     <!-- Vibrator pattern for feedback when selecting a day/month/year date of a Calendar -->
1235     <integer-array name="config_calendarDateVibePattern">
1236         <item>125</item>
1237         <item>30</item>
1238     </integer-array>
1239
1240     <!-- Vibrator pattern for feedback about booting with safe mode enabled -->
1241     <integer-array name="config_safeModeEnabledVibePattern">
1242         <item>0</item>
1243         <item>1</item>
1244         <item>20</item>
1245         <item>21</item>
1246         <item>500</item>
1247         <item>600</item>
1248     </integer-array>
1249
1250     <!-- Vibrator pattern for feedback about hitting a scroll barrier -->
1251     <integer-array name="config_scrollBarrierVibePattern">
1252         <item>0</item>
1253         <item>15</item>
1254         <item>10</item>
1255         <item>10</item>
1256     </integer-array>
1257
1258     <!-- The URI to associate with each ringtone effect constant, intended to be used with the
1259          android.os.VibrationEffect#get(Uri, Context) API.
1260          The position of the string in the string-array determines which ringtone effect is chosen.
1261          For example, if the URI passed into get match the third string in the string-array, then
1262          RINGTONE_3 will be the returned effect -->
1263     <string-array translatable="false" name="config_ringtoneEffectUris">
1264     </string-array>
1265
1266     <!-- The default intensity level for haptic feedback. See
1267          Settings.System.HAPTIC_FEEDBACK_INTENSITY more details on the constant values and
1268          meanings. -->
1269     <integer name="config_defaultHapticFeedbackIntensity">2</integer>
1270     <!-- The default intensity level for notification vibrations. See
1271          Settings.System.NOTIFICATION_VIBRATION_INTENSITY more details on the constant values and
1272          meanings. -->
1273     <integer name="config_defaultNotificationVibrationIntensity">2</integer>
1274     <!-- The default intensity level for ring vibrations. See
1275          Settings.System.RING_VIBRATION_INTENSITY more details on the constant values and
1276          meanings. -->
1277     <integer name="config_defaultRingVibrationIntensity">2</integer>
1278
1279     <!-- Whether to use the strict phone number matcher by default. -->
1280     <bool name="config_use_strict_phone_number_comparation">false</bool>
1281
1282     <!-- Whether to use the strict phone number matcher in Russia. -->
1283     <bool name="config_use_strict_phone_number_comparation_for_russia">true</bool>
1284
1285     <!-- Whether to use the strict phone number matcher in Kazakhstan. -->
1286     <bool name="config_use_strict_phone_number_comparation_for_kazakhstan">true</bool>
1287
1288     <!-- Display low battery warning when battery level dips to this value.
1289          Also, the battery stats are flushed to disk when we hit this level.  -->
1290     <integer name="config_criticalBatteryWarningLevel">5</integer>
1291
1292     <!-- Shutdown if the battery temperature exceeds (this value * 0.1) Celsius. -->
1293     <integer name="config_shutdownBatteryTemperature">680</integer>
1294
1295     <!-- Display low battery warning when battery level dips to this value -->
1296     <integer name="config_lowBatteryWarningLevel">15</integer>
1297
1298     <!-- The default suggested battery % at which we enable battery saver automatically.  -->
1299     <integer name="config_lowBatteryAutoTriggerDefaultLevel">15</integer>
1300
1301     <!-- The app which will handle routine based automatic battery saver, if empty the UI for
1302          routine based battery saver will be hidden -->
1303     <string name="config_batterySaverScheduleProvider"></string>
1304
1305     <!-- Close low battery warning when battery level reaches the lowBatteryWarningLevel
1306          plus this -->
1307     <integer name="config_lowBatteryCloseWarningBump">5</integer>
1308
1309     <!-- Default color for notification LED. -->
1310     <color name="config_defaultNotificationColor">#ffffffff</color>
1311
1312     <!-- Default LED on time for notification LED in milliseconds. -->
1313     <integer name="config_defaultNotificationLedOn">500</integer>
1314
1315     <!-- Default LED off time for notification LED in milliseconds. -->
1316     <integer name="config_defaultNotificationLedOff">2000</integer>
1317
1318     <!-- Default value for led color when battery is low on charge -->
1319     <integer name="config_notificationsBatteryLowARGB">0xFFFF0000</integer>
1320
1321     <!-- Default value for led color when battery is medium charged -->
1322     <integer name="config_notificationsBatteryMediumARGB">0xFFFFFF00</integer>
1323
1324     <!-- Default value for led color when battery is fully charged -->
1325     <integer name="config_notificationsBatteryFullARGB">0xFF00FF00</integer>
1326
1327     <!-- Default value for LED on time when the battery is low on charge in miliseconds -->
1328     <integer name="config_notificationsBatteryLedOn">125</integer>
1329
1330     <!-- Is the notification LED intrusive? Used to decide if there should be a disable option -->
1331     <bool name="config_intrusiveNotificationLed">false</bool>
1332
1333     <!-- De we do icon badges? Used to decide if there should be a disable option-->
1334     <bool name="config_notificationBadging">true</bool>
1335
1336     <!-- Default value for LED off time when the battery is low on charge in miliseconds -->
1337     <integer name="config_notificationsBatteryLedOff">2875</integer>
1338
1339     <!-- Number of notifications to keep in the notification service historical archive -->
1340     <integer name="config_notificationServiceArchiveSize">100</integer>
1341
1342     <!-- Allow the menu hard key to be disabled in LockScreen on some devices -->
1343     <bool name="config_disableMenuKeyInLockScreen">false</bool>
1344
1345     <!-- Don't show lock screen before unlock screen (PIN/pattern/password) -->
1346     <bool name="config_enableLockBeforeUnlockScreen">false</bool>
1347
1348     <!-- Disable lockscreen rotation by default -->
1349     <bool name="config_enableLockScreenRotation">false</bool>
1350
1351     <!-- Is the device capable of hot swapping an UICC Card -->
1352     <bool name="config_hotswapCapable">false</bool>
1353
1354     <!-- Component name of the ICC hotswap prompt for restart dialog -->
1355     <string name="config_iccHotswapPromptForRestartDialogComponent" translatable="false">@null</string>
1356
1357     <!-- Enable puk unlockscreen by default.
1358          If unlock screen is disabled, the puk should be unlocked through Emergency Dialer -->
1359     <bool name="config_enable_puk_unlock_screen">true</bool>
1360
1361     <!-- Enable emergency call when sim is locked or puk locked. Some countries/carriers do not
1362          allow emergency calls to be placed without the IMSI, which is locked in the SIM.
1363          If so, this should be set to 'false' in an overlay. -->
1364     <bool name="config_enable_emergency_call_while_sim_locked">true</bool>
1365
1366     <!-- Is the lock-screen disabled for new users by default -->
1367     <bool name="config_disableLockscreenByDefault">false</bool>
1368
1369     <!-- If true, enables verification of the lockscreen credential in the factory reset protection
1370         flow. This should be true if gatekeeper / weaver credentials can still be checked after a
1371         factory reset. -->
1372     <bool name="config_enableCredentialFactoryResetProtection">true</bool>
1373
1374     <!-- Control the behavior when the user long presses the home button.
1375             0 - Nothing
1376             1 - Launch all apps intent
1377             2 - Launch assist intent
1378          This needs to match the constants in
1379          policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
1380     -->
1381     <integer name="config_longPressOnHomeBehavior">0</integer>
1382
1383     <!-- Control the behavior when the user double-taps the home button.
1384             0 - Nothing
1385             1 - Recent apps view in SystemUI
1386          This needs to match the constants in
1387          policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
1388     -->
1389     <integer name="config_doubleTapOnHomeBehavior">0</integer>
1390
1391     <!-- Minimum screen brightness setting allowed by the power manager.
1392          The user is forbidden from setting the brightness below this level. -->
1393     <integer name="config_screenBrightnessSettingMinimum">10</integer>
1394
1395     <!-- Maximum screen brightness allowed by the power manager.
1396          The user is forbidden from setting the brightness above this level. -->
1397     <integer name="config_screenBrightnessSettingMaximum">255</integer>
1398
1399     <!-- Default screen brightness setting.
1400          Must be in the range specified by minimum and maximum. -->
1401     <integer name="config_screenBrightnessSettingDefault">102</integer>
1402
1403     <!-- Default screen brightness for VR setting. -->
1404     <integer name="config_screenBrightnessForVrSettingDefault">86</integer>
1405
1406     <!-- Minimum screen brightness setting allowed for VR. Device panels start increasing pulse
1407          width as brightness decreases below this theshold. -->
1408     <integer name="config_screenBrightnessForVrSettingMinimum">79</integer>
1409
1410     <!-- Maximum screen brightness setting allowed for VR. -->
1411     <integer name="config_screenBrightnessForVrSettingMaximum">255</integer>
1412
1413     <!-- Screen brightness used to dim the screen while dozing in a very low power state.
1414          May be less than the minimum allowed brightness setting
1415          that can be set by the user. -->
1416     <integer name="config_screenBrightnessDoze">1</integer>
1417
1418     <!-- Delay that allows some content to arrive at the display before switching
1419          from DOZE to ON. -->
1420     <integer name="config_wakeUpDelayDoze">0</integer>
1421
1422     <!-- Whether or not to skip the initial brightness ramps when the display transitions to
1423          STATE_ON. Setting this to true will skip the brightness ramp to the last stored active
1424          brightness value and will repeat for the following ramp if autobrightness is enabled. -->
1425     <bool name="config_skipScreenOnBrightnessRamp">false</bool>
1426
1427     <!-- Allow automatic adjusting of the screen brightness while dozing in low power state. -->
1428     <bool name="config_allowAutoBrightnessWhileDozing">false</bool>
1429
1430     <!-- Stability requirements in milliseconds for accepting a new brightness level.  This is used
1431          for debouncing the light sensor.  Different constants are used to debounce the light sensor
1432          when adapting to brighter or darker environments.  This parameter controls how quickly
1433          brightness changes occur in response to an observed change in light level that exceeds the
1434          hysteresis threshold. -->
1435     <integer name="config_autoBrightnessBrighteningLightDebounce">4000</integer>
1436     <integer name="config_autoBrightnessDarkeningLightDebounce">8000</integer>
1437
1438     <!-- Initial light sensor event rate in milliseconds for automatic brightness control. This is
1439          used for obtaining the first light sample when the device stops dozing.
1440
1441          Set this to -1 to disable this feature. -->
1442     <integer name="config_autoBrightnessInitialLightSensorRate">-1</integer>
1443
1444     <!-- Light sensor event rate in milliseconds for automatic brightness control. -->
1445     <integer name="config_autoBrightnessLightSensorRate">250</integer>
1446
1447     <!-- The maximum range of gamma adjustment possible using the screen
1448          auto-brightness adjustment setting. -->
1449     <fraction name="config_autoBrightnessAdjustmentMaxGamma">300%</fraction>
1450
1451     <!-- If we allow automatic adjustment of screen brightness while dozing, how many times we want
1452          to reduce it to preserve the battery. Value of 100% means no scaling. -->
1453     <fraction name="config_screenAutoBrightnessDozeScaleFactor">100%</fraction>
1454
1455     <!-- When the screen is turned on, the previous estimate of the ambient light level at the time
1456          the screen was turned off is restored and is used to determine the initial screen
1457          brightness.
1458
1459          If this flag is true, then the ambient light level estimate will be promptly recomputed
1460          after the warm-up interface and the screen brightness will be adjusted immediately.
1461
1462          If this flag is false, then the ambient light level estimate will be adjusted more
1463          gradually in the same manner that normally happens when the screen is on according to the
1464          brightening or dimming debounce thresholds.  As a result, it may take somewhat longer to
1465          adapt to the environment.  This mode may be better suited for watches. -->
1466     <bool name="config_autoBrightnessResetAmbientLuxAfterWarmUp">true</bool>
1467
1468     <!-- Screen brightness used to dim the screen when the user activity
1469          timeout expires.  May be less than the minimum allowed brightness setting
1470          that can be set by the user. -->
1471     <integer name="config_screenBrightnessDim">10</integer>
1472
1473     <!-- Minimum allowable screen brightness to use in a very dark room.
1474          This value sets the floor for the darkest possible auto-brightness
1475          adjustment.  It is expected to be somewhat less than the first entry in
1476          config_autoBrightnessLcdBacklightValues so as to allow the user to have
1477          some range of adjustment to dim the screen further than usual in very
1478          dark rooms. The contents of the screen must still be clearly visible
1479          in darkness (although they may not be visible in a bright room). -->
1480     <integer name="config_screenBrightnessDark">1</integer>
1481
1482     <!-- Array of lux values to define the minimum brightness curve, which guarantees that any
1483          brightness curve that dips below it is rejected by the system.
1484          This prevents auto-brightness from setting the screen so dark as to prevent the user from
1485          resetting or disabling it.
1486
1487          The values must be non-negative and strictly increasing, and correspond to the values in
1488          the config_minimumBrightnessCurveNits array. -->
1489     <array name="config_minimumBrightnessCurveLux">
1490         <item>0.0</item>
1491         <item>2000.0</item>
1492         <item>4000.0</item>
1493     </array>
1494
1495     <!-- Array of nits values to define the minimum brightness curve, which guarantees that any
1496          brightness curve that dips below it is rejected by the system.
1497          This should map lux to the absolute minimum nits that are still readable in that ambient
1498          brightness.
1499
1500          The values must be non-negative and non-decreasing, and correspond to the values in the
1501          config_minimumBrightnessCurveLux array. -->
1502     <array name="config_minimumBrightnessCurveNits">
1503         <item>0.0</item>
1504         <item>50.0</item>
1505         <item>90.0</item>
1506     </array>
1507
1508     <!-- Array of light sensor lux values to define our levels for auto backlight brightness support.
1509          The N entries of this array define N + 1 control points as follows:
1510          (1-based arrays)
1511
1512          Point 1:            (0, value[1]):             lux <= 0
1513          Point 2:     (level[1], value[2]):  0        < lux <= level[1]
1514          Point 3:     (level[2], value[3]):  level[2] < lux <= level[3]
1515          ...
1516          Point N+1: (level[N], value[N+1]):  level[N] < lux
1517
1518          The control points must be strictly increasing.  Each control point
1519          corresponds to an entry in the brightness backlight values arrays.
1520          For example, if lux == level[1] (first element of the levels array)
1521          then the brightness will be determined by value[2] (second element
1522          of the brightness values array).
1523
1524          Spline interpolation is used to determine the auto-brightness
1525          backlight values for lux levels between these control points.
1526
1527          Must be overridden in platform specific overlays -->
1528     <integer-array name="config_autoBrightnessLevels">
1529     </integer-array>
1530
1531     <!-- Timeout (in milliseconds) after which we remove the effects any user interactions might've
1532          had on the brightness mapping. This timeout doesn't start until we transition to a
1533          non-interactive display policy so that we don't reset while users are using their devices,
1534          but also so that we don't erroneously keep the short-term model if the device is dozing
1535          but the display is fully on. -->
1536     <integer name="config_autoBrightnessShortTermModelTimeout">300000</integer>
1537
1538     <!-- Array of output values for LCD backlight corresponding to the lux values
1539          in the config_autoBrightnessLevels array.  This array should have size one greater
1540          than the size of the config_autoBrightnessLevels array.
1541          The brightness values must be between 0 and 255 and be non-decreasing.
1542          This must be overridden in platform specific overlays -->
1543     <integer-array name="config_autoBrightnessLcdBacklightValues">
1544     </integer-array>
1545
1546     <!-- Array of desired screen brightness in nits corresponding to the lux values
1547          in the config_autoBrightnessLevels array. As with config_screenBrightnessMinimumNits and
1548          config_screenBrightnessMaximumNits, the display brightness is defined as the measured
1549          brightness of an all-white image.
1550
1551          If this is defined then:
1552             - config_autoBrightnessLcdBacklightValues should not be defined
1553             - config_screenBrightnessNits must be defined
1554             - config_screenBrightnessBacklight must be defined
1555
1556          This array should have size one greater than the size of the config_autoBrightnessLevels
1557          array. The brightness values must be non-negative and non-decreasing. This must be
1558          overridden in platform specific overlays -->
1559     <array name="config_autoBrightnessDisplayValuesNits">
1560     </array>
1561
1562     <!-- Array of output values for button backlight corresponding to the luX values
1563          in the config_autoBrightnessLevels array.  This array should have size one greater
1564          than the size of the config_autoBrightnessLevels array.
1565          The brightness values must be between 0 and 255 and be non-decreasing.
1566          This must be overridden in platform specific overlays -->
1567     <integer-array name="config_autoBrightnessButtonBacklightValues">
1568     </integer-array>
1569
1570     <!-- Array of output values for keyboard backlight corresponding to the lux values
1571          in the config_autoBrightnessLevels array.  This array should have size one greater
1572          than the size of the config_autoBrightnessLevels array.
1573          The brightness values must be between 0 and 255 and be non-decreasing.
1574          This must be overridden in platform specific overlays -->
1575     <integer-array name="config_autoBrightnessKeyboardBacklightValues">
1576     </integer-array>
1577
1578     <!-- An array describing the screen's backlight values corresponding to the brightness
1579          values in the config_screenBrightnessNits array.
1580
1581          This array should be equal in size to config_screenBrightnessBacklight. -->
1582     <integer-array name="config_screenBrightnessBacklight">
1583     </integer-array>
1584
1585     <!-- An array of floats describing the screen brightness in nits corresponding to the backlight
1586          values in the config_screenBrightnessBacklight array.  On OLED displays these  values
1587          should be measured with an all white image while the display is in the fully on state.
1588          Note that this value should *not* reflect the maximum brightness value for any high
1589          brightness modes but only the maximum brightness value obtainable in a sustainable manner.
1590
1591          This array should be equal in size to config_screenBrightnessBacklight -->
1592     <array name="config_screenBrightnessNits">
1593     </array>
1594
1595     <!-- Array of ambient lux threshold values. This is used for determining hysteresis constraint
1596          values by calculating the index to use for lookup and then setting the constraint value
1597          to the corresponding value of the array. The new brightening hysteresis constraint value
1598          is the n-th element of config_ambientBrighteningThresholds, and the new darkening
1599          hysteresis constraint value is the n-th element of config_ambientDarkeningThresholds.
1600
1601          The (zero-based) index is calculated as follows: (MAX is the largest index of the array)
1602          condition                       calculated index
1603          value < level[0]                0
1604          level[n] <= value < level[n+1]  n+1
1605          level[MAX] <= value             MAX+1 -->
1606     <integer-array name="config_ambientThresholdLevels">
1607     </integer-array>
1608
1609     <!-- Array of hysteresis constraint values for brightening, represented as tenths of a
1610          percent. The length of this array is assumed to be one greater than
1611          config_ambientThresholdLevels. The brightening threshold is calculated as
1612          lux * (1.0f + CONSTRAINT_VALUE). When the current lux is higher than this threshold,
1613          the screen brightness is recalculated. See the config_ambientThresholdLevels
1614          description for how the constraint value is chosen. -->
1615     <integer-array name="config_ambientBrighteningThresholds">
1616         <item>100</item>
1617     </integer-array>
1618
1619     <!-- Array of hysteresis constraint values for darkening, represented as tenths of a
1620          percent. The length of this array is assumed to be one greater than
1621          config_ambientThresholdLevels. The darkening threshold is calculated as
1622          lux * (1.0f - CONSTRAINT_VALUE). When the current lux is lower than this threshold,
1623          the screen brightness is recalculated. See the config_ambientThresholdLevels
1624          description for how the constraint value is chosen. -->
1625     <integer-array name="config_ambientDarkeningThresholds">
1626         <item>200</item>
1627     </integer-array>
1628
1629     <!-- Array of screen brightness threshold values. This is used for determining hysteresis
1630          constraint values by calculating the index to use for lookup and then setting the
1631          constraint value to the corresponding value of the array. The new brightening hysteresis
1632          constraint value is the n-th element of config_screenBrighteningThresholds, and the new
1633          darkening hysteresis constraint value is the n-th element of
1634          config_screenDarkeningThresholds.
1635
1636          The (zero-based) index is calculated as follows: (MAX is the largest index of the array)
1637          condition                       calculated index
1638          value < level[0]                0
1639          level[n] <= value < level[n+1]  n+1
1640          level[MAX] <= value             MAX+1 -->
1641     <integer-array name="config_screenThresholdLevels">
1642     </integer-array>
1643
1644     <!-- Array of hysteresis constraint values for brightening, represented as tenths of a
1645          percent. The length of this array is assumed to be one greater than
1646          config_screenThresholdLevels. The brightening threshold is calculated as
1647          screenBrightness * (1.0f + CONSTRAINT_VALUE). When the new screen brightness is higher
1648          than this threshold, it is applied. See the config_screenThresholdLevels description for
1649          how the constraint value is chosen. -->
1650     <integer-array name="config_screenBrighteningThresholds">
1651         <item>100</item>
1652     </integer-array>
1653
1654     <!-- Array of hysteresis constraint values for darkening, represented as tenths of a
1655          percent. The length of this array is assumed to be one greater than
1656          config_screenThresholdLevels. The darkening threshold is calculated as
1657          screenBrightness * (1.0f - CONSTRAINT_VALUE). When the new screen brightness is lower than
1658          this threshold, it is applied. See the config_screenThresholdLevels description for how
1659          the constraint value is chosen. -->
1660     <integer-array name="config_screenDarkeningThresholds">
1661         <item>200</item>
1662     </integer-array>
1663
1664     <!-- Amount of time it takes for the light sensor to warm up in milliseconds.
1665          For this time after the screen turns on, the Power Manager
1666          will not debounce light sensor readings -->
1667     <integer name="config_lightSensorWarmupTime">0</integer>
1668
1669     <!-- Enables swipe versus poly-finger touch disambiguation in the KeyboardView -->
1670     <bool name="config_swipeDisambiguation">true</bool>
1671
1672     <!-- Specifies the amount of time to disable virtual keys after the screen is touched
1673          in order to filter out accidental virtual key presses due to swiping gestures
1674          or taps near the edge of the display.  May be 0 to disable the feature.
1675          It is recommended that this value be no more than 250 ms.
1676          This feature should be disabled for most devices. -->
1677     <integer name="config_virtualKeyQuietTimeMillis">0</integer>
1678
1679     <!-- A list of potential packages, in priority order, that may contain an
1680          ephemeral resolver. Each package will be be queried for a component
1681          that has been granted the PACKAGE_EPHEMERAL_AGENT permission.
1682          This may be empty if ephemeral apps are not supported. -->
1683     <string-array name="config_ephemeralResolverPackage" translatable="false">
1684         <!-- Add packages here -->
1685     </string-array>
1686
1687     <!-- Component name of the default wallpaper. This will be ImageWallpaper if not
1688          specified -->
1689     <string name="default_wallpaper_component" translatable="false">@null</string>
1690
1691     <!-- By default a product has no distinct default lock wallpaper -->
1692     <item name="default_lock_wallpaper" type="drawable">@null</item>
1693
1694     <!-- Component name of the built in wallpaper used to display bitmap wallpapers. This must not be null. -->
1695     <string name="image_wallpaper_component" translatable="false">com.android.systemui/com.android.systemui.ImageWallpaper</string>
1696
1697     <!-- True if WallpaperService is enabled -->
1698     <bool name="config_enableWallpaperService">true</bool>
1699
1700     <!-- True if the device should block turning display on at boot until wallpaper is ready -->
1701     <bool name="config_checkWallpaperAtBoot">true</bool>
1702
1703     <!-- Class name of WallpaperManagerService. -->
1704     <string name="config_wallpaperManagerServiceName" translatable="false">com.android.server.wallpaper.WallpaperManagerService</string>
1705
1706     <!-- Enables the TimeZoneRuleManager service. This is the master switch for the updateable time
1707          zone update mechanism. -->
1708     <bool name="config_enableUpdateableTimeZoneRules">false</bool>
1709
1710     <!-- Enables APK-based time zone update triggering. Set this to false when updates are triggered
1711          via external events and not by APK updates. For example, if an updater checks with a server
1712          on a regular schedule.
1713          [This is only used if config_enableUpdateableTimeZoneRules is true.] -->
1714     <bool name="config_timeZoneRulesUpdateTrackingEnabled">false</bool>
1715
1716     <!-- The package of the time zone rules updater application. Expected to be the same
1717          for all Android devices that support APK-based time zone rule updates.
1718          A package-targeted com.android.intent.action.timezone.TRIGGER_RULES_UPDATE_CHECK intent
1719          will be sent to the updater app if the system server detects an update to the updater or
1720          data app packages.
1721          The package referenced here must have the android.permission.UPDATE_TIME_ZONE_RULES
1722          permission.
1723          [This is only used if config_enableUpdateableTimeZoneRules and
1724          config_timeZoneRulesUpdateTrackingEnabled are true.] -->
1725     <string name="config_timeZoneRulesUpdaterPackage" translatable="false">com.android.timezone.updater</string>
1726
1727     <!-- The package of the time zone rules data application. Expected to be configured
1728          by OEMs to reference their own priv-app APK package.
1729          A package-targeted com.android.intent.action.timezone.TRIGGER_RULES_UPDATE_CHECK intent
1730          will be sent to the updater app if the system server detects an update to the updater or
1731          data app packages.
1732          [This is only used if config_enableUpdateableTimeZoneRules and
1733          config_timeZoneRulesUpdateTrackingEnabled are true.] -->
1734     <string name="config_timeZoneRulesDataPackage" translatable="false"></string>
1735
1736     <!-- The allowed time in milliseconds between an update check intent being broadcast and the
1737          response being considered overdue. Reliability triggers will not fire in this time.
1738          [This is only used if config_enableUpdateableTimeZoneRules and
1739          config_timeZoneRulesUpdateTrackingEnabled are true.] -->
1740     <!-- 5 minutes -->
1741     <integer name="config_timeZoneRulesCheckTimeMillisAllowed">300000</integer>
1742
1743     <!-- The number of times a time zone update check is allowed to fail before the system will stop
1744          reacting to reliability triggers.
1745          [This is only used if config_enableUpdateableTimeZoneRules and
1746          config_timeZoneRulesUpdateTrackingEnabled are true.] -->
1747     <integer name="config_timeZoneRulesCheckRetryCount">5</integer>
1748
1749     <!-- Whether to enable network location overlay which allows network
1750          location provider to be replaced by an app at run-time. When disabled,
1751          only the config_networkLocationProviderPackageName package will be
1752          searched for network location provider, otherwise packages whose
1753          signature matches the signatures of config_locationProviderPackageNames
1754          will be searched, and the service with the highest version number will
1755          be picked. Anyone who wants to disable the overlay mechanism can set it
1756          to false.
1757          -->
1758     <bool name="config_enableNetworkLocationOverlay" translatable="false">true</bool>
1759     <!-- Package name providing network location support. Used only when
1760          config_enableNetworkLocationOverlay is false. -->
1761     <string name="config_networkLocationProviderPackageName" translatable="false">@null</string>
1762
1763     <!-- Whether to enable fused location provider overlay which allows fused
1764          location provider to be replaced by an app at run-time. When disabled,
1765          only the config_fusedLocationProviderPackageName package will be
1766          searched for fused location provider, otherwise packages whose
1767          signature matches the signatures of config_locationProviderPackageNames
1768          will be searched, and the service with the highest version number will
1769          be picked. Anyone who wants to disable the overlay mechanism can set it
1770          to false.
1771          -->
1772     <bool name="config_enableFusedLocationOverlay" translatable="false">true</bool>
1773     <!-- Package name providing fused location support. Used only when
1774          config_enableFusedLocationOverlay is false. -->
1775     <string name="config_fusedLocationProviderPackageName" translatable="false">com.android.location.fused</string>
1776
1777     <string-array name="config_locationExtraPackageNames" translatable="false"></string-array>
1778
1779     <!-- The package name of the default network recommendation app.
1780          A network recommendation provider must:
1781              * Be granted the SCORE_NETWORKS permission.
1782              * Be granted the ACCESS_COARSE_LOCATION permission.
1783              * Include a Service for the android.net.scoring.RECOMMEND_NETWORKS action
1784                protected by the BIND_NETWORK_RECOMMENDATION_SERVICE permission.
1785
1786          This must be set to a valid network recommendation app or empty.
1787      -->
1788     <string name="config_defaultNetworkRecommendationProviderPackage" translatable="false"></string>
1789
1790     <!-- Whether to enable Hardware FLP overlay which allows Hardware FLP to be
1791          replaced by an app at run-time. When disabled, only the
1792          config_hardwareFlpPackageName package will be searched for Hardware Flp,
1793          otherwise packages whose signature matches the signatures of
1794          config_locationProviderPackageNames will be searched, and the service
1795          with the highest version number will be picked. Anyone who wants to
1796          disable the overlay mechanism can set it to false.
1797          -->
1798     <bool name="config_enableHardwareFlpOverlay" translatable="false">true</bool>
1799     <!-- Package name providing Hardware Flp. Used only when
1800          config_enableHardwareFlpOverlay is false. -->
1801     <string name="config_hardwareFlpPackageName" translatable="false">com.android.location.fused</string>
1802
1803     <!-- Whether to enable geocoder overlay which allows geocoder to be replaced
1804          by an app at run-time. When disabled, only the
1805          config_geocoderProviderPackageName package will be searched for
1806          geocoder, otherwise packages whose signature matches the signatures of
1807          config_locationProviderPackageNames will be searched, and the service
1808          with the highest version number will be picked. Anyone who wants to
1809          disable the overlay mechanism can set it to false.
1810          -->
1811     <bool name="config_enableGeocoderOverlay" translatable="false">true</bool>
1812     <!-- Package name providing geocoder API support. Used only when
1813          config_enableGeocoderOverlay is false. -->
1814     <string name="config_geocoderProviderPackageName" translatable="false">@null</string>
1815
1816     <!-- Whether to enable geofence overlay which allows geofence to be replaced
1817          by an app at run-time. When disabled, only the
1818          config_geofenceProviderPackageName package will be searched for
1819          geofence implementation, otherwise packages whose signature matches the
1820          signatures of config_locationProviderPackageNames will be searched, and
1821          the service with the highest version number will be picked. Anyone who
1822          wants to disable the overlay mechanism can set it to false.
1823          -->
1824     <bool name="config_enableGeofenceOverlay" translatable="false">true</bool>
1825     <!-- Package name providing geofence API support. Used only when
1826          config_enableGeofenceOverlay is false. -->
1827     <string name="config_geofenceProviderPackageName" translatable="false">@null</string>
1828
1829     <!-- Whether to enable Hardware Activity-Recognition overlay which allows Hardware
1830          Activity-Recognition to be replaced by an app at run-time. When disabled, only the
1831          config_activityRecognitionHardwarePackageName package will be searched for
1832          its implementation, otherwise packages whose signature matches the
1833          signatures of config_locationProviderPackageNames will be searched, and
1834          the service with the highest version number will be picked. Anyone who
1835          wants to disable the overlay mechanism can set it to false.
1836          -->
1837     <bool name="config_enableActivityRecognitionHardwareOverlay" translatable="false">true</bool>
1838     <!-- Package name providing Hardware Activity-Recognition API support. Used only when
1839          config_enableActivityRecognitionHardwareOverlay is false. -->
1840     <string name="config_activityRecognitionHardwarePackageName" translatable="false">@null</string>
1841
1842     <!-- Package name(s) containing location provider support.
1843          These packages can contain services implementing location providers,
1844          such as the Geocode Provider, Network Location Provider, and
1845          Fused Location Provider. They will each be searched for
1846          service components implementing these providers.
1847          It is strongly recommended that the packages explicitly named
1848          below are on the system image, so that they will not map to
1849          a 3rd party application.
1850          The location framework also has support for installation
1851          of new location providers at run-time. The new package does not
1852          have to be explicitly listed here, however it must have a signature
1853          that matches the signature of at least one package on this list.
1854          -->
1855     <string-array name="config_locationProviderPackageNames" translatable="false">
1856         <!-- The standard AOSP fused location provider -->
1857         <item>com.android.location.fused</item>
1858     </string-array>
1859
1860     <!-- This string array can be overriden to enable test location providers initially. -->
1861     <!-- Array of "[locationProviderName],[requiresNetwork],
1862          [requiresSatellite],[requiresCell],[hasMonetaryCost],
1863          [supportAltitute],[supportsSpeed],[supportsBearing],
1864          [powerRequirement],[accuracy]" -->
1865     <!-- powerRequirement is defined in android.location.Criteria
1866          0 = NO_REQUIREMENT / 1 = POWER_LOW / 2 = POWER_MEDIUM / 3 = POWER_HIGH -->
1867     <!-- accuracy is defined in anroid.location.Criteria
1868          1 = ACCURACY_FINE / 2 = ACCURACY_COARSE -->
1869     <string-array name="config_testLocationProviders" translatable="false">
1870         <!-- Example test network location provider
1871         <item>network,false,false,false,false,true,true,true,1,2</item>
1872         -->
1873     </string-array>
1874
1875     <!-- Boolean indicating if current platform supports bluetooth SCO for off call
1876     use cases -->
1877     <bool name="config_bluetooth_sco_off_call">true</bool>
1878
1879     <!-- Boolean indicating if current platform supports bluetooth wide band
1880          speech -->
1881     <bool name="config_bluetooth_wide_band_speech">true</bool>
1882
1883     <!-- Boolean indicating if current platform need do one-time bluetooth address
1884          re-validation -->
1885     <bool name="config_bluetooth_address_validation">false</bool>
1886
1887     <!-- Boolean indicating if current platform supports BLE peripheral mode -->
1888     <bool name="config_bluetooth_le_peripheral_mode_supported">false</bool>
1889
1890     <!-- Boolean indicating if current platform supports HFP inband ringing -->
1891     <bool name="config_bluetooth_hfp_inband_ringing_support">false</bool>
1892
1893     <!-- Max number of scan filters supported by blutooth controller. 0 if the
1894          device does not support hardware scan filters-->
1895     <integer translatable="false" name="config_bluetooth_max_scan_filters">0</integer>
1896
1897     <!-- Max number of advertisers supported by bluetooth controller. 0 if the
1898          device does not support multiple advertisement-->
1899     <integer translatable="false" name="config_bluetooth_max_advertisers">0</integer>
1900
1901     <!-- Idle current for bluetooth controller. 0 by default-->
1902     <integer translatable="false" name="config_bluetooth_idle_cur_ma">0</integer>
1903
1904     <!-- Rx current for bluetooth controller. 0 by default-->
1905     <integer translatable="false" name="config_bluetooth_rx_cur_ma">0</integer>
1906
1907     <!-- Tx current for bluetooth controller. 0 by default-->
1908     <integer translatable="false" name="config_bluetooth_tx_cur_ma">0</integer>
1909
1910     <!-- Operating volatage for bluetooth controller. 0 by default-->
1911     <integer translatable="false" name="config_bluetooth_operating_voltage_mv">0</integer>
1912
1913     <!-- Max number of connected audio devices supported by Bluetooth stack -->
1914     <integer name="config_bluetooth_max_connected_audio_devices">5</integer>
1915
1916     <!-- Whether supported profiles should be reloaded upon enabling bluetooth -->
1917     <bool name="config_bluetooth_reload_supported_profiles_when_enabled">false</bool>
1918
1919     <!-- Enabling autoconnect over pan -->
1920     <bool name="config_bluetooth_pan_enable_autoconnect">false</bool>
1921
1922     <!-- The default data-use polling period. -->
1923     <integer name="config_datause_polling_period_sec">600</integer>
1924
1925     <!-- The default data-use threshold in bytes. 0 disables-->
1926     <integer name="config_datause_threshold_bytes">0</integer>
1927
1928     <!-- The default reduced-datarate value in kilobits per sec -->
1929     <integer name="config_datause_throttle_kbitsps">300</integer>
1930
1931     <!-- The default iface on which to monitor data use -->
1932     <string name="config_datause_iface" translatable="false">rmnet0</string>
1933
1934     <!-- The default reduced-datarate notification mask -->
1935     <!-- 2 means give warning -->
1936     <integer name="config_datause_notification_type">2</integer>
1937
1938     <!-- If Voice Radio Technology is RIL_RADIO_TECHNOLOGY_LTE:14 or
1939          RIL_RADIO_TECHNOLOGY_UNKNOWN:0 this is the value that should be used instead.
1940          A configuration value of RIL_RADIO_TECHNOLOGY_UNKNOWN:0 means
1941          there is no replacement value and that the default assumption
1942          for phone type (GSM) should be used. -->
1943     <integer name="config_volte_replacement_rat">0</integer>
1944
1945     <!-- Flag indicating whether the current device is "voice capable".
1946          If true, this means that the device supports circuit-switched
1947          (i.e. voice) phone calls over the telephony network, and is
1948          allowed to display the in-call UI while a cellular voice call is
1949          active.  This can be overridden to false for "data only" devices
1950          which can't make voice calls and don't support any in-call UI.
1951
1952          Note: this flag is subtly different from the
1953          PackageManager.FEATURE_TELEPHONY system feature, which is
1954          available on *any* device with a telephony radio, even if the
1955          device is data-only. -->
1956     <bool name="config_voice_capable">true</bool>
1957
1958     <!-- Flag indicating whether all audio streams should be mapped to
1959          one single stream. If true, all audio streams are mapped to
1960          STREAM_MUSIC as if it's on TV platform. -->
1961     <bool name="config_single_volume">false</bool>
1962
1963     <!-- Flag indicating that an outbound call must have a call capable phone account
1964          that has declared it can process the call's handle. -->
1965     <bool name="config_requireCallCapableAccountForHandle">false</bool>
1966
1967     <!-- Flag indicating if the user is notified when the mobile network access is restricted -->
1968     <bool name="config_user_notification_of_restrictied_mobile_access">true</bool>
1969
1970     <!-- Flag indicating whether the current device allows sms service.
1971          If true, this means that the device supports both sending and
1972          receiving sms via the telephony network.
1973          This can be overridden to false for "data only" devices
1974          which can't send and receive sms message.
1975
1976          Note: Disable SMS also disable voicemail waiting sms,
1977                cell broadcasting sms, and MMS. -->
1978     <bool name="config_sms_capable">true</bool>
1979
1980     <!-- Default SMS Application. This will be the default SMS application when
1981          the phone first boots. The user can then change the default app to one
1982          of their choosing.
1983          This can be overridden for devices where a different default SMS
1984          application is desired.
1985
1986          If this string is empty or the specified package does not exist, then
1987          the platform will search for an SMS app and use that (if there is one)
1988
1989          Note: This config is deprecated, please use config_defaultSms instead. -->
1990     <string name="default_sms_application" translatable="false">com.android.messaging</string>
1991
1992     <!-- Default web browser.  This is the package name of the application that will
1993          be the default browser when the device first boots.  Afterwards the user
1994          can select whatever browser app they wish to use as the default.
1995
1996          If this string is empty or the specified package does not exist, then
1997          the behavior will be as though no app was named as an explicit default.
1998
1999          Note: This config is deprecated, please use config_defaultBrowser instead. -->
2000     <string name="default_browser" translatable="false"></string>
2001
2002     <!-- The name of the package that will hold the assistant role by default. -->
2003     <string name="config_defaultAssistant" translatable="false" />
2004     <!-- Whether the default assistant settings should be shown. -->
2005     <bool name="config_showDefaultAssistant">true</bool>
2006     <!-- The name of the package that will hold the browser role by default. -->
2007     <string name="config_defaultBrowser" translatable="false">@string/default_browser</string>
2008     <!-- The name of the package that will hold the dialer role by default. -->
2009     <string name="config_defaultDialer" translatable="false">com.android.dialer</string>
2010     <!-- The name of the package that will hold the SMS role by default. -->
2011     <string name="config_defaultSms" translatable="false">@string/default_sms_application</string>
2012     <!-- Whether the default emergency settings should be shown. -->
2013     <bool name="config_showDefaultEmergency">false</bool>
2014     <!-- Whether the default home settings should be shown. -->
2015     <bool name="config_showDefaultHome">true</bool>
2016
2017     <!-- Enable/disable default bluetooth profiles:
2018         HSP_AG, ObexObjectPush, Audio, NAP -->
2019     <bool name="config_bluetooth_default_profiles">true</bool>
2020
2021     <!-- IP address of the dns server to use if nobody else suggests one -->
2022     <string name="config_default_dns_server" translatable="false">8.8.8.8</string>
2023
2024     <!-- The default mobile provisioning apn. Empty by default, maybe overridden by
2025          an mcc/mnc specific config.xml -->
2026     <string name="mobile_provisioning_apn" translatable="false"></string>
2027
2028     <!-- The default mobile provisioning url. Empty by default, maybe overridden by
2029          an mcc/mnc specific config.xml -->
2030     <string name="mobile_provisioning_url" translatable="false"></string>
2031
2032     <!-- The default character set for GsmAlphabet -->
2033     <!-- Empty string means MBCS is not considered -->
2034     <string name="gsm_alphabet_default_charset" translatable="false"></string>
2035
2036     <!-- Enables SIP on WIFI only -->
2037     <bool name="config_sip_wifi_only">false</bool>
2038
2039     <!-- Enables built-in SIP phone capability -->
2040     <bool name="config_built_in_sip_phone">true</bool>
2041
2042     <!-- Boolean indicating if restoring network selection should be skipped -->
2043     <!-- The restoring is handled by modem if it is true-->
2044     <bool translatable="false" name="skip_restoring_network_selection">false</bool>
2045
2046     <!-- Maximum number of database connections opened and managed by framework layer
2047          to handle queries on each database when using Write-Ahead Logging. -->
2048     <integer name="db_connection_pool_size">4</integer>
2049
2050     <!-- The default journal mode to use use when Write-Ahead Logging is not active.
2051          Choices are: OFF, DELETE, TRUNCATE, PERSIST and MEMORY.
2052          PERSIST may improve performance by reducing how often journal blocks are
2053          reallocated (compared to truncation) resulting in better data block locality
2054          and less churn of the storage media.
2055
2056          The PERSIST mode results in data persisting in the journal beyond the life of
2057          a transaction, so it interacts poorly with SECURE_DELETE. -->
2058     <string name="db_default_journal_mode" translatable="false">TRUNCATE</string>
2059
2060     <!-- Maximum size of the persistent journal file in bytes.
2061          If the journal file grows to be larger than this amount then SQLite will
2062          truncate it after committing the transaction. -->
2063     <integer name="db_journal_size_limit">524288</integer>
2064
2065     <!-- When opening a database with WAL enabled and if the wal file already exists and larger
2066          than this size in bytes, we'll truncate it. -->
2067     <integer name="db_wal_truncate_size">1048576</integer>
2068
2069     <!-- The database synchronization mode when using the default journal mode.
2070          FULL is safest and preserves durability at the cost of extra fsyncs.
2071          NORMAL also preserves durability in non-WAL modes and uses checksums to ensure
2072          integrity although there is a small chance that an error might go unnoticed.
2073          Choices are: FULL, NORMAL, OFF. -->
2074     <string name="db_default_sync_mode" translatable="false">FULL</string>
2075
2076     <!-- The database synchronization mode when using Write-Ahead Logging.
2077          From https://www.sqlite.org/pragma.html#pragma_synchronous:
2078          WAL mode is safe from corruption with synchronous=NORMAL, and probably DELETE mode is safe
2079          too on modern filesystems. WAL mode is always consistent with synchronous=NORMAL, but WAL
2080          mode does lose durability. A transaction committed in WAL mode with
2081          synchronous=NORMAL might roll back following a power loss or system crash.
2082          Transactions are durable across application crashes regardless of the synchronous setting
2083          or journal mode. The synchronous=NORMAL setting is a good choice for most applications
2084          running in WAL mode.
2085          Choices are: FULL, NORMAL, OFF. -->
2086     <string name="db_wal_sync_mode" translatable="false">NORMAL</string>
2087
2088     <!-- The Write-Ahead Log auto-checkpoint interval in database pages (typically 1 to 4KB).
2089          The log is checkpointed automatically whenever it exceeds this many pages.
2090          When a database is reopened, its journal mode is set back to the default
2091          journal mode, which may cause a checkpoint operation to occur.  Checkpoints
2092          can also happen at other times when transactions are committed.
2093          The bigger the WAL file, the longer a checkpoint operation takes, so we try
2094          to keep the WAL file relatively small to avoid long delays.
2095          The size of the WAL file is also constrained by 'db_journal_size_limit'. -->
2096     <integer name="db_wal_autocheckpoint">100</integer>
2097
2098     <!-- The number of milliseconds that SQLite connection is allowed to be idle before it
2099          is closed and removed from the pool -->
2100     <integer name="db_default_idle_connection_timeout">30000</integer>
2101
2102     <!-- Max space (in MB) allocated to DownloadManager to store the downloaded
2103          files if they are to be stored in DownloadManager's data dir,
2104          which typically is /data/data/com.android.providers.downloads/files -->
2105     <integer name="config_downloadDataDirSize">200</integer>
2106
2107     <!-- Max number of downloads allowed to proceed concurrently -->
2108     <integer name="config_MaxConcurrentDownloadsAllowed">5</integer>
2109
2110     <!-- When the free space available in DownloadManager's data dir falls
2111          below the percentage value specified by this param, DownloadManager
2112          starts removing files to try to make percentage of available
2113          free space above this threshold value. -->
2114     <integer name="config_downloadDataDirLowSpaceThreshold">10</integer>
2115
2116     <!-- The URL that should be sent in an x-wap-profile header with an HTTP request,
2117          as defined in the Open Mobile Alliance User Agent Profile specification
2118          OMA-TS-UAProf-V2_0-20060206-A Section 8.1.1.1. If the URL contains a '%s'
2119          format string then that substring will be replaced with the value of
2120          Build.MODEL. The format string shall not be escaped. -->
2121     <string name="config_useragentprofile_url" translatable="false"></string>
2122
2123     <!-- When a database query is executed, the results returned are paginated
2124          in pages of size (in KB) indicated by this value -->
2125     <integer name="config_cursorWindowSize">2048</integer>
2126
2127     <!-- Sets whether menu shortcuts should be displayed on panel menus when
2128          a keyboard is present. -->
2129     <bool name="config_showMenuShortcutsWhenKeyboardPresent">false</bool>
2130
2131     <!-- Do not translate. Defines the slots is Two Digit Number for dialing normally not USSD -->
2132     <string-array name="config_twoDigitNumberPattern" translatable="false">
2133     </string-array>
2134
2135     <!-- If this value is true, Sms encoded as octet is decoded by utf8 decoder.
2136          If false, decoded by Latin decoder. -->
2137     <bool name="config_sms_utf8_support">false</bool>
2138
2139     <!-- If this value is true, The mms content-disposition field is supported correctly.
2140          If false, Content-disposition fragments are ignored -->
2141     <bool name="config_mms_content_disposition_support">true</bool>
2142
2143     <!-- MMS user agent string -->
2144     <string name="config_mms_user_agent" translatable="false"></string>
2145
2146     <!-- MMS user agent prolfile url -->
2147     <string name="config_mms_user_agent_profile_url" translatable="false"></string>
2148
2149     <!-- National Language Identifier codes for the following two config items.
2150          (from 3GPP TS 23.038 V9.1.1 Table 6.2.1.2.4.1):
2151           0  - reserved
2152           1  - Turkish
2153           2  - Spanish (single shift table only)
2154           3  - Portuguese
2155           4  - Bengali
2156           5  - Gujarati
2157           6  - Hindi
2158           7  - Kannada
2159           8  - Malayalam
2160           9  - Oriya
2161          10  - Punjabi
2162          11  - Tamil
2163          12  - Telugu
2164          13  - Urdu
2165          14+ - reserved -->
2166
2167     <!-- National language single shift tables to enable for SMS encoding.
2168          Decoding is always enabled. 3GPP TS 23.038 states that this feature
2169          should not be enabled until a formal request is issued by the relevant
2170          national regulatory body. Array elements are codes from the table above.
2171          Example 1: devices sold in Turkey must include table 1 to conform with
2172            By-Law Number 27230. (http://www.btk.gov.tr/eng/pdf/2009/BY-LAW_SMS.pdf)
2173          Example 2: devices sold in India should include tables 4 through 13
2174            to enable use of the new Release 9 tables for Indic languages. -->
2175     <integer-array name="config_sms_enabled_single_shift_tables"></integer-array>
2176
2177     <!-- National language locking shift tables to enable for SMS encoding.
2178          Decoding is always enabled. 3GPP TS 23.038 states that this feature
2179          should not be enabled until a formal request is issued by the relevant
2180          national regulatory body. Array elements are codes from the table above.
2181          Example 1: devices sold in Turkey must include table 1 after the
2182            Turkish Telecommunication Authority requires locking shift encoding
2183            to be enabled (est. July 2012). (http://www.btk.gov.tr/eng/pdf/2009/BY-LAW_SMS.pdf)
2184            See also: http://www.mobitech.com.tr/tr/ersanozturkblog_en/index.php?entry=entry090223-160014
2185          Example 2: devices sold in India should include tables 4 through 13
2186          to enable use of the new Release 9 tables for Indic languages. -->
2187     <integer-array name="config_sms_enabled_locking_shift_tables"></integer-array>
2188
2189     <!-- Set to true if the RSSI should always display CDMA signal strength even on EVDO -->
2190     <bool name="config_alwaysUseCdmaRssi">false</bool>
2191
2192
2193     <!-- If this value is true, duplicate Source/Destination port fields
2194          in WDP header of some carriers OMADM wap push are supported.
2195          ex: MSGTYPE-TotalSegments-CurrentSegment
2196              -SourcePortDestPort-SourcePortDestPort-OMADM PDU
2197          If false, not supported. -->
2198     <bool name="config_duplicate_port_omadm_wappush">false</bool>
2199
2200     <!-- Maximum numerical value that will be shown in a status bar
2201          notification icon or in the notification itself. Will be replaced
2202          with @string/status_bar_notification_info_overflow when shown in the
2203          UI. -->
2204     <integer name="status_bar_notification_info_maxnum">999</integer>
2205
2206     <!-- Path to an ISO image to be shared with via USB mass storage.
2207          This is intended to allow packaging drivers or tools for installation on a PC. -->
2208     <string translatable="false" name="config_isoImagePath"></string>
2209
2210     <!-- Whether the system enables per-display focus. If the system has the input method for each
2211          display, this value should be true. -->
2212     <bool name="config_perDisplayFocusEnabled">false</bool>
2213
2214     <!-- Whether a software navigation bar should be shown. NOTE: in the future this may be
2215          autodetected from the Configuration. -->
2216     <bool name="config_showNavigationBar">false</bool>
2217
2218     <!-- Whether action menu items should be displayed in ALLCAPS or not.
2219          Defaults to true. If this is not appropriate for specific locales
2220          it should be disabled in that locale's resources. -->
2221     <bool name="config_actionMenuItemAllCaps">true</bool>
2222
2223     <!-- Remote server that can provide NTP responses. -->
2224     <string translatable="false" name="config_ntpServer">time.android.com</string>
2225     <!-- Normal polling frequency in milliseconds -->
2226     <integer name="config_ntpPollingInterval">86400000</integer>
2227     <!-- Try-again polling interval in milliseconds, in case the network request failed -->
2228     <integer name="config_ntpPollingIntervalShorter">60000</integer>
2229     <!-- Number of times to try again with the shorter interval, before backing
2230          off until the normal polling interval. A value < 0 indicates infinite. -->
2231     <integer name="config_ntpRetry">3</integer>
2232     <!-- If the time difference is greater than this threshold in milliseconds,
2233          then update the time. -->
2234     <integer name="config_ntpThreshold">5000</integer>
2235     <!-- Timeout to wait for NTP server response in milliseconds. -->
2236     <integer name="config_ntpTimeout">5000</integer>
2237
2238     <!-- Default network policy warning threshold, in megabytes. -->
2239     <integer name="config_networkPolicyDefaultWarning">2048</integer>
2240
2241     <!-- Set and Unsets WiMAX -->
2242     <bool name="config_wimaxEnabled">false</bool>
2243     <!-- Location of the wimax framwork jar location -->
2244     <string name="config_wimaxServiceJarLocation" translatable="false"></string>
2245     <!-- Location of the wimax native library locaiton -->
2246     <string name="config_wimaxNativeLibLocation" translatable="false"></string>
2247     <!-- Name of the wimax manager class -->
2248     <string name="config_wimaxManagerClassname" translatable="false"></string>
2249     <!-- Name of the wimax service class -->
2250     <string name="config_wimaxServiceClassname" translatable="false"></string>
2251     <!-- Name of the wimax state tracker clas -->
2252     <string name="config_wimaxStateTrackerClassname" translatable="false"></string>
2253
2254     <!-- Specifies whether the dreams feature should be supported.
2255          When true, the system will allow the user to configure dreams (screensavers)
2256          to launch when a user activity timeout occurs or the system is told to nap.
2257          When false, the dreams feature will be disabled (this does not affect dozing).
2258
2259          Consider setting this resource to false or disabling dreams by default when a
2260          doze component is specified below since dreaming will supercede dozing and
2261          will prevent the system from entering a low power state until the dream ends. -->
2262     <bool name="config_dreamsSupported">true</bool>
2263
2264     <!-- If supported, are dreams enabled? (by default) -->
2265     <bool name="config_dreamsEnabledByDefault">true</bool>
2266     <!-- If supported and enabled, are dreams activated when docked? (by default) -->
2267     <bool name="config_dreamsActivatedOnDockByDefault">true</bool>
2268     <!-- If supported and enabled, are dreams activated when asleep and charging? (by default) -->
2269     <bool name="config_dreamsActivatedOnSleepByDefault">false</bool>
2270     <!-- ComponentName of the default dream (Settings.Secure.DEFAULT_SCREENSAVER_COMPONENT) -->
2271     <string name="config_dreamsDefaultComponent" translatable="false">com.google.android.deskclock/com.android.deskclock.Screensaver</string>
2272
2273     <!-- Are we allowed to dream while not plugged in? -->
2274     <bool name="config_dreamsEnabledOnBattery">false</bool>
2275     <!-- Minimum battery level to allow dreaming when powered.
2276          Use -1 to disable this safety feature. -->
2277     <integer name="config_dreamsBatteryLevelMinimumWhenPowered">-1</integer>
2278     <!-- Minimum battery level to allow dreaming when not powered.
2279          Use -1 to disable this safety feature. -->
2280     <integer name="config_dreamsBatteryLevelMinimumWhenNotPowered">15</integer>
2281     <!-- If the battery level drops by this percentage and the user activity timeout
2282          has expired, then assume the device is receiving insufficient current to charge
2283          effectively and terminate the dream.  Use -1 to disable this safety feature.  -->
2284     <integer name="config_dreamsBatteryLevelDrainCutoff">5</integer>
2285     <!-- Limit of how long the device can remain unlocked due to attention checking.  -->
2286     <integer name="config_attentionMaximumExtension">240000</integer> <!-- 4 minutes -->
2287     <!-- How long we should wait until we give up on receiving an attention API callback.  -->
2288     <integer name="config_attentionApiTimeout">2000</integer> <!-- 2 seconds -->
2289
2290     <!-- ComponentName of a dream to show whenever the system would otherwise have
2291          gone to sleep.  When the PowerManager is asked to go to sleep, it will instead
2292          try to start this dream if possible.  The dream should typically call startDozing()
2293          to put the display into a low power state and allow the application processor
2294          to be suspended.  When the dream ends, the system will go to sleep as usual.
2295          Specify the component name or an empty string if none.
2296
2297          Note that doze dreams are not subject to the same start conditions as ordinary dreams.
2298          Doze dreams will run whenever the power manager is in a dozing state. -->
2299     <string name="config_dozeComponent" translatable="false"></string>
2300
2301     <!-- If true, the doze component is not started until after the screen has been
2302          turned off and the screen off animation has been performed. -->
2303     <bool name="config_dozeAfterScreenOffByDefault">false</bool>
2304
2305     <!-- Doze: should the TYPE_PICK_UP_GESTURE sensor be used as a pulse signal. -->
2306     <bool name="config_dozePulsePickup">false</bool>
2307
2308     <!-- Type of the double tap sensor. Empty if double tap is not supported. -->
2309     <string name="config_dozeDoubleTapSensorType" translatable="false"></string>
2310
2311     <!-- Type of the tap sensor. Empty if tap is not supported. -->
2312     <string name="config_dozeTapSensorType" translatable="false"></string>
2313
2314     <!-- Type of the long press sensor. Empty if long press is not supported. -->
2315     <string name="config_dozeLongPressSensorType" translatable="false"></string>
2316
2317     <!-- If the sensor that wakes up the lock screen is available or not. -->
2318     <bool name="config_dozeWakeLockScreenSensorAvailable">false</bool>
2319     <integer name="config_dozeWakeLockScreenDebounce">1500</integer>
2320
2321     <!-- Control whether the always on display mode is available. This should only be enabled on
2322          devices where the display has been tuned to be power efficient in DOZE and/or DOZE_SUSPEND
2323          states. -->
2324     <bool name="config_dozeAlwaysOnDisplayAvailable">false</bool>
2325
2326     <!-- Control whether the always on display mode is enabled by default. This value will be used
2327          during initialization when the setting is still null. -->
2328     <bool name="config_dozeAlwaysOnEnabled">true</bool>
2329
2330     <!-- If AOD can show an ambient version of the wallpaper -->
2331     <bool name="config_dozeSupportsAodWallpaper">true</bool>
2332
2333     <!-- Whether the display blanks itself when transitioning from a doze to a non-doze state -->
2334     <bool name="config_displayBlanksAfterDoze">false</bool>
2335
2336     <!-- True if the display hardware only has brightness buckets rather than a full range of
2337          backlight values -->
2338     <bool name="config_displayBrightnessBucketsInDoze">false</bool>
2339
2340     <!-- Power Management: Specifies whether to decouple the auto-suspend state of the
2341          device from the display on/off state.
2342
2343          When false, autosuspend_disable() will be called before the display is turned on
2344          and autosuspend_enable() will be called after the display is turned off.
2345          This mode provides best compatibility for devices using legacy power management
2346          features such as early suspend / late resume.
2347
2348          When true, autosuspend_display() and autosuspend_enable() will be called
2349          independently of whether the display is being turned on or off.  This mode
2350          enables the power manager to suspend the application processor while the
2351          display is on.
2352
2353          This resource should be set to "true" when a doze component has been specified
2354          to maximize power savings but not all devices support it.
2355
2356          Refer to autosuspend.h for details.
2357     -->
2358     <bool name="config_powerDecoupleAutoSuspendModeFromDisplay">false</bool>
2359
2360     <!-- Power Management: Specifies whether to decouple the interactive state of the
2361          device from the display on/off state.
2362
2363          When false, setInteractive(..., true) will be called before the display is turned on
2364          and setInteractive(..., false) will be called after the display is turned off.
2365          This mode provides best compatibility for devices that expect the interactive
2366          state to be tied to the display state.
2367
2368          When true, setInteractive(...) will be called independently of whether the display
2369          is being turned on or off.  This mode enables the power manager to reduce
2370          clocks and disable the touch controller while the display is on.
2371
2372          This resource should be set to "true" when a doze component has been specified
2373          to maximize power savings but not all devices support it.
2374
2375          Refer to power.h for details.
2376     -->
2377     <bool name="config_powerDecoupleInteractiveModeFromDisplay">false</bool>
2378
2379     <!-- User activity timeout: Minimum screen off timeout in milliseconds.
2380
2381          Sets a lower bound for the {@link Settings.System#SCREEN_OFF_TIMEOUT} setting
2382          which determines how soon the device will go to sleep when there is no
2383          user activity.
2384
2385          This value must be greater than zero, otherwise the device will immediately
2386          fall asleep again as soon as it is awoken.
2387     -->
2388     <integer name="config_minimumScreenOffTimeout">10000</integer>
2389
2390     <!-- User activity timeout: Maximum screen dim duration in milliseconds.
2391
2392          Sets an upper bound for how long the screen will dim before the device goes
2393          to sleep when there is no user activity.  The dim duration is subtracted from
2394          the overall screen off timeout to determine the screen dim timeout.
2395          When the screen dim timeout expires, the screen will dim, shortly thereafter
2396          the device will go to sleep.
2397
2398          If the screen off timeout is very short, the dim duration may be reduced
2399          proportionally.  See config_maximumScreenDimRatio.
2400
2401          This value may be zero in which case the screen will not dim before the
2402          device goes to sleep.
2403     -->
2404     <integer name="config_maximumScreenDimDuration">7000</integer>
2405
2406     <!-- User activity timeout: Maximum screen dim duration as a percentage of screen off timeout.
2407
2408          This resource is similar to config_maximumScreenDimDuration but the maximum
2409          screen dim duration is defined as a ratio of the overall screen off timeout
2410          instead of as an absolute value in milliseconds.  This is useful for reducing
2411          the dim duration when the screen off timeout is very short.
2412
2413          When computing the screen dim duration, the power manager uses the lesser
2414          of the effective durations expressed by config_maximumScreenDimDuration and
2415          config_maximumScreenDimRatio.
2416
2417          This value must be between 0% and 100%.  If the value is zero, the screen will not
2418          dim before the device goes to sleep.
2419     -->
2420     <fraction name="config_maximumScreenDimRatio">20%</fraction>
2421
2422     <!-- Minimum size of the scrollbar thumb's touch target. -->
2423     <dimen name="config_minScrollbarTouchTarget">48dp</dimen>
2424
2425     <!-- Base "touch slop" value used by ViewConfiguration as a
2426          movement threshold where scrolling should begin. -->
2427     <dimen name="config_viewConfigurationTouchSlop">8dp</dimen>
2428
2429     <!-- Base "hover slop" value used by ViewConfiguration as a
2430          movement threshold under which hover is considered "stationary". -->
2431     <dimen name="config_viewConfigurationHoverSlop">4dp</dimen>
2432
2433     <!-- Minimum velocity to initiate a fling, as measured in dips per second. -->
2434     <dimen name="config_viewMinFlingVelocity">50dp</dimen>
2435
2436     <!-- Maximum velocity to initiate a fling, as measured in dips per second. -->
2437     <dimen name="config_viewMaxFlingVelocity">8000dp</dimen>
2438
2439     <!-- Amount of time in ms the user needs to press the relevant key to bring up the
2440          global actions dialog -->
2441     <integer name="config_globalActionsKeyTimeout">500</integer>
2442
2443     <!-- Amount of time in ms the user needs to press the relevant keys to trigger the
2444          screenshot chord -->
2445     <integer name="config_screenshotChordKeyTimeout">500</integer>
2446
2447     <!-- Default width of a vertical scrollbar and height of a horizontal scrollbar.
2448          Takes effect only if the scrollbar drawables have no intrinsic size. -->
2449     <dimen name="config_scrollbarSize">4dp</dimen>
2450
2451     <!-- Distance that should be scrolled, per axis value, in response to a horizontal
2452          {@link MotionEvent#ACTION_SCROLL} event. -->
2453     <dimen name="config_horizontalScrollFactor">64dp</dimen>
2454
2455     <!-- Distance that should be scrolled, per axis value, in response to a vertical
2456          {@link MotionEvent#ACTION_SCROLL} event. -->
2457     <dimen name="config_verticalScrollFactor">64dp</dimen>
2458
2459     <!-- Obsolete. Distance that should be scrolled, per axis value, in response to a
2460          {@link MotionEvent#ACTION_SCROLL} event. -->
2461     <dimen name="config_scrollFactor">64dp</dimen>
2462
2463     <!-- Maximum number of grid columns permitted in the ResolverActivity
2464          used for picking activities to handle an intent. -->
2465     <integer name="config_maxResolverActivityColumns">3</integer>
2466
2467     <!-- Array of OEM specific USB mode override config.
2468          OEM can override a certain USB mode depending on ro.bootmode.
2469          Specify an array of below items to set override rule.
2470          [bootmode]:[original USB mode]:[USB mode used]-->
2471     <integer-array translatable="false" name="config_oemUsbModeOverride">
2472     </integer-array>
2473
2474     <!-- Set to true to add links to Cell Broadcast app from Settings and MMS app. -->
2475     <bool name="config_cellBroadcastAppLinks">false</bool>
2476
2477     <!-- The default value if the SyncStorageEngine should sync automatically or not -->
2478     <bool name="config_syncstorageengine_masterSyncAutomatically">true</bool>
2479
2480     <!--  Maximum number of supported users -->
2481     <integer name="config_multiuserMaximumUsers">1</integer>
2482
2483     <!-- Maximum number of users we allow to be running at a time -->
2484     <integer name="config_multiuserMaxRunningUsers">3</integer>
2485
2486     <!-- Whether to delay user data locking for background user.
2487          If false, user switched-out from user switching will still be in running state until
2488          config_multiuserMaxRunningUsers is reached. Once config_multiuserMaxRunningUsers is
2489          reached, user will be stopped and user data is locked.
2490          If true, user switched out from user switching will always be stopped but its user data
2491          is not locked. Total number of unlocked users will be limited by
2492          config_multiuserMaxRunningUsers. Once that limit is reached, least recently stopped user
2493          will be locked. -->
2494     <bool name="config_multiuserDelayUserDataLocking">false</bool>
2495
2496     <!-- Whether UI for multi user should be shown -->
2497     <bool name="config_enableMultiUserUI">false</bool>
2498
2499     <!-- Whether the new Auto Selection Network UI should be shown -->
2500     <bool name="config_enableNewAutoSelectNetworkUI">false</bool>
2501
2502     <!-- If true, then we do not ask user for permission for apps to connect to USB devices.
2503          Do not set this to true for production devices. Doing so will cause you to fail CTS. -->
2504     <bool name="config_disableUsbPermissionDialogs">false</bool>
2505
2506     <!-- Activity to handle Usb Device connection in USB Host side. Keeping it to null value will
2507          lead into handling it inside system using Intent resolution. Non-null contents will have
2508          format of package-name/ActivityClassName. -->
2509     <string name="config_UsbDeviceConnectionHandling_component" translatable="false">@null</string>
2510
2511     <!-- Minimum span needed to begin a touch scaling gesture.
2512          If the span is equal to or greater than this size, a scaling gesture
2513          will begin, where supported. (See android.view.ScaleGestureDetector)
2514
2515          This also takes into account the size of any active touch points.
2516          Devices with screens that deviate too far from their assigned density
2517          bucket should consider tuning this value in a device-specific overlay.
2518          For best results, care should be taken such that this value remains
2519          larger than the minimum reported touchMajor/touchMinor values
2520          reported by the hardware. -->
2521     <dimen name="config_minScalingSpan">27mm</dimen>
2522
2523     <!-- Minimum accepted value for touchMajor while scaling. This may be tuned
2524          per-device in overlays. -->
2525     <dimen name="config_minScalingTouchMajor">48dp</dimen>
2526
2527     <!-- Safe headphone volume index. When music stream volume is below this index
2528     the SPL on headphone output is compliant to EN 60950 requirements for portable music
2529     players. -->
2530     <integer name="config_safe_media_volume_index">10</integer>
2531
2532     <!-- Safe USB headset gain. This value is used to ensure that the SPL on the USB
2533     headset output is compliant to EN 60950 requirements for portable music players. -->
2534     <integer name="config_safe_media_volume_usb_mB">-3700</integer>
2535
2536     <!-- Configure mobile network MTU. The standard default is set here but each carrier
2537          may have a specific value set in an overlay config.xml file. -->
2538     <integer name="config_mobile_mtu">1500</integer>
2539
2540     <!-- Configure mobile tcp buffer sizes in the form:
2541          rat-name:rmem_min,rmem_def,rmem_max,wmem_min,wmem_def,wmem_max
2542          If no value is found for the rat-name in use, the system default will be applied.
2543     -->
2544     <string-array name="config_mobile_tcp_buffers">
2545     </string-array>
2546
2547     <!-- Configure ethernet tcp buffersizes in the form:
2548          rmem_min,rmem_def,rmem_max,wmem_min,wmem_def,wmem_max -->
2549     <string name="config_ethernet_tcp_buffers" translatable="false">524288,1048576,3145728,524288,1048576,2097152</string>
2550
2551     <!-- Configure wifi tcp buffersizes in the form:
2552          rmem_min,rmem_def,rmem_max,wmem_min,wmem_def,wmem_max -->
2553     <string name="config_wifi_tcp_buffers" translatable="false">524288,1048576,2097152,262144,524288,1048576</string>
2554
2555     <!-- Whether WiFi display is supported by this device.
2556          There are many prerequisites for this feature to work correctly.
2557          Here are a few of them:
2558          * The WiFi radio must support WiFi P2P.
2559          * The WiFi radio must support concurrent connections to the WiFi display and
2560            to an access point.
2561          * The Audio Flinger audio_policy.conf file must specify a rule for the "r_submix"
2562            remote submix module.  This module is used to record and stream system
2563            audio output to the WiFi display encoder in the media server.
2564          * The remote submix module "audio.r_submix.default" must be installed on the device.
2565          * The device must be provisioned with HDCP keys (for protected content).
2566     -->
2567     <bool name="config_enableWifiDisplay">false</bool>
2568
2569     <!-- When true, local displays that do not contain any of their own content will automatically
2570          mirror the content of the default display. -->
2571     <bool name="config_localDisplaysMirrorContent">true</bool>
2572
2573     <!-- Controls if local secondary displays should be private or not. Value specified in the array
2574          represents physical port address of each display and display in this list will be marked
2575          as private. {@see android.view.Display#FLAG_PRIVATE} -->
2576     <integer-array translatable="false" name="config_localPrivateDisplayPorts"></integer-array>
2577
2578     <!-- The default mode for the default display. One of the following values (See Display.java):
2579              0 - COLOR_MODE_DEFAULT
2580              7 - COLOR_MODE_SRGB
2581     -->
2582     <integer name="config_defaultDisplayDefaultColorMode">0</integer>
2583
2584     <!-- When true use the linux /dev/input/event subsystem to detect the switch changes
2585          on the headphone/microphone jack. When false use the older uevent framework. -->
2586     <bool name="config_useDevInputEventForAudioJack">false</bool>
2587
2588     <!-- Whether safe headphone volume is enabled or not (country specific). -->
2589     <bool name="config_safe_media_volume_enabled">true</bool>
2590
2591     <!-- Whether safe headphone volume warning dialog is disabled on Vol+ (operator specific). -->
2592     <bool name="config_safe_media_disable_on_volume_up">true</bool>
2593
2594     <!-- Set to true if the wifi display supports compositing content stored
2595          in gralloc protected buffers.  For this to be true, there must exist
2596          a protected hardware path for surface flinger to composite and send
2597          protected buffers to the wifi display video encoder.
2598
2599          If this flag is false, we advise applications not to use protected
2600          buffers (if possible) when presenting content to a wifi display because
2601          the content may be blanked.
2602
2603          This flag controls whether the {@link Display#FLAG_SUPPORTS_PROTECTED_BUFFERS}
2604          flag is set for wifi displays.
2605     -->
2606     <bool name="config_wifiDisplaySupportsProtectedBuffers">false</bool>
2607
2608     <!-- Whether camera shutter sound is forced or not  (country specific). -->
2609     <bool name="config_camera_sound_forced">false</bool>
2610
2611     <!-- Set to true if we need to not prefer an APN.
2612          This is being added to enable a simple scenario of pre-paid
2613          provisioning on some carriers, working around a bug (7305641)
2614          where if the preferred is used we don't try the others. -->
2615     <bool name="config_dontPreferApn">false</bool>
2616
2617     <!-- Set to true if after a provisioning apn the radio should be restarted -->
2618     <bool name="config_restartRadioAfterProvisioning">false</bool>
2619
2620     <!-- Boolean indicating if RADIO POWER OFF is required on receiving SIM REFRESH with RESET.
2621          This will be handled by modem if it is false. -->
2622     <bool name="config_requireRadioPowerOffOnSimRefreshReset">false</bool>
2623
2624     <!-- Vibrator pattern to be used as the default for notifications
2625          that specify DEFAULT_VIBRATE.
2626      -->
2627     <integer-array name="config_defaultNotificationVibePattern">
2628         <item>0</item>
2629         <item>350</item>
2630         <item>250</item>
2631         <item>350</item>
2632     </integer-array>
2633
2634     <!-- Vibrator pattern to be used as the default for notifications
2635          that do not specify vibration but vibrate anyway because the device
2636          is in vibrate mode.
2637      -->
2638     <integer-array name="config_notificationFallbackVibePattern">
2639         <item>0</item>
2640         <item>100</item>
2641         <item>150</item>
2642         <item>100</item>
2643     </integer-array>
2644
2645     <!-- Flag indicating if the speed up audio on mt call code should be executed -->
2646     <bool name="config_speed_up_audio_on_mt_calls">false</bool>
2647
2648     <!-- Class name of the framework account picker activity.
2649          Can be customized for other product types -->
2650     <string name="config_chooseAccountActivity" translatable="false"
2651             >android/android.accounts.ChooseAccountActivity</string>
2652     <!-- Class name of the account type and account picker activity.
2653          Can be customized for other product types -->
2654     <string name="config_chooseTypeAndAccountActivity" translatable="false"
2655             >android/android.accounts.ChooseTypeAndAccountActivity</string>
2656     <!-- Name of the activity that will handle requests to the system to choose an activity for
2657          the purposes of resolving an intent. -->
2658     <string name="config_chooserActivity" translatable="false"
2659             >com.android.systemui/com.android.systemui.chooser.ChooserActivity</string>
2660     <!-- Component name of a custom ResolverActivity (Intent resolver) to be used instead of
2661          the default framework version. If left empty, then the framework version will be used.
2662          Example: com.google.android.myapp/.resolver.MyResolverActivity  -->
2663     <string name="config_customResolverActivity" translatable="false"></string>
2664
2665     <!-- Name of the activity or service that prompts the user to reject, accept, or whitelist
2666          an adb host's public key, when an unwhitelisted host connects to the local adbd.
2667          Can be customized for other product types -->
2668     <string name="config_customAdbPublicKeyConfirmationComponent"
2669             >com.android.systemui/com.android.systemui.usb.UsbDebuggingActivity</string>
2670
2671     <!-- Name of the activity that prompts the secondary user to acknowledge she/he needs to
2672          switch to the primary user to enable USB debugging.
2673          Can be customized for other product types -->
2674     <string name="config_customAdbPublicKeyConfirmationSecondaryUserComponent"
2675             >com.android.systemui/com.android.systemui.usb.UsbDebuggingSecondaryUserActivity</string>
2676
2677     <!-- Name of the dialog that is used to request the user's consent to VPN connection -->
2678     <string name="config_customVpnConfirmDialogComponent" translatable="false"
2679             >com.android.vpndialogs/com.android.vpndialogs.ConfirmDialog</string>
2680
2681     <!-- Name of the dialog that is used to inform the user that always-on VPN is disconnected -->
2682     <string name="config_customVpnAlwaysOnDisconnectedDialogComponent" translatable="false"
2683             >com.android.vpndialogs/com.android.vpndialogs.AlwaysOnDisconnectedDialog</string>
2684
2685     <!-- Name of the dialog that is used to install the carrier app when the SIM is inserted -->
2686     <string name="config_carrierAppInstallDialogComponent" translatable="false"
2687             >com.android.simappdialog/com.android.simappdialog.InstallCarrierAppActivity</string>
2688
2689     <!-- Apps that are authorized to access shared accounts, overridden by product overlays -->
2690     <string name="config_appsAuthorizedForSharedAccounts" translatable="false">;com.android.settings;</string>
2691
2692     <!-- Flag indicating that the media framework should not allow changes or mute on any
2693          stream or master volumes. -->
2694     <bool name="config_useFixedVolume">false</bool>
2695
2696     <!-- The list of IMEs which should be disabled until used.
2697          This function suppresses update notifications for these pre-installed apps.
2698          We need to set this configuration carefully that they should not have functionarities
2699          other than "IME" or "Spell Checker". In InputMethodManagerService,
2700          the listed IMEs are disabled until used when all of the following conditions are met.
2701          1. Not selected as an enabled IME in the Settings
2702          2. Not selected as a spell checker in the Settings
2703          3. Installed
2704          4. A pre-installed IME
2705          5. Not enabled
2706          And the disabled_until_used state for an IME is released by InputMethodManagerService
2707          when the IME is selected as an enabled IME. -->
2708     <string-array name="config_disabledUntilUsedPreinstalledImes" translatable="false">
2709         <item>com.android.inputmethod.latin</item>
2710     </string-array>
2711
2712     <!-- The list of classes that should be added to the notification ranking pipeline.
2713      See {@link com.android.server.notification.NotificationSignalExtractor}
2714       If you add a new extractor to this list make sure to update
2715       NotificationManagerService.handleRankingSort()-->
2716     <string-array name="config_notificationSignalExtractors">
2717         <!-- many of the following extractors depend on the notification channel, so this
2718         extractor must come first -->
2719         <item>com.android.server.notification.NotificationChannelExtractor</item>
2720         <item>com.android.server.notification.NotificationAdjustmentExtractor</item>
2721         <item>com.android.server.notification.BubbleExtractor</item>
2722         <!-- depends on AdjustmentExtractor-->
2723         <item>com.android.server.notification.ValidateNotificationPeople</item>
2724         <item>com.android.server.notification.PriorityExtractor</item>
2725         <!-- depends on PriorityExtractor -->
2726         <item>com.android.server.notification.ZenModeExtractor</item>
2727         <item>com.android.server.notification.ImportanceExtractor</item>
2728         <!-- depends on ImportanceExtractor-->
2729         <item>com.android.server.notification.NotificationIntrusivenessExtractor</item>
2730         <item>com.android.server.notification.VisibilityExtractor</item>
2731         <!-- Depends on ZenModeExtractor -->
2732         <item>com.android.server.notification.BadgeExtractor</item>
2733         <item>com.android.server.notification.CriticalNotificationExtractor</item>
2734
2735     </string-array>
2736
2737     <!-- Default Gravity setting for the system Toast view. Equivalent to: Gravity.CENTER_HORIZONTAL | Gravity.BOTTOM -->
2738     <integer name="config_toastDefaultGravity">0x00000051</integer>
2739
2740     <!-- set to false if we need to show user confirmation
2741          when alpha identifier is not provided by the UICC -->
2742     <bool name="config_stkNoAlphaUsrCnf">true</bool>
2743
2744     <!-- Threshold (in ms) under which a screen off / screen on will be considered a reset of the
2745          immersive mode confirmation prompt.-->
2746     <integer name="config_immersive_mode_confirmation_panic">5000</integer>
2747
2748     <!-- For some operators, PDU has garbages. To fix it, need to use valid index -->
2749     <integer name="config_valid_wappush_index">-1</integer>
2750
2751     <!-- call barring MMI code from TS 22.030 Annex B -->
2752     <string-array translatable="false" name="config_callBarringMMI">
2753         <item>33</item>
2754         <item>331</item>
2755         <item>332</item>
2756         <item>35</item>
2757         <item>351</item>
2758         <item>330</item>
2759         <item>333</item>
2760         <item>353</item>
2761     </string-array>
2762
2763     <!-- Override the default detection behavior for the framework method
2764          android.view.ViewConfiguration#hasPermanentMenuKey().
2765          Valid settings are:
2766          0 - No change. Use the default autodetection behavior.
2767          1 - The device DOES have a permanent menu key; ignore autodetection.
2768          2 - The device DOES NOT have a permanent menu key; ignore autodetection. -->
2769     <integer name="config_overrideHasPermanentMenuKey">0</integer>
2770
2771     <!-- Override the DPad detection behavior for configuration purposes -->
2772     <bool name="config_hasPermanentDpad">false</bool>
2773
2774     <!-- default window inset isRound property -->
2775     <bool name="config_windowIsRound">false</bool>
2776
2777     <!-- Override this value if the device has a chin, i.e. area that is not actual part of the
2778          screen but you would like to be treated as a real display. The value is the height of the
2779          chin. -->
2780     <integer name="config_windowOutsetBottom">0</integer>
2781
2782     <!-- Package name for default network scorer app; overridden by product overlays. -->
2783     <string name="config_defaultNetworkScorerPackageName"></string>
2784
2785     <!-- Feature flag to enable memory efficient task snapshots that are used in recents optimized
2786          for low memory devices and replace the app transition starting window with the splash
2787          screen. -->
2788     <bool name="config_lowRamTaskSnapshotsAndRecents">false</bool>
2789
2790     <!-- The amount to scale fullscreen snapshots for Overview and snapshot starting windows. -->
2791     <item name="config_fullTaskSnapshotScale" format="float" type="dimen">1.0</item>
2792
2793     <!-- Determines whether recent tasks are provided to the user. Default device has recents
2794          property. If this is false, then the following recents config flags are ignored. -->
2795     <bool name="config_hasRecents">true</bool>
2796
2797     <!-- Component name for the activity that will be presenting the Recents UI, which will receive special permissions for API related
2798           to fetching and presenting recent tasks. The default configuration uses Launcehr3QuickStep as default launcher and points to
2799           the corresponding recents component. When using a different default launcher, change this appropriately or use the default
2800           systemui implementation: com.android.systemui/.recents.RecentsActivity -->
2801     <string name="config_recentsComponentName" translatable="false">com.android.launcher3/com.android.quickstep.RecentsActivity</string>
2802
2803     <!-- The minimum number of visible recent tasks to be presented to the user through the
2804          SystemUI. Can be -1 if there is no minimum limit. -->
2805     <integer name="config_minNumVisibleRecentTasks_grid">-1</integer>
2806
2807     <!-- The maximum number of visible recent tasks to be presented to the user through the
2808          SystemUI. Can be -1 if there is no maximum limit. -->
2809     <integer name="config_maxNumVisibleRecentTasks_grid">9</integer>
2810
2811     <!-- The minimum number of visible recent tasks to be presented to the user through the
2812          SystemUI. Can be -1 if there is no minimum limit. -->
2813     <integer name="config_minNumVisibleRecentTasks_lowRam">-1</integer>
2814
2815     <!-- The maximum number of visible recent tasks to be presented to the user through the
2816          SystemUI. Can be -1 if there is no maximum limit. -->
2817     <integer name="config_maxNumVisibleRecentTasks_lowRam">9</integer>
2818
2819     <!-- The minimum number of visible recent tasks to be presented to the user through the
2820          SystemUI. Can be -1 if there is no minimum limit. -->
2821     <integer name="config_minNumVisibleRecentTasks">5</integer>
2822
2823     <!-- The maximum number of visible recent tasks to be presented to the user through the
2824          SystemUI. Can be -1 if there is no maximum limit. -->
2825     <integer name="config_maxNumVisibleRecentTasks">-1</integer>
2826
2827     <!-- The duration in which a recent task is considered in session and should be visible. -->
2828     <integer name="config_activeTaskDurationHours">6</integer>
2829
2830     <!-- default window ShowCircularMask property -->
2831     <bool name="config_windowShowCircularMask">false</bool>
2832
2833     <!-- default value for whether circular emulators (ro.emulator.circular)
2834          should show a display overlay on the screen -->
2835     <bool name="config_windowEnableCircularEmulatorDisplayOverlay">false</bool>
2836
2837     <!-- Defines the default set of global actions. Actions may still be disabled or hidden based
2838          on the current state of the device.
2839          Each item must be one of the following strings:
2840          "power" = Power off
2841          "settings" = An action to launch settings
2842          "airplane" = Airplane mode toggle
2843          "bugreport" = Take bug report, if available
2844          "silent" = silent mode
2845          "users" = list of users
2846          "restart" = restart device
2847          "emergency" = Launch emergency dialer
2848          "lockdown" = Lock down device until the user authenticates
2849          "logout" =  Logout the current user
2850          -->
2851     <string-array translatable="false" name="config_globalActionsList">
2852         <item>power</item>
2853         <item>restart</item>
2854         <item>lockdown</item>
2855         <item>logout</item>
2856         <item>bugreport</item>
2857         <item>screenshot</item>
2858         <item>emergency</item>
2859     </string-array>
2860
2861     <!-- Number of milliseconds to hold a wake lock to ensure that drawing is fully
2862          flushed to the display while dozing.  This value needs to be large enough
2863          to account for processing and rendering time plus a frame or two of latency
2864          in the display pipeline plus some slack just to be sure. -->
2865     <integer name="config_drawLockTimeoutMillis">120</integer>
2866
2867     <!-- An array of device capabilities defined by GSMA SGP.22 v2.0.
2868          The first item is the capability name that the device supports. The second item is the
2869          major version. The minor and revision versions are default to 0s.
2870          The device capabilities and their definition in the spec are:
2871              gsm : gsmSupportedRelease
2872              utran : utranSupportedRelease
2873              cdma1x : cdma2000onexSupportedRelease
2874              hrpd : cdma2000hrpdSupportedRelease
2875              ehrpd : cdma2000ehrpdSupportedRelease
2876              eutran : eutranSupportedRelease
2877              nfc : contactlessSupportedRelease
2878              crl : rspCrlSupportedVersion
2879     -->
2880     <string-array translatable="false" name="config_telephonyEuiccDeviceCapabilities">
2881         <!-- Example:
2882         <item>"gsm,11"</item>
2883         <item>"utran,11"</item>
2884         <item>"cdma1x,1"</item>
2885         <item>"hrpd,3"</item>
2886         <item>"ehrpd,12"</item>
2887         <item>"eutran,11"</item>
2888         <item>"nfc,1"</item>
2889         <item>"crl,1"</item>
2890         -->
2891     </string-array>
2892
2893     <!-- default telephony hardware configuration for this platform.
2894     -->
2895     <!-- this string array should be overridden by the device to present a list
2896          telephony hardware resource.  this is used by the telephony device controller
2897          (TDC) to offer the basic capabilities of the hardware to the telephony
2898          framework
2899     -->
2900     <!-- an array of "[hardware type],[hardware-uuid],[state],[[hardware-type specific]]"
2901          with, [[hardware-type specific]] in:
2902             - "[[ril-model],[rat],[max-active-voice],[max-active-data],[max-active-standby]]"
2903               for 'modem' hardware
2904             - "[[associated-modem-uuid]]"
2905               for 'sim' hardware.
2906          refer to HardwareConfig in com.android.internal.telephony for specific details/values
2907          those elements can carry.
2908     -->
2909     <string-array translatable="false" name="config_telephonyHardware">
2910         <!-- modem -->
2911         <item>0,modem,0,0,0,1,1,1</item>
2912         <!-- sim -->
2913         <item>1,sim,0,modem</item>
2914     </string-array>
2915
2916     <!-- This string array can be overriden to add an additional DRM support for WebView EME. -->
2917     <!-- Array of "[keySystemName],[UuidOfMediaDrm]" -->
2918     <string-array name="config_keySystemUuidMapping" translatable="false">
2919         <!-- Example:
2920         <item>"x-com.microsoft.playready,9A04F079-9840-4286-AB92-E65BE0885F95"</item>
2921         -->
2922     </string-array>
2923
2924     <!-- Flag indicating which package name can access the persistent data partition -->
2925     <string name="config_persistentDataPackageName" translatable="false"></string>
2926
2927     <!-- Flag indicating which package name can access DeviceConfig table -->
2928     <string name="config_deviceConfiguratorPackageName" translatable="false"></string>
2929
2930     <!-- Flag indicating apps will skip sending hold request before merge. In this case
2931         IMS service implementation will do both.i.e.hold followed by merge. -->
2932     <bool name="skipHoldBeforeMerge">true</bool>
2933
2934     <!-- Flag indicating whether the IMS service can be turned off. If false then
2935         the service will not be turned-off completely (the ImsManager.turnOffIms() will
2936         be disabled) but individual Features can be disabled using ImsConfig.setFeatureValue() -->
2937     <bool name="imsServiceAllowTurnOff">true</bool>
2938
2939     <!-- Flag specifying whether VoLTE is available on device -->
2940     <bool name="config_device_volte_available">false</bool>
2941
2942     <!-- Flag specifying whether VoLTE should be available for carrier: independent of
2943          carrier provisioning. If false: hard disabled. If true: then depends on carrier
2944          provisioning, availability etc -->
2945     <bool name="config_carrier_volte_available">false</bool>
2946
2947     <!-- Flag specifying whether VoLTE TTY is supported -->
2948     <bool name="config_carrier_volte_tty_supported">true</bool>
2949
2950     <!-- Flag specifying whether VT is available on device -->
2951     <bool name="config_device_vt_available">false</bool>
2952
2953     <!-- Flag specifying whether the device will use the "allow_hold_in_ims_call" carrier config
2954          option.  When false, the device will support holding of IMS calls, regardless of the
2955          carrier config setting. -->
2956     <bool name="config_device_respects_hold_carrier_config">true</bool>
2957
2958     <!-- Flag specifying whether VT should be available for carrier: independent of
2959          carrier provisioning. If false: hard disabled. If true: then depends on carrier
2960          provisioning, availability etc -->
2961     <bool name="config_carrier_vt_available">false</bool>
2962
2963     <!-- Flag specifying whether WFC over IMS is available on device -->
2964         <bool name="config_device_wfc_ims_available">false</bool>
2965
2966     <!-- Flag specifying whether WFC over IMS should be available for carrier: independent of
2967          carrier provisioning. If false: hard disabled. If true: then depends on carrier
2968          provisioning, availability etc -->
2969     <bool name="config_carrier_wfc_ims_available">false</bool>
2970
2971     <!-- Whether to use voip audio mode for ims call -->
2972     <bool name="config_use_voip_mode_for_ims">false</bool>
2973
2974     <!-- ImsService package name to bind to by default. If none is specified in an overlay, an
2975          empty string is passed in -->
2976     <string name="config_ims_package"/>
2977
2978     <!-- String array containing numbers that shouldn't be logged. Country-specific. -->
2979     <string-array name="unloggable_phone_numbers" />
2980
2981     <!-- Flag specifying whether or not IMS will use the dynamic ImsResolver -->
2982     <bool name="config_dynamic_bind_ims">false</bool>
2983
2984     <!-- Cellular data service package name to bind to by default. If none is specified in an overlay, an
2985          empty string is passed in -->
2986     <string name="config_wwan_data_service_package" translatable="false">com.android.phone</string>
2987
2988     <!-- IWLAN data service package name to bind to by default. If none is specified in an overlay, an
2989          empty string is passed in -->
2990     <string name="config_wlan_data_service_package" translatable="false"></string>
2991
2992     <bool name="config_networkSamplingWakesDevice">true</bool>
2993
2994     <!--From SmsMessage-->
2995     <!--Support decoding the user data payload as pack GSM 8-bit (a GSM alphabet
2996         string that's stored in 8-bit unpacked format) characters.-->
2997     <bool translatable="false" name="config_sms_decode_gsm_8bit_data">false</bool>
2998
2999     <!-- If EMS is not supported, framework breaks down EMS into single segment SMS
3000          and adds page info " x/y". This config is used to set which carrier doesn't
3001          support EMS and whether page info should be added at the beginning or the end.
3002          We use tag 'prefix' for position beginning and 'suffix' for position end.
3003          And use gid to distinguish different carriers which using same mcc and mnc.
3004          Examples: <item>simOperatorNumber;position;gid(optional)</item>>
3005     -->
3006     <string-array translatable="false" name="no_ems_support_sim_operators">
3007         <!-- VZW -->
3008         <item>20404;suffix;BAE0000000000000</item>
3009     </string-array>
3010
3011     <bool name="config_auto_attach_data_on_creation">true</bool>
3012
3013     <!-- Sprint need a 70 ms delay for 3way call -->
3014     <integer name="config_cdma_3waycall_flash_delay">0</integer>
3015
3016     <!-- If there is no preload VM number in the sim card, carriers such as
3017          Verizon require to load a default vm number from the configurantion.
3018          Define config_default_vm_number for this purpose. And there are two
3019          optional formats for this configuration as below:
3020          (1)<item>voicemail number</item>
3021          (2)<item>voicemail number;gid</item>
3022          The logic to pick up the correct voicemail number:
3023          (1) If the config_default_vm_number array has no gid special item, the last one will be
3024          picked
3025          (2) If the config_default_vm_number array has gid special item and  it matches the current
3026          sim's gid, it will be picked.
3027          (3) If the config_default_vm_number array has gid special item but it doesn't match the
3028          current sim's gid, the last one without gid will be picked -->
3029     <string-array translatable="false" name="config_default_vm_number" />
3030
3031     <!--SIM does not save, but the voice mail number to be changed. -->
3032     <bool name="editable_voicemailnumber">false</bool>
3033
3034     <!-- service number convert map in roaming network. -->
3035     <!-- [dialstring],[replacement][,optional gid] -->
3036     <string-array translatable="false" name="dial_string_replace">
3037     </string-array>
3038
3039     <!-- Flag indicating whether radio is to be restarted on the error of
3040          PDP_FAIL_REGULAR_DEACTIVATION/0x24 -->
3041     <bool name="config_restart_radio_on_pdp_fail_regular_deactivation">false</bool>
3042
3043     <!-- networks that don't want data deactivate when shutdown the phone
3044          note this is dependent on the operator of the network we're on,
3045          not operator on the SIM -->
3046     <string-array translatable="false" name="networks_not_clear_data">
3047         <item>71203</item>
3048         <item>71606</item>
3049         <item>71610</item>
3050         <item>732101</item>
3051     </string-array>
3052
3053     <!-- Config determines whether to update phone object when voice registration
3054          state changes. Voice radio tech change will always trigger an update of
3055          phone object irrespective of this config -->
3056     <bool name="config_switch_phone_on_voice_reg_state_change">true</bool>
3057
3058     <bool name="config_sms_force_7bit_encoding">false</bool>
3059
3060     <!-- Number of physical SIM slots on the device. This includes both eSIM and pSIM slots, and
3061          is not necessarily the same as the number of phones/logical modems supported by the device.
3062          For example, a multi-sim device can have 2 phones/logical modems, but 3 physical slots,
3063          or a single SIM device can have 1 phones/logical modems, but 2 physical slots (one eSIM
3064          and one pSIM) -->
3065     <integer name="config_num_physical_slots">1</integer>
3066
3067     <!--Thresholds for LTE dbm in status bar-->
3068     <integer-array translatable="false" name="config_lteDbmThresholds">
3069         <item>-140</item>    <!-- SIGNAL_STRENGTH_NONE_OR_UNKNOWN -->
3070         <item>-128</item>    <!-- SIGNAL_STRENGTH_POOR -->
3071         <item>-118</item>    <!-- SIGNAL_STRENGTH_MODERATE -->
3072         <item>-108</item>    <!-- SIGNAL_STRENGTH_GOOD -->
3073         <item>-98</item>     <!-- SIGNAL_STRENGTH_GREAT -->
3074         <item>-44</item>
3075     </integer-array>
3076
3077     <!-- Enabled built-in zen mode condition providers -->
3078     <string-array translatable="false" name="config_system_condition_providers">
3079         <item>countdown</item>
3080         <item>schedule</item>
3081         <item>event</item>
3082     </string-array>
3083
3084     <!-- Priority repeat caller threshold, in minutes -->
3085     <integer name="config_zen_repeat_callers_threshold">15</integer>
3086
3087     <!-- Flags enabling default window features. See Window.java -->
3088     <bool name="config_defaultWindowFeatureOptionsPanel">true</bool>
3089     <bool name="config_defaultWindowFeatureContextMenu">true</bool>
3090
3091     <!-- If true, the transition for a RemoteViews is read from a resource instead of using the
3092          default scale-up transition. -->
3093     <bool name="config_overrideRemoteViewsActivityTransition">false</bool>
3094
3095     <!-- The maximum bitmap size that can be written to a MediaMetadata object. This value
3096          is the max width/height allowed in dips.-->
3097     <dimen name="config_mediaMetadataBitmapMaxSize">320dp</dimen>
3098
3099     <string translatable="false" name="prohibit_manual_network_selection_in_gobal_mode">false</string>
3100
3101     <!-- An array of CDMA roaming indicators which means international roaming -->
3102     <integer-array translatable="false" name="config_cdma_international_roaming_indicators" />
3103
3104     <!-- flag to indicate if EF LI/EF PL should be used for system language -->
3105     <bool name="config_use_sim_language_file">false</bool>
3106
3107     <!-- Use ERI text for network name on CDMA LTE -->
3108     <bool name="config_LTE_eri_for_network_name">true</bool>
3109
3110     <!-- Whether to start in touch mode -->
3111     <bool name="config_defaultInTouchMode">true</bool>
3112
3113     <!-- Time adjustment, in milliseconds, applied to the default double tap threshold
3114          used for gesture detection by the screen magnifier. -->
3115     <integer name="config_screen_magnification_multi_tap_adjustment">-50</integer>
3116
3117     <!-- Scale factor threshold used by the screen magnifier to determine when to switch from
3118          panning to scaling the magnification viewport. -->
3119     <item name="config_screen_magnification_scaling_threshold" format="float" type="dimen">0.3</item>
3120
3121     <!-- If true, the display will be shifted around in ambient mode. -->
3122     <bool name="config_enableBurnInProtection">false</bool>
3123
3124     <!-- Specifies the maximum burn-in offset displacement from the center. If -1, no maximum value
3125          will be used. -->
3126     <integer name="config_burnInProtectionMaxRadius">-1</integer>
3127
3128     <!-- Specifies the minimum burn-in offset horizontally. -->
3129     <integer name="config_burnInProtectionMinHorizontalOffset">0</integer>
3130
3131     <!-- Specifies the maximum burn-in offset horizontally. -->
3132     <integer name="config_burnInProtectionMaxHorizontalOffset">0</integer>
3133
3134     <!-- Specifies the minimum burn-in offset vertically. -->
3135     <integer name="config_burnInProtectionMinVerticalOffset">0</integer>
3136
3137     <!-- Specifies the maximum burn-in offset vertically. -->
3138     <integer name="config_burnInProtectionMaxVerticalOffset">0</integer>
3139
3140     <!-- Keyguard component -->
3141     <string name="config_keyguardComponent" translatable="false">com.android.systemui/com.android.systemui.keyguard.KeyguardService</string>
3142
3143     <!-- Limit for the number of face templates per user -->
3144     <integer name="config_faceMaxTemplatesPerUser">1</integer>
3145
3146     <!-- For performance and storage reasons, limit the number of fingerprints per user -->
3147     <integer name="config_fingerprintMaxTemplatesPerUser">5</integer>
3148
3149     <!-- Specify if the fingerprint hardware support gestures-->
3150     <bool name="config_fingerprintSupportsGestures">false</bool>
3151
3152     <!-- This config is used to force VoiceInteractionService to start on certain low ram devices.
3153          It declares the package name of VoiceInteractionService that should be started. -->
3154     <string translatable="false" name="config_forceVoiceInteractionServicePackage"></string>
3155
3156     <!-- This config is ued to determine whether animations are allowed in low power mode. -->
3157     <bool name="config_allowAnimationsInLowPowerMode">false</bool>
3158
3159     <!-- Whether device supports double tap to wake -->
3160     <bool name="config_supportDoubleTapWake">false</bool>
3161
3162     <!-- The RadioAccessFamilies supported by the device.
3163          Empty is viewed as "all".  Only used on devices which
3164          don't support RIL_REQUEST_GET_RADIO_CAPABILITY
3165          format is UMTS|LTE|... -->
3166     <string translatable="false" name="config_radio_access_family"></string>
3167
3168     <!-- Whether the main built-in display is round. This will affect
3169          Configuration.screenLayout's SCREENLAYOUT_ROUND_MASK flags for Configurations on the
3170          main built-in display. Change this in device-specific overlays.
3171          Defaults to the older, deprecated config_windowIsRound already used in
3172          some existing device-specific resource overlays. -->
3173     <bool name="config_mainBuiltInDisplayIsRound">@bool/config_windowIsRound</bool>
3174
3175     <!-- The bounding path of the cutout region of the main built-in display.
3176          Must either be empty if there is no cutout region, or a string that is parsable by
3177          {@link android.util.PathParser}.
3178
3179          The path is assumed to be specified in display coordinates with pixel units and in
3180          the display's native orientation, with the origin of the coordinate system at the
3181          center top of the display.
3182
3183          To facilitate writing device-independent emulation overlays, the marker `@dp` can be
3184          appended after the path string to interpret coordinates in dp instead of px units.
3185          Note that a physical cutout should be configured in pixels for the best results.
3186
3187          Example for a 10px x 10px square top-center cutout:
3188                 <string ...>M -5,0 L -5,10 L 5,10 L 5,0 Z</string>
3189          Example for a 10dp x 10dp square top-center cutout:
3190                 <string ...>M -5,0 L -5,10 L 5,10 L 5,0 Z @dp</string>
3191
3192          @see https://www.w3.org/TR/SVG/paths.html#PathData
3193          -->
3194     <string translatable="false" name="config_mainBuiltInDisplayCutout"></string>
3195
3196     <!-- Like config_mainBuiltInDisplayCutout, but this path is used to report the
3197          one single bounding rect per device edge to the app via
3198          {@link DisplayCutout#getBoundingRect}. Note that this path should try to match the visual
3199          appearance of the cutout as much as possible, and may be smaller than
3200          config_mainBuiltInDisplayCutout
3201          -->
3202     <string translatable="false" name="config_mainBuiltInDisplayCutoutRectApproximation">@string/config_mainBuiltInDisplayCutout</string>
3203
3204     <!-- Whether the display cutout region of the main built-in display should be forced to
3205          black in software (to avoid aliasing or emulate a cutout that is not physically existent).
3206          -->
3207     <bool name="config_fillMainBuiltInDisplayCutout">false</bool>
3208
3209     <!-- If true, and there is a cutout on the main built in display, the cutout will be masked
3210          by shrinking the display such that it does not overlap the cutout area. -->
3211     <bool name="config_maskMainBuiltInDisplayCutout">false</bool>
3212
3213     <!-- Ultrasound support for Mic/speaker path -->
3214     <!-- Whether the default microphone audio source supports near-ultrasound frequencies
3215          (range of 18 - 21 kHz). -->
3216     <bool name="config_supportMicNearUltrasound">true</bool>
3217     <!-- Whether the default speaker audio output path supports near-ultrasound frequencies
3218          (range of 18 - 21 kHz). -->
3219     <bool name="config_supportSpeakerNearUltrasound">true</bool>
3220
3221     <!-- Whether the Unprocessed audio source supports the required frequency range and level -->
3222     <bool name="config_supportAudioSourceUnprocessed">false</bool>
3223
3224     <!-- Flag indicating device support for EAP SIM, AKA, AKA' -->
3225     <bool name="config_eap_sim_based_auth_supported">true</bool>
3226
3227     <!-- How long history of previous vibrations should be kept for the dumpsys. -->
3228     <integer name="config_previousVibrationsDumpLimit">50</integer>
3229
3230     <!-- The default vibration strength, must be between 1 and 255 inclusive. -->
3231     <integer name="config_defaultVibrationAmplitude">255</integer>
3232
3233     <!-- If the device should still vibrate even in low power mode, for certain priority vibrations
3234      (e.g. accessibility, alarms). This is mainly for Wear devices that don't have speakers. -->
3235     <bool name="config_allowPriorityVibrationsInLowPowerMode">false</bool>
3236
3237     <!-- Number of retries Cell Data should attempt for a given error code before
3238          restarting the modem.
3239          Error codes not listed will not lead to modem restarts.
3240          Array of "code#,retry#"  -->
3241     <string-array name="config_cell_retries_per_error_code">
3242     </string-array>
3243
3244     <!-- Set initial MaxRetry value for operators -->
3245     <integer name="config_mdc_initial_max_retry">1</integer>
3246
3247     <!-- The OEM specified sensor type for the gesture to launch the camera app. -->
3248     <integer name="config_cameraLaunchGestureSensorType">-1</integer>
3249     <!-- The OEM specified sensor string type for the gesture to launch camera app, this value
3250          must match the value of config_cameraLaunchGestureSensorType in OEM's HAL -->
3251     <string translatable="false" name="config_cameraLaunchGestureSensorStringType"></string>
3252
3253     <!-- Allow the gesture to double tap the power button twice to start the camera while the device
3254          is non-interactive. -->
3255     <bool name="config_cameraDoubleTapPowerGestureEnabled">true</bool>
3256
3257     <!-- Allow the gesture power + volume up to change the ringer mode while the device
3258          is interactive. -->
3259     <bool name="config_volumeHushGestureEnabled">true</bool>
3260
3261     <!-- Name of the component to handle network policy notifications. If present,
3262          disables NetworkPolicyManagerService's presentation of data-usage notifications. -->
3263     <string translatable="false" name="config_networkPolicyNotificationComponent"></string>
3264
3265     <!-- The BT name of the keyboard packaged with the device. If this is defined, SystemUI will
3266          automatically try to pair with it when the device exits tablet mode. -->
3267     <string translatable="false" name="config_packagedKeyboardName"></string>
3268
3269     <!-- The device supports freeform window management. Windows have title bars and can be moved
3270          and resized. If you set this to true, you also need to add
3271          PackageManager.FEATURE_FREEFORM_WINDOW_MANAGEMENT feature to your device specification.
3272          The duplication is necessary, because this information is used before the features are
3273          available to the system.-->
3274     <bool name="config_freeformWindowManagement">false</bool>
3275
3276     <!-- If set, this will force all windows to draw the status bar background, including the apps
3277          that have not requested doing so (via the WindowManager.FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS
3278          flag). -->
3279     <bool name="config_forceWindowDrawsStatusBarBackground">true</bool>
3280
3281     <!-- Controls the opacity of the navigation bar depending on the visibility of the
3282          various workspace stacks.
3283          0 - Nav bar is always opaque when either the freeform stack or docked stack is visible.
3284          1 - Nav bar is always translucent when the freeform stack is visible, otherwise always
3285              opaque.
3286          2 - Nav bar is never forced opaque.
3287          -->
3288     <integer name="config_navBarOpacityMode">0</integer>
3289
3290     <!-- Controls the navigation bar interaction mode:
3291          0: 3 button mode (back, home, overview buttons)
3292          1: 2 button mode (back, home buttons + swipe up for overview)
3293          2: gestures only for back, home and overview -->
3294     <integer name="config_navBarInteractionMode">0</integer>
3295
3296     <!-- Controls whether the nav bar can move from the bottom to the side in landscape.
3297          Only applies if the device display is not square. -->
3298     <bool name="config_navBarCanMove">true</bool>
3299
3300     <!-- Controls whether the navigation bar lets through taps. -->
3301     <bool name="config_navBarTapThrough">false</bool>
3302
3303     <!-- Controls whether the side edge gestures can always trigger the transient nav bar to
3304          show. -->
3305     <bool name="config_navBarAlwaysShowOnSideEdgeGesture">false</bool>
3306
3307     <!-- Controls the size of the back gesture inset. -->
3308     <dimen name="config_backGestureInset">0dp</dimen>
3309
3310     <!-- Controls whether the navbar needs a scrim with
3311          {@link Window#setEnsuringNavigationBarContrastWhenTransparent}. -->
3312     <bool name="config_navBarNeedsScrim">true</bool>
3313
3314     <!-- Controls whether seamless rotation should be allowed even though the navbar can move
3315          (which normally prevents seamless rotation). -->
3316     <bool name="config_allowSeamlessRotationDespiteNavBarMoving">false</bool>
3317
3318     <!-- Controls whether hints for gestural navigation are shown when the device is setup.
3319          This should only be set when the device has gestural navigation enabled by default. -->
3320     <bool name="config_showGesturalNavigationHints">false</bool>
3321
3322     <!-- Default insets [LEFT/RIGHTxTOP/BOTTOM] from the screen edge for picture-in-picture windows.
3323          These values are in DPs and will be converted to pixel sizes internally. -->
3324     <string translatable="false" name="config_defaultPictureInPictureScreenEdgeInsets">16x16</string>
3325
3326     <!-- The percentage of the screen width to use for the default width or height of
3327          picture-in-picture windows. Regardless of the percent set here, calculated size will never
3328          be smaller than @dimen/default_minimal_size_pip_resizable_task. -->
3329     <item name="config_pictureInPictureDefaultSizePercent" format="float" type="dimen">0.23</item>
3330
3331     <!-- The default aspect ratio for picture-in-picture windows. -->
3332     <item name="config_pictureInPictureDefaultAspectRatio" format="float" type="dimen">1.777778</item>
3333
3334     <!-- This is the limit for the max and min aspect ratio (1 / this value) at which the min size
3335          will be used instead of an adaptive size based loosely on area. -->
3336     <item name="config_pictureInPictureAspectRatioLimitForMinSize" format="float" type="dimen">1.777778</item>
3337
3338     <!-- The default gravity for the picture-in-picture window.
3339          Currently, this maps to Gravity.BOTTOM | Gravity.RIGHT -->
3340     <integer name="config_defaultPictureInPictureGravity">0x55</integer>
3341
3342     <!-- The minimum aspect ratio (width/height) that is supported for picture-in-picture.  Any
3343          ratio smaller than this is considered too tall and thin to be usable. Currently, this
3344          is the inverse of the max landscape aspect ratio (1:2.39), but this is an extremely
3345          skinny aspect ratio that is not expected to be widely used. -->
3346     <item name="config_pictureInPictureMinAspectRatio" format="float" type="dimen">0.41841004184</item>
3347
3348     <!-- The maximum aspect ratio (width/height) that is supported for picture-in-picture. Any
3349          ratio larger than this is considered to wide and short to be usable. Currently 2.39:1. -->
3350     <item name="config_pictureInPictureMaxAspectRatio" format="float" type="dimen">2.39</item>
3351
3352     <!-- The snap mode to use for picture-in-picture. These values correspond to constants defined
3353          in PipSnapAlgorithm and should not be changed independently.
3354              0 - Snap to the four corners
3355              1 - Snap to the four corners and the mid-points on the long edge in each orientation
3356              2 - Snap anywhere along the edge of the screen
3357              3 - Snap anywhere along the edge of the screen and magnet to corners
3358              4 - Snap to the long edges in each orientation and magnet to corners
3359     -->
3360     <integer name="config_pictureInPictureSnapMode">4</integer>
3361
3362     <!-- Controls the snap mode for the docked stack divider
3363              0 - 3 snap targets: left/top has 16:9 ratio, 1:1, and right/bottom has 16:9 ratio
3364              1 - 3 snap targets: fixed ratio, 1:1, (1 - fixed ratio)
3365              2 - 1 snap target: 1:1
3366     -->
3367     <integer name="config_dockedStackDividerSnapMode">0</integer>
3368
3369     <!-- The maximum aspect ratio (longerSide/shorterSide) that is treated as close-to-square. The
3370          orientation requests from apps would be ignored if the display is close-to-square. -->
3371     <item name="config_closeToSquareDisplayMaxAspectRatio" format="float" type="dimen">1.333</item>
3372
3373     <!-- List of comma separated package names for which we the system will not show crash, ANR,
3374          etc. dialogs. -->
3375     <string translatable="false" name="config_appsNotReportingCrashes"></string>
3376
3377     <!-- Inactivity threshold (in milliseconds) used in JobScheduler. JobScheduler will consider
3378          the device to be "idle" after being inactive for this long. -->
3379     <integer name="config_jobSchedulerInactivityIdleThreshold">4260000</integer>
3380     <!-- The alarm window (in milliseconds) that JobScheduler uses to enter the idle state -->
3381     <integer name="config_jobSchedulerIdleWindowSlop">300000</integer>
3382
3383     <!-- If true, all guest users created on the device will be ephemeral. -->
3384     <bool name="config_guestUserEphemeral">false</bool>
3385
3386     <!-- Enforce strong auth on boot. Setting this to false represents a security risk and should
3387          not be ordinarily done. The only case in which this might be permissible is in a car head
3388          unit where there are hardware mechanisms to protect the device (physical keys) and not
3389          much in the way of user data.
3390     -->
3391     <bool name="config_strongAuthRequiredOnBoot">true</bool>
3392
3393     <!-- Wallpaper cropper package. Used as the default cropper if the active launcher doesn't
3394          handle wallpaper cropping.
3395     -->
3396     <string name="config_wallpaperCropperPackage" translatable="false">com.android.wallpapercropper</string>
3397
3398     <!-- True if the device supports at least one form of multi-window.
3399          E.g. freeform, split-screen, picture-in-picture. -->
3400     <bool name="config_supportsMultiWindow">true</bool>
3401
3402     <!-- True if the device supports split screen as a form of multi-window. -->
3403     <bool name="config_supportsSplitScreenMultiWindow">true</bool>
3404
3405     <!-- True if the device supports running activities on secondary displays. -->
3406     <bool name="config_supportsMultiDisplay">true</bool>
3407
3408     <!-- True if the device has no home screen. That is a launcher activity
3409          where the user can launch other applications from.  -->
3410     <bool name="config_noHomeScreen">false</bool>
3411
3412     <!-- True if the device supports system decorations on secondary displays. -->
3413     <bool name="config_supportsSystemDecorsOnSecondaryDisplays">true</bool>
3414
3415     <!-- True if the device supports insecure lock screen. -->
3416     <bool name="config_supportsInsecureLockScreen">true</bool>
3417
3418     <!-- True if the device requires AppWidgetService even if it does not have
3419          the PackageManager.FEATURE_APP_WIDGETS feature -->
3420     <bool name="config_enableAppWidgetService">false</bool>
3421
3422     <!-- True if the device supports Sustained Performance Mode-->
3423     <bool name="config_sustainedPerformanceModeSupported">false</bool>
3424
3425     <!-- File used to enable the double touch gesture.
3426          TODO: move to input HAL once ready. -->
3427     <string name="config_doubleTouchGestureEnableFile"></string>
3428
3429     <!-- Controls how we deal with externally connected physical keyboards.
3430          0 - When using this device, it is not clear for users to recognize when the physical
3431              keyboard is (should be) connected and when it is (should be) disconnected.  Most of
3432              phones and tablets with Bluetooth keyboard would fall into this category because the
3433              connected Bluetooth keyboard may or may not be nearby the host device.
3434          1 - When using this device, it is clear for users to recognize when the physical
3435              keyboard is (should be) connected and when it is (should be) disconnected.
3436              Devices with wired USB keyboard is one clear example.  Some 2-in-1 convertible
3437              tablets with dedicated keyboards may have the same affordance to wired USB keyboard.
3438     -->
3439     <integer name="config_externalHardKeyboardBehavior">0</integer>
3440
3441     <!-- Package of the unbundled tv remote service which can connect to tv
3442          remote provider -->
3443     <string name="config_tvRemoteServicePackage" translatable="false"></string>
3444
3445     <!-- True if the device supports persisting security logs across reboots.
3446          This requires the device's kernel to have pstore and pmsg enabled,
3447          and DRAM to be powered and refreshed through all stages of reboot. -->
3448     <bool name="config_supportPreRebootSecurityLogs">false</bool>
3449
3450     <!-- Default files to pin via Pinner Service -->
3451     <string-array translatable="false" name="config_defaultPinnerServiceFiles">
3452     </string-array>
3453
3454     <!-- True if camera app should be pinned via Pinner Service -->
3455     <bool name="config_pinnerCameraApp">false</bool>
3456
3457     <!-- True if home app should be pinned via Pinner Service -->
3458     <bool name="config_pinnerHomeApp">false</bool>
3459
3460     <!-- List of files pinned by the Pinner Service with the apex boot image b/119800099 -->
3461     <string-array translatable="false" name="config_apexBootImagePinnerServiceFiles">
3462     </string-array>
3463
3464     <!-- Number of days preloaded file cache should be preserved on a device before it can be
3465          deleted -->
3466     <integer name="config_keepPreloadsMinDays">7</integer>
3467
3468     <!-- Flag indicating whether round icons should be parsed from the application manifest. -->
3469     <bool name="config_useRoundIcon">false</bool>
3470
3471     <!-- Flag indicating whether the assist disclosure can be disabled using
3472          ASSIST_DISCLOSURE_ENABLED. -->
3473     <bool name="config_allowDisablingAssistDisclosure">true</bool>
3474
3475     <!-- True if the device supports system navigation keys. -->
3476     <bool name="config_supportSystemNavigationKeys">false</bool>
3477
3478     <!-- emergency call number for the emergency affordance -->
3479     <string name="config_emergency_call_number" translatable="false">112</string>
3480
3481     <!-- Do not translate. Mcc codes whose existence trigger the presence of emergency
3482          affordances-->
3483     <integer-array name="config_emergency_mcc_codes" translatable="false">
3484         <item>404</item>
3485         <item>405</item>
3486     </integer-array>
3487
3488     <!-- Package name for the device provisioning package. -->
3489     <string name="config_deviceProvisioningPackage"></string>
3490
3491     <!-- Colon separated list of package names that should be granted DND access -->
3492     <string name="config_defaultDndAccessPackages" translatable="false">com.android.camera2</string>
3493
3494     <!-- User restrictions set when the first user is created.
3495          Note: Also update appropriate overlay files. -->
3496     <string-array translatable="false" name="config_defaultFirstUserRestrictions">
3497     </string-array>
3498
3499     <!-- Specifies whether certain permissions should be individually controlled. -->
3500     <bool name="config_permissionsIndividuallyControlled">false</bool>
3501
3502     <!-- Specifies whether the user has to give consent to manage wireless (wifi + bluetooth). -->
3503     <bool name="config_wirelessConsentRequired">false</bool>
3504
3505     <!-- Default value for android:focusableInTouchMode for some framework scrolling containers.
3506          ListView/GridView are notably absent since this is their default anyway.
3507          Set to true for watch devices. -->
3508     <bool name="config_focusScrollContainersInTouchMode">false</bool>
3509
3510     <string name="config_networkOverLimitComponent" translatable="false">com.android.systemui/com.android.systemui.net.NetworkOverLimitActivity</string>
3511     <string name="config_dataUsageSummaryComponent" translatable="false">com.android.settings/com.android.settings.Settings$DataUsageSummaryActivity</string>
3512
3513     <!-- Flag specifying whether user-switch operations have custom UI. When false, user-switch
3514          UI is handled by ActivityManagerService -->
3515     <bool name="config_customUserSwitchUi">false</bool>
3516
3517     <!-- A array of regex to treat a SMS as VVM SMS if the message body matches.
3518          Each item represents an entry, which consists of two parts:
3519          a comma (,) separated list of MCCMNC the regex applies to, followed by a semicolon (;), and
3520          then the regex itself. -->
3521     <string-array translatable="false" name="config_vvmSmsFilterRegexes">
3522         <!-- Verizon requires any SMS that starts with //VZWVVM to be treated as a VVM SMS-->
3523         <item>310004,310010,310012,310013,310590,310890,310910,311110,311270,311271,311272,311273,311274,311275,311276,311277,311278,311279,311280,311281,311282,311283,311284,311285,311286,311287,311288,311289,311390,311480,311481,311482,311483,311484,311485,311486,311487,311488,311489;^//VZWVVM.*</item>
3524     </string-array>
3525
3526     <!-- This config is holding calling number conversion map - expected to convert to emergency
3527          number. Formats for this config as below:
3528          <item>[dialstring1],[dialstring2],[dialstring3]:[replacement]</item>
3529
3530          E.g. for Taiwan Type Approval, 110 and 119 should be converted to 112.
3531          <item>110,119:112</item>
3532     -->
3533     <string-array translatable="false" name="config_convert_to_emergency_number_map" />
3534
3535     <!-- An array of packages for which notifications cannot be blocked.
3536          Should only be used for core device functionality that must not be
3537          rendered inoperative for safety reasons, like the phone dialer and
3538          SMS handler. -->
3539     <string-array translatable="false" name="config_nonBlockableNotificationPackages">
3540         <item>com.android.dialer</item>
3541         <item>com.android.messaging</item>
3542     </string-array>
3543
3544     <!-- An array of packages that can make sound on the ringer stream in priority-only DND
3545      mode -->
3546     <string-array translatable="false" name="config_priorityOnlyDndExemptPackages">
3547         <item>com.android.dialer</item>
3548     </string-array>
3549
3550     <!-- An array of packages which can listen for notifications on low ram devices. -->
3551     <string-array translatable="false" name="config_allowedManagedServicesOnLowRamDevices" />
3552
3553     <!-- The default value for transition animation scale found in developer settings.
3554          1.0 corresponds to 1x animator scale, 0 means that there will be no transition
3555          animations. Note that this is only a default and will be overridden by a
3556          user-set value if toggled by settings so the "Transition animation scale" setting
3557          should also be hidden if intended to be permanent. -->
3558     <item name="config_appTransitionAnimationDurationScaleDefault" format="float" type="dimen">1.0</item>
3559
3560     <!-- Flag indicates that whether non-system apps can be installed on internal storage. -->
3561     <bool name="config_allow3rdPartyAppOnInternal">true</bool>
3562
3563     <!-- Package names of the default cell broadcast receivers -->
3564     <string-array name="config_defaultCellBroadcastReceiverPkgs" translatable="false">
3565         <item>com.android.cellbroadcastreceiver</item>
3566     </string-array>
3567
3568     <!-- Specifies the path that is used by AdaptiveIconDrawable class to crop launcher icons. -->
3569     <string name="config_icon_mask" translatable="false">"M50,0L92,0C96.42,0 100,4.58 100 8L100,92C100, 96.42 96.42 100 92 100L8 100C4.58, 100 0 96.42 0 92L0 8 C 0 4.42 4.42 0 8 0L50 0Z"</string>
3570
3571     <!-- The component name, flattened to a string, for the default accessibility service to be
3572          enabled by the accessibility shortcut. This service must be trusted, as it can be activated
3573          without explicit consent of the user. If no accessibility service with the specified name
3574          exists on the device, the accessibility shortcut will be disabled by default. -->
3575     <string name="config_defaultAccessibilityService" translatable="false"></string>
3576
3577     <!-- Flag indicates that whether escrow token API is enabled for TrustAgent -->
3578     <!-- Warning: This API can be dangerous when not implemented properly. In particular,
3579          escrow token must NOT be retrievable from device storage. In other words, either
3580          escrow token is not stored on device or its ciphertext is stored on device while
3581          the decryption key is not. Before enabling this feature, please ensure you've read
3582          and followed the pertinent sections of the escrow tokens section of the CDD <link>-->
3583     <!-- TODO(b/35230407) complete the link field -->
3584     <bool name="config_allowEscrowTokenForTrustAgent">false</bool>
3585
3586     <!-- A flattened ComponentName which corresponds to the only trust agent that should be enabled
3587          by default. If the default value is used, or set to an empty string, the restriction will
3588          not be applied. -->
3589     <string name="config_defaultTrustAgent" translatable="false"></string>
3590
3591     <!-- Colon separated list of package names that should be granted Notification Listener access -->
3592     <string name="config_defaultListenerAccessPackages" translatable="false"></string>
3593
3594     <!-- Maximum size, specified in pixels, to restrain the display space width to. Height and
3595          density will be scaled accordingly to maintain aspect ratio. A value of 0 indicates no
3596          constraint will be enforced. -->
3597     <integer name="config_maxUiWidth">0</integer>
3598
3599     <!-- Whether the device supports quick settings and its associated APIs -->
3600     <bool name="config_quickSettingsSupported">true</bool>
3601
3602     <!-- The component name, flattened to a string, for the default autofill service
3603          to  enabled for an user. This service must be trusted, as it can be activated
3604          without explicit consent of the user. If no autofill service with the
3605           specified name exists on the device, autofill will be disabled by default.
3606     -->
3607     <string name="config_defaultAutofillService" translatable="false"></string>
3608
3609     <!-- The package name for the default system textclassifier service.
3610          This service must be trusted, as it can be activated without explicit consent of the user.
3611          Example: "com.android.textclassifier"
3612          If no textclassifier service with the specified name exists on the device (or if this is
3613          set to empty string), a default textclassifier will be loaded in the calling app's process.
3614          See android.view.textclassifier.TextClassificationManager.
3615     -->
3616     <string name="config_defaultTextClassifierPackage" translatable="false"></string>
3617
3618     <!-- The package name for the default wellbeing app.
3619          This package must be trusted, as it has the permissions to control other applications
3620          on the device.
3621          Example: "com.android.wellbeing"
3622      -->
3623     <string name="config_defaultWellbeingPackage" translatable="false"></string>
3624
3625     <!-- The component name for the default system attention service.
3626          This service must be trusted, as it can be activated without explicit consent of the user.
3627          See android.attention.AttentionManagerService.
3628     -->
3629     <string name="config_defaultAttentionService" translatable="false"></string>
3630
3631     <!-- The component name for the system-wide captions service.
3632          This service must be trusted, as it controls part of the UI of the volume bar.
3633          Example: "com.android.captions/.SystemCaptionsService"
3634     -->
3635     <string name="config_defaultSystemCaptionsService" translatable="false"></string>
3636
3637     <!-- The component name for the system-wide captions manager service.
3638          This service must be trusted, as the system binds to it and keeps it running.
3639          Example: "com.android.captions/.SystemCaptionsManagerService"
3640     -->
3641     <string name="config_defaultSystemCaptionsManagerService" translatable="false"></string>
3642
3643     <!-- The package name for the incident report approver app.
3644         This app is usually PermissionController or an app that replaces it.  When
3645         a bugreport or incident report with EXPLICT-level sharing flags is going to be
3646         shared, this app will be sent the PENDING_INCIDENT_REPORTS_CHANGED broadcast.
3647     -->
3648     <string name="config_incidentReportApproverPackage" translatable="false">com.android.permissioncontroller</string>
3649
3650     <!-- The package name for the system's content capture service.
3651          This service must be trusted, as it can be activated without explicit consent of the user.
3652          If no service with the specified name exists on the device, content capture will be
3653          disabled.
3654          Example: "com.android.contentcapture/.ContentcaptureService"
3655     -->
3656     <string name="config_defaultContentCaptureService" translatable="false"></string>
3657
3658     <!-- The package name for the system's augmented autofill service.
3659          This service must be trusted, as it can be activated without explicit consent of the user.
3660          If no service with the specified name exists on the device, augmented autofill wil be
3661          disabled.
3662          Example: "com.android.augmentedautofill/.AugmentedAutofillService"
3663     -->
3664     <string name="config_defaultAugmentedAutofillService" translatable="false"></string>
3665
3666     <!-- The package name for the system's app prediction service.
3667          This service must be trusted, as it can be activated without explicit consent of the user.
3668          Example: "com.android.intelligence/.AppPredictionService"
3669     -->
3670     <string name="config_defaultAppPredictionService" translatable="false"></string>
3671
3672     <!-- The package name for the system's content suggestions service.
3673          Provides suggestions for text and image selection regions in snapshots of apps and should
3674          be able to classify the type of entities in those selections.
3675
3676          This service must be trusted, as it can be activated without explicit consent of the user.
3677          If no service with the specified name exists on the device, content suggestions wil be
3678          disabled.
3679          Example: "com.android.contentsuggestions/.ContentSuggestionsService"
3680     -->
3681     <string name="config_defaultContentSuggestionsService" translatable="false"></string>
3682
3683     <!-- Whether the device uses the default focus highlight when focus state isn't specified. -->
3684     <bool name="config_useDefaultFocusHighlight">true</bool>
3685
3686     <!-- Flag indicating that the entire notification header can be clicked to expand the
3687          notification. If false, then the expand icon has to be clicked in order for the expand
3688          to occur. The expand button will have increased touch boundaries to accomodate this. -->
3689     <bool name="config_notificationHeaderClickableForExpand">false</bool>
3690
3691     <!-- Default data warning level in mb -->
3692     <integer name="default_data_warning_level_mb">2048</integer>
3693
3694     <!-- When true, indicates that the vendor's IMS implementation requires a workaround when
3695      sending a request to enable or disable the camera while the video session is also
3696      paused. -->
3697     <bool name="config_useVideoPauseWorkaround">false</bool>
3698
3699     <!-- Whether to send a custom package name with the PSD.-->
3700     <bool name="config_sendPackageName">false</bool>
3701
3702     <!-- Name for the set of keys associating package names -->
3703     <string name="config_helpPackageNameKey" translatable="false"></string>
3704
3705     <!-- Name for the set of values of package names -->
3706     <string name="config_helpPackageNameValue" translatable="false"></string>
3707
3708     <!-- Intent key for the package name keys -->
3709     <string name="config_helpIntentExtraKey" translatable="false"></string>
3710
3711     <!-- Intent key for package name values -->
3712     <string name="config_helpIntentNameKey" translatable="false"></string>
3713
3714     <!-- Intent key for the package name keys -->
3715     <string name="config_feedbackIntentExtraKey" translatable="false"></string>
3716
3717     <!-- Intent key for package name values -->
3718     <string name="config_feedbackIntentNameKey" translatable="false"></string>
3719
3720     <!-- The apps that need to be hidden when they are disabled -->
3721     <string-array name="config_hideWhenDisabled_packageNames"></string-array>
3722
3723     <!-- Additional non-platform defined global settings exposed to Instant Apps -->
3724     <string-array name="config_allowedGlobalInstantAppSettings"></string-array>
3725
3726     <!-- Additional non-platform defined system settings exposed to Instant Apps -->
3727     <string-array name="config_allowedSystemInstantAppSettings"></string-array>
3728
3729     <!-- Additional non-platform defined secure settings exposed to Instant Apps -->
3730     <string-array name="config_allowedSecureInstantAppSettings"></string-array>
3731
3732     <!-- Handle volume keys directly in Window Manager without passing them to the foreground app -->
3733     <bool name="config_handleVolumeKeysInWindowManager">false</bool>
3734
3735     <!-- Volume level of in-call notification tone playback [0..1] -->
3736     <item name="config_inCallNotificationVolume" format="float" type="dimen">.10</item>
3737
3738     <!-- URI for in call notification sound -->
3739     <string translatable="false" name="config_inCallNotificationSound">/product/media/audio/ui/InCallNotification.ogg</string>
3740
3741     <!-- Default number of notifications from the same app before they are automatically grouped by the OS -->
3742     <integer translatable="false" name="config_autoGroupAtCount">4</integer>
3743
3744     <!-- The OEM specified sensor type for the lift trigger to launch the camera app. -->
3745     <integer name="config_cameraLiftTriggerSensorType">-1</integer>
3746     <!-- The OEM specified sensor string type for the gesture to launch camera app, this value
3747         must match the value of config_cameraLiftTriggerSensorType in OEM's HAL -->
3748     <string translatable="false" name="config_cameraLiftTriggerSensorStringType"></string>
3749
3750     <!-- Default number of days to retain for the automatic storage manager. -->
3751     <integer translatable="false" name="config_storageManagerDaystoRetainDefault">90</integer>
3752
3753     <!-- Name of a font family to use for headlines. If empty, falls back to platform default -->
3754     <string name="config_headlineFontFamily" translatable="false"></string>
3755     <!-- Allows setting custom fontFeatureSettings on specific text. -->
3756     <string name="config_headlineFontFeatureSettings" translatable="false"></string>
3757
3758     <!-- An array of packages that need to be treated as type system in battery settings -->
3759     <string-array translatable="false" name="config_batteryPackageTypeSystem">
3760         <item>com.android.providers.calendar</item>
3761         <item>com.android.providers.media</item>
3762         <item>com.android.systemui</item>
3763     </string-array>
3764
3765     <!-- An array of packages that need to be treated as type service in battery settings -->
3766     <string-array translatable="false" name="config_batteryPackageTypeService"/>
3767
3768     <!-- Flag indicating whether or not to enable night mode detection. -->
3769     <bool name="config_enableNightMode">true</bool>
3770
3771     <!-- Flag indicating that the actions buttons for a notification should be tinted with by the
3772          color supplied by the Notification.Builder if present. -->
3773     <bool name="config_tintNotificationActionButtons">true</bool>
3774
3775     <!-- Show area update info settings in CellBroadcastReceiver and information in SIM status in Settings app -->
3776     <bool name="config_showAreaUpdateInfoSettings">false</bool>
3777
3778     <!-- Enable the RingtonePickerActivity in 'com.android.providers.media'. -->
3779     <bool name="config_defaultRingtonePickerEnabled">true</bool>
3780
3781     <!-- Allow SystemUI to show the shutdown dialog -->
3782     <bool name="config_showSysuiShutdown">true</bool>
3783
3784     <!-- The stable device width and height in pixels. If these aren't set to a positive number
3785          then the device will use the width and height of the default display the first time it's
3786          booted.  -->
3787     <integer name="config_stableDeviceDisplayWidth">-1</integer>
3788     <integer name="config_stableDeviceDisplayHeight">-1</integer>
3789
3790     <!-- Decide whether to display 'No service' on status bar instead of 'Emergency calls only'
3791          when SIM is unready. -->
3792     <bool name="config_display_no_service_when_sim_unready">false</bool>
3793
3794     <!-- Class names of device specific services inheriting com.android.server.SystemService. The
3795          classes are instantiated in the order of the array. -->
3796     <string-array translatable="false" name="config_deviceSpecificSystemServices"></string-array>
3797
3798     <!-- Class name of the device specific implementation to replace the DevicePolicyManagerService
3799          or empty if the default should be used. -->
3800     <string translatable="false" name="config_deviceSpecificDevicePolicyManagerService"></string>
3801
3802     <!-- Class name of the device specific implementation to replace the AudioService
3803          or empty if the default should be used. -->
3804     <string translatable="false" name="config_deviceSpecificAudioService"></string>
3805
3806     <!-- Component name of media projection permission dialog -->
3807     <string name="config_mediaProjectionPermissionDialogComponent" translatable="false">com.android.systemui/com.android.systemui.media.MediaProjectionPermissionActivity</string>
3808
3809     <!-- Corner radius of system dialogs -->
3810     <dimen name="config_dialogCornerRadius">2dp</dimen>
3811     <!-- Corner radius of system buttons -->
3812     <dimen name="config_buttonCornerRadius">@dimen/control_corner_material</dimen>
3813     <!-- Corner radius for bottom sheet system dialogs -->
3814     <dimen name="config_bottomDialogCornerRadius">@dimen/config_dialogCornerRadius</dimen>
3815     <!-- Corner radius of system progress bars -->
3816     <dimen name="config_progressBarCornerRadius">@dimen/progress_bar_corner_material</dimen>
3817     <!-- Controls whether system buttons use all caps for text -->
3818     <bool name="config_buttonTextAllCaps">true</bool>
3819     <!-- Name of the font family used for system surfaces where the font should use medium weight -->
3820     <string name="config_headlineFontFamilyMedium" translateable="false">@string/font_family_button_material</string>
3821     <!-- Name of a font family to use for body text. -->
3822     <string name="config_bodyFontFamily" translatable="false">sans-serif</string>
3823     <!-- Name of a font family to use for medium body text. -->
3824     <string name="config_bodyFontFamilyMedium" translatable="false">sans-serif-medium</string>
3825
3826     <!-- Size of icon shown beside a preference locked by admin -->
3827     <dimen name="config_restrictedIconSize">@dimen/restricted_icon_size_material</dimen>
3828
3829     <string translatable="false" name="config_batterySaverDeviceSpecificConfig"></string>
3830
3831     <!-- Component name that should be granted Notification Assistant access -->
3832     <string name="config_defaultAssistantAccessComponent" translatable="false">android.ext.services/android.ext.services.notification.Assistant</string>
3833
3834     <bool name="config_supportBluetoothPersistedState">true</bool>
3835
3836     <bool name="config_keepRestrictedProfilesInBackground">true</bool>
3837
3838     <!-- Cellular network service package name to bind to by default. -->
3839     <string name="config_wwan_network_service_package" translatable="false">com.android.phone</string>
3840
3841     <!-- IWLAN network service package name to bind to by default. If none is specified in an overlay, an
3842          empty string is passed in -->
3843     <string name="config_wlan_network_service_package" translatable="false"></string>
3844
3845     <!-- Telephony qualified networks service package name to bind to by default. -->
3846     <string name="config_qualified_networks_service_package" translatable="false"></string>
3847
3848     <!-- Wear devices: Controls the radios affected by Activity Mode. -->
3849     <string-array name="config_wearActivityModeRadios">
3850         <item>"wifi"</item>
3851     </string-array>
3852
3853     <!-- Default hyphenation frequency setting (0=NONE, 1=NORMAL, 2=FULL). -->
3854     <item name="config_preferredHyphenationFrequency" format="integer" type="dimen">0</item>
3855
3856     <!-- Package name for ManagedProvisioning which is responsible for provisioning work profiles. -->
3857     <string name="config_managed_provisioning_package" translatable="false">com.android.managedprovisioning</string>
3858
3859     <!-- Whether or not swipe up gesture's opt-in setting is available on this device -->
3860     <bool name="config_swipe_up_gesture_setting_available">false</bool>
3861
3862     <!-- Applications which are disabled unless matching a particular sku -->
3863     <string-array name="config_disableApksUnlessMatchedSku_apk_list" translatable="false" />
3864     <string-array name="config_disableApkUnlessMatchedSku_skus_list" translatable="false" />
3865
3866     <!-- Whether or not we should show the option to show battery percentage -->
3867     <bool name="config_battery_percentage_setting_available">true</bool>
3868
3869     <!-- Whether or not battery saver should be "sticky" when manually enabled. -->
3870     <bool name="config_batterySaverStickyBehaviourDisabled">false</bool>
3871
3872     <!-- Config flag to track default disable threshold for Dynamic power savings enabled battery saver. -->
3873     <integer name="config_dynamicPowerSavingsDefaultDisableThreshold">80</integer>
3874
3875     <!-- Model of potentially misprovisioned devices. If none is specified in an overlay, an
3876          empty string is passed in. -->
3877     <string name="config_misprovisionedDeviceModel" translatable="false"></string>
3878
3879     <!-- Brand value for attestation of misprovisioned device. -->
3880     <string name="config_misprovisionedBrandValue" translatable="false"></string>
3881
3882     <!-- Pre-scale volume at volume step 1 for Absolute Volume -->
3883     <fraction name="config_prescaleAbsoluteVolume_index1">50%</fraction>
3884
3885     <!-- Pre-scale volume at volume step 2 for Absolute Volume -->
3886     <fraction name="config_prescaleAbsoluteVolume_index2">70%</fraction>
3887
3888     <!-- Pre-scale volume at volume step 3 for Absolute Volume -->
3889     <fraction name="config_prescaleAbsoluteVolume_index3">85%</fraction>
3890
3891     <!-- Whether or not the "SMS app service" feature is enabled -->
3892     <bool name="config_useSmsAppService">true</bool>
3893
3894     <!-- Class name for the InputEvent compatibility processor override.
3895          Empty string means use the default compatibility processor
3896          (android.view.InputEventCompatProcessor). -->
3897     <string name="config_inputEventCompatProcessorOverrideClassName" translatable="false"></string>
3898
3899     <!-- Component name for the default module metadata provider on this device -->
3900     <string name="config_defaultModuleMetadataProvider" translatable="false">com.android.modulemetadata</string>
3901
3902     <!-- This is the default launcher component to use on secondary displays that support system
3903          decorations.
3904          This launcher activity must support multiple instances and have corresponding launch mode
3905          set in AndroidManifest.
3906          {@see android.view.Display#FLAG_SHOULD_SHOW_SYSTEM_DECORATIONS} -->
3907     <string name="config_secondaryHomeComponent" translatable="false">com.android.launcher3/com.android.launcher3.SecondaryDisplayLauncher</string>
3908
3909     <!-- Force secondary home launcher specified in config_secondaryHomeComponent always. If this is
3910          not set, secondary home launcher can be replaced by user. -->
3911     <bool name ="config_useSystemProvidedLauncherForSecondary">false</bool>
3912
3913     <!-- If device supports corner radius on windows.
3914          This should be turned off on low-end devices to improve animation performance. -->
3915     <bool name="config_supportsRoundedCornersOnWindows">true</bool>
3916
3917     <!-- If the sensor that skips media is available or not. -->
3918     <bool name="config_skipSensorAvailable">false</bool>
3919
3920     <!-- If the sensor that silences alerts is available or not. -->
3921     <bool name="config_silenceSensorAvailable">false</bool>
3922
3923     <!-- Enable Zram writeback feature to allow unused pages in zram be written to flash. -->
3924     <bool name="config_zramWriteback">false</bool>
3925
3926     <!-- Whether cbrs is supported on the device or not -->
3927     <bool translatable="false" name="config_cbrs_supported">false</bool>
3928
3929     <!-- Whether or not aware is enabled by default -->
3930     <bool name="config_awareSettingAvailable">false</bool>
3931
3932     <!-- Display White-Balance -->
3933
3934     <!-- See AmbientSensor.AmbientBrightnessSensor.
3935          The ambient brightness sensor rate (in milliseconds). Must be positive. -->
3936     <integer name="config_displayWhiteBalanceBrightnessSensorRate">250</integer>
3937
3938     <!-- See AmbientFilter.
3939          How long ambient brightness changes are kept and taken into consideration
3940          (in milliseconds). Must be positive. -->
3941     <integer name="config_displayWhiteBalanceBrightnessFilterHorizon">10000</integer>
3942
3943     <!-- See AmbientFilter.WeightedMovingAverageAmbientFilter.
3944          Recent changes are prioritised by integrating their duration over y = x + intercept
3945          (the higher it is, the less prioritised recent changes are). Must be a non-negative
3946          number, or NaN to avoid this implementation. -->
3947     <item name="config_displayWhiteBalanceBrightnessFilterIntercept" format="float" type="dimen">10.0</item>
3948
3949     <!-- See AmbientSensor.AmbientColorTemperatureSensor.
3950          The ambient color temperature sensor name. -->
3951     <string name="config_displayWhiteBalanceColorTemperatureSensorName">com.google.sensor.color</string>
3952
3953     <!-- See AmbientSensor.AmbientColorTemperatureSensor.
3954          The ambient color temperature sensor rate (in milliseconds). Must be positive. -->
3955     <integer name="config_displayWhiteBalanceColorTemperatureSensorRate">250</integer>
3956
3957     <!-- See AmbientFilter.
3958          How long ambient color temperature changes are kept and taken into consideration
3959          (in milliseconds). Must be positive. -->
3960     <integer name="config_displayWhiteBalanceColorTemperatureFilterHorizon">10000</integer>
3961
3962     <!-- See AmbientFilter.WeightedMovingAverageAmbientFilter.
3963          Recent changes are prioritised by integrating their duration over y = x + intercept
3964          (the higher it is, the less prioritised recent changes are). Must be a non-negative
3965          number, or NaN to avoid this implementation. -->
3966     <item name="config_displayWhiteBalanceColorTemperatureFilterIntercept" format="float"
3967             type="dimen">10.0</item>
3968
3969     <!-- See DisplayWhiteBalanceThrottler.
3970          The debounce time (in milliseconds) for increasing the screen color temperature, throttled
3971          if time > lastTime + debounce. Must be non-negative. -->
3972     <integer name="config_displayWhiteBalanceIncreaseDebounce">5000</integer>
3973
3974     <!-- See DisplayWhiteBalanceThrottler.
3975          The debounce time (in milliseconds) for decreasing the screen color tempearture, throttled
3976          if time < lastTime - debounce. Must be non-negative. -->
3977     <integer name="config_displayWhiteBalanceDecreaseDebounce">5000</integer>
3978
3979     <!-- See DisplayWhiteBalanceThrottler.
3980          The ambient color temperature values used to determine the threshold as the corresponding
3981          value in config_displayWhiteBalance{Increase,Decrease}Threholds. Must be non-empty, the
3982          same length as config_displayWhiteBalance{Increase,Decrease}Thresholds, and contain
3983          non-negative, strictly increasing numbers.
3984
3985          For example, if:
3986
3987          - baseThresolds = [0, 100, 1000];
3988          - increaseThresholds = [0.1, 0.15, 0.2];
3989          - decreaseThresholds = [0.1, 0.05, 0.0];
3990
3991          Then, given the ambient color temperature INCREASED from X to Y (so X < Y):
3992          - If 0 <= Y < 100, we require Y > (1 + 0.1) * X = 1.1X;
3993          - If 100 <= Y < 1000, we require Y > (1 + 0.15) * X = 1.15X;
3994          - If 1000 <= Y, we require Y > (1 + 0.2) * X = 1.2X.
3995
3996          Or, if the ambient color temperature DECREASED from X to Y (so X > Y):
3997          - If 0 <= Y < 100, we require Y < (1 - 0.1) * X = 0.9X;
3998          - If 100 <= Y < 1000, we require Y < (1 - 0.05) * X = 0.95X;
3999          - If 1000 <= Y, we require Y < (1 - 0) * X = X.
4000
4001          NOTE: the numbers in this example are made up, and don't represent how actual base,
4002                increase or decrease thresholds would look like. -->
4003     <array name="config_displayWhiteBalanceBaseThresholds">
4004         <item>0.0</item>
4005     </array>
4006
4007     <!-- See DisplayWhiteBalanceThrottler.
4008          The increase threshold values, throttled if value < value * (1 + threshold). Must be
4009          non-empty, the same length as config_displayWhiteBalanceBaseThresholds, and contain
4010          non-negative numbers. -->
4011     <array name="config_displayWhiteBalanceIncreaseThresholds">
4012         <item>0.1</item>
4013     </array>
4014
4015     <!-- See DisplayWhiteBalanceThrottler.
4016          The decrease threshold values, throttled if value > value * (1 - threshold). Must be
4017          non-empty, the same length as config_displayWhiteBalanceBaseThresholds, and contain
4018          non-negative numbers. -->
4019     <array name="config_displayWhiteBalanceDecreaseThresholds">
4020         <item>0.1</item>
4021     </array>
4022
4023     <!-- See DisplayWhiteBalanceController.
4024          The ambient brightness threshold (in lux) beneath which we fall back to a fixed ambient
4025          color temperature. -->
4026     <item name="config_displayWhiteBalanceLowLightAmbientBrightnessThreshold" format="float" type="dimen">10.0</item>
4027
4028     <!-- See DisplayWhiteBalanceController.
4029          The ambient color temperature (in cct) to which we fall back when the ambient brightness
4030          drops beneath a certain threshold. -->
4031     <item name="config_displayWhiteBalanceLowLightAmbientColorTemperature" format="float" type="dimen">6500.0</item>
4032
4033     <!-- See DisplayWhiteBalanceController.
4034          A float array containing a list of ambient color temperatures, in Kelvin. This array,
4035          together with config_displayWhiteBalanceDisplayColorTemperatures, is used to generate a
4036          lookup table used in DisplayWhiteBalanceController. This lookup table is used to map
4037          ambient color temperature readings to a target color temperature for the display.
4038          This table is optional. If used, this array must,
4039          1) Contain at least two entries
4040          2) Be the same length as config_displayWhiteBalanceDisplayColorTemperatures. -->
4041     <array name="config_displayWhiteBalanceAmbientColorTemperatures">
4042     </array>
4043
4044     <!-- See DisplayWhiteBalanceController.
4045          An array containing a list of display color temperatures, in Kelvin. See
4046          config_displayWhiteBalanceAmbientColorTemperatures for additional details.
4047          The same restrictions apply to this array. -->
4048     <array name="config_displayWhiteBalanceDisplayColorTemperatures">
4049     </array>
4050
4051     <!-- All of the paths defined for the batterymeter are defined on a 12x20 canvas, and must
4052      be parsable by android.utill.PathParser -->
4053     <string name="config_batterymeterPerimeterPath" translatable="false">
4054                 M3.5,2 v0 H1.33 C0.6,2 0,2.6 0,3.33 V13v5.67 C0,19.4 0.6,20 1.33,20 h9.33 C11.4,20 12,19.4 12,18.67 V13V3.33 C12,2.6 11.4,2 10.67,2 H8.5 V0 H3.5 z M2,18v-7V4h8v9v5H2L2,18z
4055     </string>
4056     <string name="config_batterymeterErrorPerimeterPath" translatable="false">@string/config_batterymeterPerimeterPath</string>
4057     <string name="config_batterymeterFillMask" translatable="false">
4058         M2,18 v-14 h8 v14 z
4059     </string>
4060     <string name="config_batterymeterBoltPath" translatable="false">
4061         M5,17.5 V12 H3 L7,4.5 V10 h2 L5,17.5 z
4062     </string>
4063     <string name="config_batterymeterPowersavePath" translatable="false">
4064         M9,10l-2,0l0,-2l-2,0l0,2l-2,0l0,2l2,0l0,2l2,0l0,-2l2,0z
4065     </string>
4066
4067     <!-- A dual tone battery meter draws the perimeter path twice - once to define the shape
4068      and a second time clipped to the fill level to indicate charge -->
4069     <bool name="config_batterymeterDualTone">false</bool>
4070
4071     <!-- The default peak refresh rate for a given device. Change this value if you want to allow
4072          for higher refresh rates to be automatically used out of the box -->
4073     <integer name="config_defaultPeakRefreshRate">60</integer>
4074
4075     <!-- The type of the light sensor to be used by the display framework for things like
4076          auto-brightness. If unset, then it just gets the default sensor of type TYPE_LIGHT. -->
4077     <string name="config_displayLightSensorType" translatable="false" />
4078
4079     <!-- Whether or not to enable automatic heap dumps for the system server on debuggable builds. -->
4080     <bool name="config_debugEnableAutomaticSystemServerHeapDumps">false</bool>
4081
4082     <!-- Trigger a heap dump if the system server pss usage exceeds this threshold. 400 MB -->
4083     <integer name="config_debugSystemServerPssThresholdBytes">419430400</integer>
4084
4085     <!-- See DropBoxManagerService.
4086          The minimum period in milliseconds between broadcasts for entries with low priority
4087          dropbox tags. -->
4088     <integer name="config_dropboxLowPriorityBroadcastRateLimitPeriod">2000</integer>
4089
4090     <!-- See DropBoxManagerService.
4091          An array of dropbox entry tags to marked as low priority. Low priority broadcasts will be
4092          rated limited to a period defined by config_dropboxLowPriorityBroadcastRateLimitPeriod
4093          (high frequency broadcasts for the tag will be dropped) -->
4094     <string-array name="config_dropboxLowPriorityTags" translatable="false">
4095         <item>data_app_strictmode</item>
4096         <item>data_app_wtf</item>
4097         <item>keymaster</item>
4098         <item>netstats</item>
4099         <item>system_app_strictmode</item>
4100         <item>system_app_wtf</item>
4101         <item>system_server_strictmode</item>
4102         <item>system_server_wtf</item>
4103     </string-array>
4104
4105     <!-- Which binder services to include in incident reports containing restricted images. -->
4106     <string-array name="config_restrictedImagesServices" translatable="false"/>
4107
4108     <!-- Messages that should not be shown to the user during face auth enrollment. This should be
4109          used to hide messages that may be too chatty or messages that the user can't do much about.
4110          Entries are defined in android.hardware.biometrics.face@1.0 types.hal -->
4111     <integer-array name="config_face_acquire_enroll_ignorelist" translatable="false" >
4112     </integer-array>
4113     <!-- Same as the above, but are defined by vendorCodes -->
4114     <integer-array name="config_face_acquire_vendor_enroll_ignorelist" translatable="false" >
4115     </integer-array>
4116
4117     <!-- Messages that should not be shown to the user during face authentication, on keyguard.
4118          This includes both lockscreen and bouncer. This should be used to hide messages that may be
4119          too chatty or messages that the user can't do much about. Entries are defined in
4120          android.hardware.biometrics.face@1.0 types.hal -->
4121     <integer-array name="config_face_acquire_keyguard_ignorelist" translatable="false" >
4122     </integer-array>
4123     <!-- Same as the above, but are defined by vendorCodes -->
4124     <integer-array name="config_face_acquire_vendor_keyguard_ignorelist" translatable="false" >
4125     </integer-array>
4126
4127     <!-- Messages that should not be shown to the user during face authentication, on
4128      BiometricPrompt. This should be used to hide messages that may be too chatty or messages that
4129      the user can't do much about. Entries are defined in
4130      android.hardware.biometrics.face@1.0 types.hal -->
4131     <integer-array name="config_face_acquire_biometricprompt_ignorelist" translatable="false" >
4132     </integer-array>
4133     <!-- Same as the above, but are defined by vendorCodes -->
4134     <integer-array name="config_face_acquire_vendor_biometricprompt_ignorelist" translatable="false" >
4135     </integer-array>
4136
4137     <!-- The component name for the default profile supervisor, which can be set as a profile owner
4138     even after user setup is complete. The defined component should be used for supervision purposes
4139     only. The component must be part of a system app. -->
4140     <string name="config_defaultSupervisionProfileOwnerComponent" translatable="false"></string>
4141
4142     <!-- Whether to artificially interpret all signal strengths as
4143          one bar higher than they actually are -->
4144     <bool name="config_inflateSignalStrength">false</bool>
4145
4146     <!-- Contains a blacklist of apps that should not get pre-installed carrier app permission
4147          grants, even if the UICC claims that the app should be privileged. See b/138150105 -->
4148     <string-array name="config_restrictedPreinstalledCarrierApps" translatable="false"/>
4149
4150     <!-- Sharesheet: define a max number of targets per application for new shortcuts-based direct share introduced in Q -->
4151     <integer name="config_maxShortcutTargetsPerApp">3</integer>
4152 </resources>