<!-- These resources are around just to allow their values to be customized
for different hardware and product builds. -->
<resources>
-
<!-- This string array should be overridden by the device to present a list of radio
attributes. This is used by the connectivity manager to decide which networks can coexist
based on the hardware -->
<!-- BLUETOOTH -->
<item>"7,1"</item>
</string-array>
-
- <!-- Power Management: Specifies whether to decouple the interactive state of the
- device from the display on/off state. -->
- <bool name="config_powerDecoupleInteractiveModeFromDisplay">false</bool>
- <!-- Screen brightness used to dim the screen while dozing in a very low power state.
- May be less than the minimum allowed brightness setting
- that can be set by the user. -->
- <integer name="config_screenBrightnessDoze">1</integer>
-
- <!-- If true, the doze component is not started until after the screen has been
+ <!-- If true, the doze component is not started until after the screen has been
turned off and the screen off animation has been performed. -->
<bool name="config_dozeAfterScreenOffByDefault">true</bool>
to put the display into a low power state and allow the application processor
to be suspended. When the dream ends, the system will go to sleep as usual.
Specify the component name or an empty string if none.
+
Note that doze dreams are not subject to the same start conditions as ordinary dreams.
Doze dreams will run whenever the power manager is in a dozing state. -->
<string name="config_dozeComponent">com.android.systemui/com.android.systemui.doze.DozeService</string>
The default is false. -->
<bool name="config_lidControlsSleep">true</bool>
- <!-- Flag specifying whether VoLTE TTY is supported -->
- <bool name="config_carrier_volte_tty_supported">true</bool>
-
<!-- Configure mobile tcp buffer sizes in the form:
rat-name:rmem_min,rmem_def,rmem_max,wmem_min,wmem_def,wmem_max
If no value is found for the rat-name in use, the system default will be applied.
<item>hspap:4094,87380,1220608,4096,16384,1220608</item>
</string-array>
- <!-- Configure wifi tcp buffersizes in the form:
- rmem_min,rmem_def,rmem_max,wmem_min,wmem_def,wmem_max -->
- <string name="config_wifi_tcp_buffers" translatable="false">524288,1048576,2097152,262144,524288,1048576</string>
-
<!-- Flag indicating which package name can access the persistent data partition -->
<string name="config_persistentDataPackageName" translatable="false">com.google.android.gms</string>
before automatically restore the default connection. Set -1 if the connection
does not require auto-restore. -->
<!-- the 6th element indicates boot-time dependency-met value. -->
+ <!-- NOTE: The telephony module is no longer reading the configuration below for available
+ APN types. The set of APN types and relevant settings are specified within the telephony
+ module and are non-configurable. Whether or not data connectivity over a cellular network
+ is available at all is controlled by the flag: config_moble_data_capable. -->
<string-array translatable="false" name="networkAttributes">
<item>wifi,1,1,1,-1,true</item>
<item>mobile,0,0,0,-1,true</item>
<item>wifi_p2p,13,1,0,-1,true</item>
<item>mobile_ia,14,0,2,-1,true</item>
<item>mobile_emergency,15,0,2,-1,true</item>
- <item>mobile_bip,23,0,2,60000,true</item>
- <item>mobile_cas,24,0,3,60000,true</item>
- <item>mobile_xcap,27,0,2,60000,true</item>
- <item>mobile_ent1,28,0,2,-1,true</item>
</string-array>
<!-- Flag indicating whether we should enable the automatic brightness in Settings.
Software implementation will be used if config_hardware_auto_brightness_available is not set -->
<bool name="config_automatic_brightness_available">true</bool>
- <!-- The default iface on which to monitor data use -->
- <string name="config_datause_iface" translatable="false">rmnet0</string>
-
<!-- Stability requirements in milliseconds for accepting a new brightness level. This is used
for debouncing the light sensor. Different constants are used to debounce the light sensor
when adapting to brighter or darker environments. This parameter controls how quickly
<integer name="config_autoBrightnessBrighteningLightDebounce">2000</integer>
<integer name="config_autoBrightnessDarkeningLightDebounce">4000</integer>
- <!-- Array of light sensor LUX values to define our levels for auto backlight brightness support.
- The N entries of this array define N 1 zones as follows:
- Zone 0: 0 <= LUX < array[0]
- Zone 1: array[0] <= LUX < array[1]
+ <!-- Array of light sensor lux values to define our levels for auto backlight brightness support.
+ The N entries of this array define N + 1 control points as follows:
+ (1-based arrays)
+
+ Point 1: (0, value[1]): lux <= 0
+ Point 2: (level[1], value[2]): 0 < lux <= level[1]
+ Point 3: (level[2], value[3]): level[2] < lux <= level[3]
...
- Zone N: array[N - 1] <= LUX < array[N]
- Zone N + 1 array[N] <= LUX < infinity
+ Point N+1: (level[N], value[N+1]): level[N] < lux
+
+ The control points must be strictly increasing. Each control point
+ corresponds to an entry in the brightness backlight values arrays.
+ For example, if lux == level[1] (first element of the levels array)
+ then the brightness will be determined by value[2] (second element
+ of the brightness values array).
+
+ Spline interpolation is used to determine the auto-brightness
+ backlight values for lux levels between these control points.
+
Must be overridden in platform specific overlays -->
<integer-array name="config_autoBrightnessLevels">
<item>9</item>
for different hardware and product builds. -->
<string name="config_radio_access_family">GSM | WCDMA | LTE</string>
- <!-- Boolean indicating whether the wifi chipset has dual frequency band support -->
- <bool translatable="false" name="config_wifi_dual_band_support">false</bool>
-
- <!-- Boolean indicating whether the wifi chipset has background scan support -->
- <bool translatable="false" name="config_wifi_background_scan_support">true</bool>
-
- <!-- Wifi driver supports batched scan -->
- <bool translatable="false" name="config_wifi_batched_scan_supported">false</bool>
-
- <!-- Indicate whether the SD card is accessible without removing the battery. -->
- <bool name="config_batterySdCardAccessibility">true</bool>
-
- <!-- Display low battery warning when battery level dips to this value.
- Also, the battery stats are flushed to disk when we hit this level. -->
- <integer name="config_criticalBatteryWarningLevel">10</integer>
-
- <!-- Display low battery warning when battery level dips to this value -->
- <integer name="config_lowBatteryWarningLevel">20</integer>
-
- <!-- Shutdown if the battery temperature exceeds (this value * 0.1) Celsius. -->
- <integer name="config_shutdownBatteryTemperature">600</integer>
-
- <!-- Minimum allowable screen brightness to use in a very dark room.
- This value sets the floor for the darkest possible auto-brightness
- adjustment. It is expected to be somewhat less than the first entry in
- config_autoBrightnessLcdBacklightValues so as to allow the user to have
- some range of adjustment to dim the screen further than usual in very
- dark rooms. The contents of the screen must still be clearly visible
- in darkness (although they may not be visible in a bright room). -->
- <integer name="config_screenBrightnessDark">1</integer>
-
<!-- Slow brightness animation ramp rate in brightness units per second-->
<integer translatable="false" name="config_brightness_ramp_rate_slow">80</integer>
- <!-- Light sensor event rate in milliseconds for automatic brightness control. -->
- <integer name="config_autoBrightnessLightSensorRate">250</integer>
-
<!-- Initial light sensor event rate in milliseconds for automatic brightness control. This is
used for obtaining the first light sample when the device stops dozing.
Set this to 0 to disable this feature. -->
<integer name="config_autoBrightnessInitialLightSensorRate">250</integer>
- <!-- Period of time in which to consider light samples in milliseconds. -->
- <integer name="config_autoBrightnessAmbientLightHorizon">5000</integer>
-
- <!-- Amount of time it takes for the light sensor to warm up in milliseconds.
- For this time after the screen turns on, the Power Manager
- will not debounce light sensor readings -->
- <integer name="config_lightSensorWarmupTime">0</integer>
-
<!-- Allow automatic adjusting of the screen brightness while dozing in low power state. -->
<bool name="config_allowAutoBrightnessWhileDozing">true</bool>
<!-- Boolean indicating if current platform supports BLE peripheral mode -->
<bool name="config_bluetooth_le_peripheral_mode_supported">true</bool>
- <!-- reference volume index for music stream to limit headphone volume and display warning -->
- <integer name="config_safe_media_volume_index">10</integer>
</resources>
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2015 The CyanogenMod Project
+ 2017-2021 The LineageOS Project
+
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
+
http://www.apache.org/licenses/LICENSE-2.0
+
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
limitations under the License.
-->
<resources>
-
<!-- Default value for proximity check on screen wake
NOTE ! - Enable for devices that have a fast response proximity sensor (ideally < 300ms)-->
<bool name="config_proximityCheckOnWake">true</bool>
<integer name="config_proximityCheckTimeout">400</integer>
- <bool name="config_proximityCheckOnWakeEnabledByDefault">false</bool>
<!-- Color temperature settings for LiveDisplay. These were obtained by
measuring the display at various color balance levels. -->
<integer name="config_minColorTemperature">1900</integer>
<integer name="config_maxColorTemperature">25000</integer>
- <!-- Corresponds to color balance level of zero, this is the native
- display temperature -->
- <integer name="config_dayColorTemperature">6500</integer>
- <integer name="config_nightColorTemperature">4800</integer>
-
<!-- Ambient lux at which to enable outdoor mode when LiveDisplay is enabled -->
<integer name="config_outdoorAmbientLux">10000</integer>
<integer name="config_outdoorAmbientLuxHysteresis">1000</integer>
- <!-- BurnIn protection. This should be enabled on devices that have OLED displays -->
- <bool name="config_enableBurnInProtection">true</bool>
-
<!-- All the capabilities of the LEDs on this device, stored as a bit field.
This integer should equal the sum of the corresponding value for each
of the following capabilities present:
pulsating and RGB control would set this config to 75. -->
<integer name="config_deviceLightCapabilities">0</integer>
- <!-- Disable LiveDisplay by default -->
- <integer name="config_defaultLiveDislayMode">0</integer>
-
<!-- Hardware keys present on the device, stored as a bit field.
This integer should equal the sum of the corresponding value for each
of the following keys present: