mirror of
https://github.com/Evolution-X-Devices/device_xiaomi_sapphire
synced 2026-01-27 18:16:34 +00:00
* The text 'TurboPower connected' will be displayed on keyguard instead of 'Charging Rapidly' Signed-off-by: Tony Jose <gmoto1179@gmail.com> Change-Id: I1afabade3bb7b32d8e36d521fa3d7abca9287c03
517 lines
26 KiB
XML
517 lines
26 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Copyright (C) 2023 The LineageOS Project
|
|
SPDX-License-Identifier: Apache-2.0
|
|
-->
|
|
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
|
|
|
<!-- 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 name="networkAttributes" translatable="false">
|
|
<item>wifi,1,1,1,-1,true</item>
|
|
<item>mobile,0,0,0,-1,true</item>
|
|
<item>mobile_mms,2,0,4,60000,true</item>
|
|
<item>mobile_supl,3,0,2,60000,true</item>
|
|
<item>mobile_dun,4,0,2,60000,true</item>
|
|
<item>mobile_hipri,5,0,3,60000,true</item>
|
|
<item>mobile_fota,10,0,2,60000,true</item>
|
|
<item>mobile_ims,11,0,2,60000,true</item>
|
|
<item>mobile_cbs,12,0,2,60000,true</item>
|
|
<item>bluetooth,7,7,2,-1,true</item>
|
|
<item>mobile_emergency,15,0,5,-1,true</item>
|
|
<item>ethernet,9,9,9,-1,true</item>
|
|
</string-array>
|
|
|
|
<!-- An Array of "[ConnectivityManager connectionType],
|
|
[# simultaneous connection types]" -->
|
|
<string-array name="radioAttributes" translatable="false">
|
|
<item>1,1</item>
|
|
<item>0,1</item>
|
|
<item>7,1</item>
|
|
</string-array>
|
|
|
|
<!-- This setting is deprecated, please use
|
|
com.android.networkstack.tethering.R.array.config_tether_usb_regexs instead. -->
|
|
<string-array name="config_tether_usb_regexs" translatable="false">
|
|
<item>usb\\d</item>
|
|
<item>rndis\\d</item>
|
|
</string-array>
|
|
|
|
<!-- This setting is deprecated, please use
|
|
com.android.networkstack.tethering.R.array.config_tether_wifi_regexs instead. -->
|
|
<string-array name="config_tether_wifi_regexs" translatable="false">
|
|
<item>softap0</item>
|
|
<item>wlan0</item>
|
|
</string-array>
|
|
|
|
<!-- This setting is deprecated, please use
|
|
com.android.networkstack.tethering.R.array.config_tether_bluetooth_regexs instead. -->
|
|
<string-array name="config_tether_bluetooth_regexs" translatable="false">
|
|
<item>bnep\\d</item>
|
|
<item>bt-pan</item>
|
|
</string-array>
|
|
|
|
<!-- This setting is deprecated, please use
|
|
com.android.networkstack.tethering.R.array.config_dhcp_range instead. -->
|
|
<string-array name="config_tether_dhcp_range" translatable="false">
|
|
<item>192.168.42.2</item>
|
|
<item>192.168.42.254</item>
|
|
<item>192.168.43.2</item>
|
|
<item>192.168.43.254</item>
|
|
<item>192.168.44.2</item>
|
|
<item>192.168.44.254</item>
|
|
<item>192.168.45.2</item>
|
|
<item>192.168.45.254</item>
|
|
<item>192.168.46.2</item>
|
|
<item>192.168.46.254</item>
|
|
<item>192.168.47.2</item>
|
|
<item>192.168.47.254</item>
|
|
<item>192.168.48.2</item>
|
|
<item>192.168.48.254</item>
|
|
<item>192.168.49.2</item>
|
|
<item>192.168.49.254</item>
|
|
<item>192.168.50.2</item>
|
|
<item>192.168.50.254</item>
|
|
<item>192.168.51.2</item>
|
|
<item>192.168.51.254</item>
|
|
</string-array>
|
|
|
|
<!-- This setting is deprecated, please use
|
|
com.android.networkstack.tethering.R.array.config_tether_upstream_types. -->
|
|
<integer-array name="config_tether_upstream_types" translatable="false">
|
|
<item>0</item>
|
|
<item>1</item>
|
|
<item>5</item>
|
|
<item>7</item>
|
|
</integer-array>
|
|
|
|
<!-- Flag indicating whether we should enable the automatic brightness.
|
|
Software implementation will be used if config_hardware_auto_brightness_available is not set -->
|
|
<bool name="config_automatic_brightness_available">true</bool>
|
|
|
|
<!-- If this is true, the screen will come on when you unplug usb/power/whatever. -->
|
|
<bool name="config_unplugTurnsOnScreen">true</bool>
|
|
|
|
<!-- Boolean indicating whether the HWC setColorTransform function can be performed efficiently
|
|
in hardware. -->
|
|
<bool name="config_setColorTransformAccelerated">true</bool>
|
|
|
|
<!-- List supported color modes. -->
|
|
<integer-array name="config_availableColorModes">
|
|
<item>0</item> <!-- COLOR_MODE_NATURAL -->
|
|
<item>1</item> <!-- COLOR_MODE_BOOSTED -->
|
|
<item>2</item> <!-- COLOR_MODE_SATURATED -->
|
|
<item>3</item> <!-- COLOR_MODE_AUTOMATIC -->
|
|
</integer-array>
|
|
|
|
<!-- Color mode to use when accessibility transforms are enabled. This color mode must be
|
|
supported by the device, but not necessarily appear in config_availableColorModes. The
|
|
regularly selected color mode will be used if this value is negative. -->
|
|
<integer name="config_accessibilityColorMode">2</integer>
|
|
|
|
<!-- The following two arrays specify which color space to use for display composition when a
|
|
certain color mode is active.
|
|
Composition color spaces are defined in android.view.Display.COLOR_MODE_xxx, and color
|
|
modes are defined in ColorDisplayManager.COLOR_MODE_xxx and
|
|
ColorDisplayManager.VENDOR_COLOR_MODE_xxx.
|
|
The color space COLOR_MODE_DEFAULT (0) lets the system select the most appropriate
|
|
composition color space for currently displayed content. Other values (e.g.,
|
|
COLOR_MODE_SRGB) override system selection; these other color spaces must be supported by
|
|
the device for for display composition.
|
|
If a color mode does not have a corresponding color space specified in this array, the
|
|
currently set composition color space will not be modified.-->
|
|
<integer-array name="config_displayCompositionColorModes">
|
|
<item>0</item> <!-- COLOR_MODE_NATURAL -->
|
|
<item>1</item> <!-- COLOR_MODE_BOOSTED -->
|
|
<item>2</item> <!-- COLOR_MODE_SATURATED -->
|
|
<item>3</item> <!-- COLOR_MODE_AUTOMATIC -->
|
|
</integer-array>
|
|
|
|
<integer-array name="config_displayCompositionColorSpaces">
|
|
<item>0</item> <!-- COLOR_MODE_DEFAULT -->
|
|
<item>0</item> <!-- COLOR_MODE_DEFAULT -->
|
|
<item>0</item> <!-- COLOR_MODE_DEFAULT -->
|
|
<item>0</item> <!-- COLOR_MODE_DEFAULT -->
|
|
</integer-array>
|
|
|
|
<!-- Is the device capable of hot swapping an UICC Card -->
|
|
<bool name="config_hotswapCapable">true</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">17</integer>
|
|
|
|
<!-- The restoring is handled by modem if it is true-->
|
|
<bool name="skip_restoring_network_selection" translatable="false">true</bool>
|
|
|
|
<!-- MMS user agent string -->
|
|
<string name="config_mms_user_agent" translatable="false">Android-Mms/2.0</string>
|
|
|
|
<!-- MMS user agent prolfile url -->
|
|
<string name="config_mms_user_agent_profile_url" translatable="false">http://www.google.com/oha/rdf/ua-profile-kila.xml</string>
|
|
|
|
<!-- Whether a software navigation bar should be shown. NOTE: in the future this may be
|
|
autodetected from the Configuration. -->
|
|
<bool name="config_showNavigationBar">true</bool>
|
|
|
|
<!-- ComponentName of a dream to show whenever the system would otherwise have
|
|
gone to sleep. When the PowerManager is asked to go to sleep, it will instead
|
|
try to start this dream if possible. The dream should typically call startDozing()
|
|
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" translatable="false">com.android.systemui/com.android.systemui.doze.DozeService</string>
|
|
|
|
<!-- 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>
|
|
|
|
<!-- Power Management: Specifies whether to decouple the interactive state of the
|
|
device from the display on/off state.
|
|
|
|
When false, setInteractive(..., true) will be called before the display is turned on
|
|
and setInteractive(..., false) will be called after the display is turned off.
|
|
This mode provides best compatibility for devices that expect the interactive
|
|
state to be tied to the display state.
|
|
|
|
When true, setInteractive(...) will be called independently of whether the display
|
|
is being turned on or off. This mode enables the power manager to reduce
|
|
clocks and disable the touch controller while the display is on.
|
|
|
|
This resource should be set to "true" when a doze component has been specified
|
|
to maximize power savings but not all devices support it.
|
|
|
|
Refer to power.h for details.
|
|
-->
|
|
<bool name="config_powerDecoupleInteractiveModeFromDisplay">false</bool>
|
|
|
|
<!-- Set to true to add links to Cell Broadcast app from Settings and MMS app. -->
|
|
<bool name="config_cellBroadcastAppLinks">true</bool>
|
|
|
|
<!-- Maximum number of supported users -->
|
|
<integer name="config_multiuserMaximumUsers">4</integer>
|
|
|
|
<!-- Whether UI for multi user should be shown -->
|
|
<bool name="config_enableMultiUserUI">true</bool>
|
|
|
|
<!-- Safe headphone volume index. When music stream volume is below this index
|
|
the SPL on headphone output is compliant to EN 60950 requirements for portable music
|
|
players. -->
|
|
<integer name="config_safe_media_volume_index">100</integer>
|
|
|
|
<!-- 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.
|
|
|
|
This is deprecated. Please use config_mobile_tcp_buffers for rat-based TCP buffers sizes or
|
|
config_tcp_buffers for rat-independent TCP buffer sizes.
|
|
-->
|
|
<string-array name="config_mobile_tcp_buffers">
|
|
<item>5gnr:2097152,6291456,16777216,512000,2097152,8388608</item>
|
|
<item>lte:2097152,4194304,8388608,262144,524288,1048576</item>
|
|
<item>lte_ca:4096,6291456,12582912,4096,1048576,2097152</item>
|
|
<item>umts:4094,87380,1220608,4096,16384,1220608</item>
|
|
<item>hspa:4094,87380,1220608,4096,16384,1220608</item>
|
|
<item>hsupa:4094,87380,1220608,4096,16384,1220608</item>
|
|
<item>hsdpa:4094,87380,1220608,4096,16384,1220608</item>
|
|
<item>hspap:4094,87380,1220608,4096,16384,1220608</item>
|
|
<item>edge:4093,26280,35040,4096,16384,35040</item>
|
|
<item>gprs:4092,8760,11680,4096,8760,11680</item>
|
|
<item>evdo:4094,87380,524288,4096,16384,262144</item>
|
|
</string-array>
|
|
|
|
<!-- Configure tcp buffer sizes per network type in the form:
|
|
network-type:rmem_min,rmem_def,rmem_max,wmem_min,wmem_def,wmem_max
|
|
|
|
The network-type must be a valid DataConfigNetworkType value. If no value is found for the
|
|
network-type in use, config_tcp_buffers will be used instead.
|
|
-->
|
|
<string-array name="config_network_type_tcp_buffers">
|
|
<item>NR_SA_MMWAVE:2097152,6291456,16777216,512000,2097152,8388608</item>
|
|
<item>NR_SA:2097152,6291456,16777216,512000,2097152,8388608</item>
|
|
<item>NR_NSA_MMWAVE:2097152,6291456,16777216,512000,2097152,8388608</item>
|
|
<item>NR_NSA:2097152,6291456,16777216,512000,2097152,8388608</item>
|
|
<item>LTE:2097152,4194304,8388608,262144,524288,1048576</item>
|
|
<item>LTE_CA:4096,6291456,12582912,4096,1048576,2097152</item>
|
|
<item>UMTS:4094,87380,1220608,4096,16384,1220608</item>
|
|
<item>HSPA:4094,87380,1220608,4096,16384,1220608</item>
|
|
<item>HSUPA:4094,87380,1220608,4096,16384,1220608</item>
|
|
<item>HSDPA:4094,87380,1220608,4096,16384,1220608</item>
|
|
<item>HSPA+:4094,87380,1220608,4096,16384,1220608</item>
|
|
<item>EDGE:4093,26280,35040,4096,16384,35040</item>
|
|
<item>GPRS:4092,8760,11680,4096,8760,11680</item>
|
|
<item>EvDo_0:4094,87380,524288,4096,16384,262144</item>
|
|
<item>EvDo_A:4094,87380,524288,4096,16384,262144</item>
|
|
<item>EvDo_B:4094,87380,524288,4096,16384,262144</item>
|
|
</string-array>
|
|
|
|
<!-- Set to true if the wifi display supports compositing content stored
|
|
in gralloc protected buffers. For this to be true, there must exist
|
|
a protected hardware path for surface flinger to composite and send
|
|
protected buffers to the wifi display video encoder.
|
|
|
|
If this flag is false, we advise applications not to use protected
|
|
buffers (if possible) when presenting content to a wifi display because
|
|
the content may be blanked.
|
|
|
|
This flag controls whether the {@link Display#FLAG_SUPPORTS_PROTECTED_BUFFERS}
|
|
flag is set for wifi displays.
|
|
-->
|
|
<bool name="config_wifiDisplaySupportsProtectedBuffers">true</bool>
|
|
|
|
<!-- Whether camera shutter sound is forced or not (country specific). -->
|
|
<bool name="config_camera_sound_forced">false</bool>
|
|
|
|
<!-- Flag indicating if the speed up audio on mt call code should be executed -->
|
|
<bool name="config_speed_up_audio_on_mt_calls">true</bool>
|
|
|
|
<!-- set to false if we need to show user confirmation
|
|
when alpha identifier is not provided by the UICC -->
|
|
<bool name="config_stkNoAlphaUsrCnf">false</bool>
|
|
|
|
<!-- Flag indicating which package name can access the persistent data partition -->
|
|
<string name="config_persistentDataPackageName" translatable="false">com.google.android.gms</string>
|
|
|
|
<!-- Define optional package verifier name -->
|
|
<string name="config_optionalPackageVerifierName" translatable="false">seemp.service</string>
|
|
|
|
<!-- Flag specifying whether VoLTE is available on device -->
|
|
<bool name="config_device_volte_available">true</bool>
|
|
|
|
<!-- Flag specifying whether VoLTE should be available for carrier: independent of
|
|
carrier provisioning. If false: hard disabled. If true: then depends on carrier
|
|
provisioning, availability etc -->
|
|
<bool name="config_carrier_volte_available">true</bool>
|
|
|
|
<!-- Flag specifying whether VT is available on device -->
|
|
<bool name="config_device_vt_available">true</bool>
|
|
|
|
<!-- Flag specifying whether WFC over IMS is available on device -->
|
|
<bool name="config_device_wfc_ims_available">true</bool>
|
|
|
|
<!-- Config determines whether to update phone object when voice registration
|
|
state changes. Voice radio tech change will always trigger an update of
|
|
phone object irrespective of this config -->
|
|
<bool name="config_switch_phone_on_voice_reg_state_change">false</bool>
|
|
|
|
<!--The default "usage setting" indicating that the device is either a voice-centric
|
|
device (1) or a data-centric device (2). A voice-centric device will require that any cellular
|
|
service that it uses provides access to voice capability, and a data-centric device will
|
|
likewise require that the network provides access to data services. These settings are
|
|
sent to the cellular modem and control the behavior in accordance with 3gpp TS 24.301 sec 4.3
|
|
(and equivalent functionality in other generations of cellular).-->
|
|
<integer name="config_default_cellular_usage_setting">-1</integer>
|
|
|
|
<!-- Whether the Unprocessed audio source supports the required frequency range and level -->
|
|
<bool name="config_supportAudioSourceUnprocessed">false</bool>
|
|
|
|
<!-- The display uses different gamma curves for different refresh rates. It's hard for panel
|
|
vendor to tune the curves to have exact same brightness for different refresh rate. So
|
|
flicker could be observed at switch time. The issue is worse at the gamma lower end.
|
|
In addition, human eyes are more sensitive to the flicker at darker environment.
|
|
To prevent flicker, we only support higher refresh rates if the display brightness is above
|
|
a threshold. And the darker environment could have higher threshold.
|
|
For example, no higher refresh rate if
|
|
display brightness <= disp0 && ambient brightness <= amb0
|
|
|| display brightness <= disp1 && ambient brightness <= amb1 -->
|
|
<integer-array name="config_brightnessThresholdsOfPeakRefreshRate">
|
|
<item>10</item> <!-- 33% UI brightness -->
|
|
<item>14</item> <!-- 40% UI brightness -->
|
|
</integer-array>
|
|
<integer-array name="config_ambientThresholdsOfPeakRefreshRate">
|
|
<item>-1</item>
|
|
<item>20</item>
|
|
</integer-array>
|
|
|
|
<!-- Default refresh rate in the zone defined by brightness and ambient thresholds.
|
|
If non-positive, then the refresh rate is unchanged even if thresholds are configured. -->
|
|
<integer name="config_defaultRefreshRateInZone">120</integer>
|
|
|
|
<!-- Vibrator pattern for feedback about a long screen/key press -->
|
|
<integer-array name="config_longPressVibePattern">
|
|
<item>0</item>
|
|
<item>1</item>
|
|
<item>20</item>
|
|
<item>21</item>
|
|
</integer-array>
|
|
|
|
<!-- Vibrator pattern for feedback about touching a virtual key -->
|
|
<integer-array name="config_virtualKeyVibePattern">
|
|
<item>0</item>
|
|
<item>10</item>
|
|
<item>20</item>
|
|
<item>30</item>
|
|
</integer-array>
|
|
|
|
<!-- Vibrator pattern for feedback when selecting an hour/minute tick of a Clock -->
|
|
<integer-array name="config_clockTickVibePattern">
|
|
<item>125</item>
|
|
<item>30</item>
|
|
</integer-array>
|
|
|
|
<!-- Vibrator pattern for feedback when selecting a day/month/year date of a Calendar -->
|
|
<integer-array name="config_calendarDateVibePattern">
|
|
<item>125</item>
|
|
<item>30</item>
|
|
</integer-array>
|
|
|
|
<!-- Vibrator pattern for feedback about booting with safe mode enabled -->
|
|
<integer-array name="config_safeModeEnabledVibePattern">
|
|
<item>0</item>
|
|
<item>1</item>
|
|
<item>20</item>
|
|
<item>21</item>
|
|
<item>500</item>
|
|
<item>600</item>
|
|
</integer-array>
|
|
|
|
<!-- Vibrator pattern for feedback about hitting a scroll barrier -->
|
|
<integer-array name="config_scrollBarrierVibePattern">
|
|
<item>0</item>
|
|
<item>15</item>
|
|
<item>10</item>
|
|
<item>10</item>
|
|
</integer-array>
|
|
|
|
<!-- The default intensity level for haptic feedback. See
|
|
Settings.System.HAPTIC_FEEDBACK_INTENSITY more details on the constant values and
|
|
meanings. -->
|
|
<integer name="config_defaultHapticFeedbackIntensity">3</integer>
|
|
|
|
<!-- The default intensity level for notification vibrations. See
|
|
Settings.System.NOTIFICATION_VIBRATION_INTENSITY more details on the constant values and
|
|
meanings. -->
|
|
<integer name="config_defaultNotificationVibrationIntensity">3</integer>
|
|
|
|
<!-- The default intensity level for notification vibrations. See
|
|
Settings.System.RING_VIBRATION_INTENSITY more details on the constant values and
|
|
meanings. -->
|
|
<integer name="config_defaultRingVibrationIntensity">3</integer>
|
|
|
|
<!-- Whether the device enable the standalone (SA) mode of 5G NR.-->
|
|
<bool name="config_telephony5gStandalone">true</bool>
|
|
|
|
<!-- Whether the device enable the non-standalone (NSA) mode of 5G NR.-->
|
|
<bool name="config_telephony5gNonStandalone">true</bool>
|
|
|
|
<!-- Whether to select voice/data/sms preference without user confirmation -->
|
|
<bool name="config_voice_data_sms_auto_fallback">true</bool>
|
|
|
|
<!-- Whether to adopt the predefined handover policies for IWLAN.
|
|
{@see CarrierConfigManager#KEY_IWLAN_HANDOVER_POLICY_STRING_ARRAY}
|
|
-->
|
|
<bool name="config_enable_iwlan_handover_policy">false</bool>
|
|
|
|
<!-- IWLAN data service package name to bind to by default. If none is specified in an overlay,
|
|
an empty string is passed in -->
|
|
<string name="config_wlan_data_service_package" translatable="false">vendor.qti.iwlan</string>
|
|
|
|
<!-- IWLAN network service package name to bind to by default. If none is specified in an
|
|
overlay, an empty string is passed in -->
|
|
<string name="config_wlan_network_service_package" translatable="false">vendor.qti.iwlan</string>
|
|
|
|
<!-- Telephony qualified networks service package name to bind to by default. -->
|
|
<string name="config_qualified_networks_service_package" translatable="false">vendor.qti.iwlan</string>
|
|
|
|
<!-- Whether enhanced IWLAN handover check is enabled. If enabled, telephony frameworks
|
|
will not perform handover if the target transport is out of service, or VoPS not
|
|
supported. The network will be torn down on the source transport, and will be
|
|
re-established on the target transport when condition is allowed for bringing up a
|
|
new network. -->
|
|
<bool name="config_enhanced_iwlan_handover_check">false</bool>
|
|
|
|
<!-- If this is true, the screen will fade off. -->
|
|
<bool name="config_animateScreenLights">false</bool>
|
|
|
|
<!-- Whether to enable Lineage Health Service -->
|
|
<bool name="config_lineageHealthSupported">true</bool>
|
|
|
|
<!-- Whether WiFi display is supported by this device.
|
|
There are many prerequisites for this feature to work correctly.
|
|
Here are a few of them:
|
|
* The WiFi radio must support WiFi P2P.
|
|
* The WiFi radio must support concurrent connections to the WiFi display and
|
|
to an access point.
|
|
* The Audio Flinger audio_policy.conf file must specify a rule for the "r_submix"
|
|
remote submix module. This module is used to record and stream system
|
|
audio output to the WiFi display encoder in the media server.
|
|
* The remote submix module "audio.r_submix.default" must be installed on the device.
|
|
* The device must be provisioned with HDCP keys (for protected content).
|
|
-->
|
|
<bool name="config_enableWifiDisplay">true</bool>
|
|
|
|
<!-- If true, the display will be shifted around in ambient mode. -->
|
|
<bool name="config_enableBurnInProtection">true</bool>
|
|
|
|
<!-- If not empty, sets the AVC codec profile level used for the internal screen recorder.
|
|
Possible values: 3, 3.1, 3.2, 4, 4.1, 4.2
|
|
-->
|
|
<string name="config_screenRecorderAVCProfileLevel" translatable="false">3.1</string>
|
|
|
|
<!-- Flag indicating whether the surface flinger is inefficient
|
|
at performing a blur. Used by parts of the UI to turn off
|
|
the blur effect where it isn't worth the performance hit.
|
|
As of Honeycomb, blurring is not supported anymore. -->
|
|
<bool name="config_sf_slowBlur">false</bool>
|
|
|
|
<!-- The default journal mode to use use when Write-Ahead Logging is not active.
|
|
Choices are: OFF, DELETE, TRUNCATE, PERSIST and MEMORY.
|
|
PERSIST may improve performance by reducing how often journal blocks are
|
|
reallocated (compared to truncation) resulting in better data block locality
|
|
and less churn of the storage media.
|
|
The PERSIST mode results in data persisting in the journal beyond the life of
|
|
a transaction, so it interacts poorly with SECURE_DELETE. -->
|
|
<string name="db_default_journal_mode" translatable="false">MEMORY</string>
|
|
|
|
<!-- The database synchronization mode when using the default journal mode.
|
|
FULL is safest and preserves durability at the cost of extra fsyncs.
|
|
NORMAL also preserves durability in non-WAL modes and uses checksums to ensure
|
|
integrity although there is a small chance that an error might go unnoticed.
|
|
Choices are: FULL, NORMAL, OFF. -->
|
|
<string name="db_default_sync_mode" translatable="false">OFF</string>
|
|
|
|
<!-- The database synchronization mode when using Write-Ahead Logging.
|
|
From https://www.sqlite.org/pragma.html#pragma_synchronous:
|
|
WAL mode is safe from corruption with synchronous=NORMAL, and probably DELETE mode is safe
|
|
too on modern filesystems. WAL mode is always consistent with synchronous=NORMAL, but WAL
|
|
mode does lose durability. A transaction committed in WAL mode with
|
|
synchronous=NORMAL might roll back following a power loss or system crash.
|
|
Transactions are durable across application crashes regardless of the synchronous setting
|
|
or journal mode. The synchronous=NORMAL setting is a good choice for most applications
|
|
running in WAL mode.
|
|
Choices are: FULL, NORMAL, OFF. -->
|
|
<string name="db_wal_sync_mode" translatable="false">OFF</string>
|
|
|
|
<!-- Flag indicating whether the surfaceflinger has limited
|
|
alpha compositing functionality in hardware. If set, the window
|
|
manager will disable alpha trasformation in animations where not
|
|
strictly needed. -->
|
|
<bool name="config_sf_limitedAlpha">true</bool>
|
|
|
|
<!-- Enables or disables fading edges when marquee is enabled in TextView.
|
|
Off by default, since the framebuffer readback used to implement the
|
|
fading edges is prohibitively expensive on most GPUs. -->
|
|
<bool name="config_ui_enableFadingMarquee">true</bool>
|
|
|
|
<!-- Determines whether the shell features all run on another thread. This is to be overrided
|
|
by the resources of the app using the Shell library. -->
|
|
<bool name="config_enableShellMainThread">true</bool>
|
|
|
|
<string-array name="configs_base">
|
|
<!-- ART heap compaction for cached apps -->
|
|
<item>activity_manager/use_compaction=true</item>
|
|
|
|
<!-- Allow more cached apps in the background -->
|
|
<item>activity_manager/max_cached_processes=64</item>
|
|
</string-array>
|
|
|
|
<!-- Whether device has Turbo power charging support -->
|
|
<bool name="config_hasTurboPowerCharger">true</bool>
|
|
</resources>
|