201 lines
8.9 KiB
XML
201 lines
8.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
/*
|
|
** Copyright 2011, The Android Open Source Project
|
|
** Copyright 2017-2019, 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.
|
|
** See the License for the specific language governing permissions and
|
|
** limitations under the License.
|
|
*/
|
|
-->
|
|
|
|
<!-- These resources are around just to allow their values to be customized
|
|
for different hardware and product builds. -->
|
|
<resources>
|
|
|
|
<bool name="config_deskDockEnablesAccelerometer">false</bool>
|
|
|
|
<!-- 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">false</bool>
|
|
|
|
<!-- Minimum screen brightness allowed by the power manager. -->
|
|
<integer name="config_screenBrightnessDim">2</integer>
|
|
|
|
<!-- Screen brightness when dozing. -->
|
|
<integer name="config_screenBrightnessDoze">17</integer>
|
|
|
|
<!-- Dream of notifications -->
|
|
<string name="config_dozeComponent">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>
|
|
|
|
<!-- Whether the display blanks itself when transitioning from a doze to a non-doze state -->
|
|
<bool name="config_displayBlanksAfterDoze">true</bool>
|
|
|
|
<!-- Default screen brightness setting.
|
|
Must be in the range specified by minimum and maximum. -->
|
|
<integer name="config_screenBrightnessSettingDefault">102</integer>
|
|
|
|
<!-- Minimum screen brightness setting allowed by the power manager.
|
|
The user is forbidden from setting the brightness below this level. -->
|
|
<integer name="config_screenBrightnessSettingMinimum">24</integer>
|
|
|
|
<!-- Maximum screen brightness allowed by the power manager.
|
|
The user is forbidden from setting the brightness above this level. -->
|
|
<integer name="config_screenBrightnessSettingMaximum">255</integer>
|
|
|
|
<!-- XXXXX NOTE THE FOLLOWING RESOURCES USE THE WRONG NAMING CONVENTION.
|
|
Please don't copy them, copy anything else. -->
|
|
|
|
<!-- An Array of "[Connection name],[ConnectivityManager.TYPE_xxxx],
|
|
[associated radio-type],[priority],[restoral-timer(ms)],[dependencyMet] -->
|
|
<!-- the 5th element "resore-time" indicates the number of milliseconds to delay
|
|
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. -->
|
|
<string-array translatable="false" name="networkAttributes">
|
|
<item>"wifi,1,1,1,-1,true"</item>
|
|
<item>"mobile,0,0,0,-1,true"</item>
|
|
<item>"mobile_mms,2,0,2,180000,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_bluetooth,7,7,2,-1,true"</item>
|
|
<item>"wifi_p2p,13,1,0,-1,true"</item>
|
|
</string-array>
|
|
|
|
<!-- An Array of "[ConnectivityManager connectionType],
|
|
[# simultaneous connection types]" -->
|
|
<string-array translatable="false" name="radioAttributes">
|
|
<item>"1,1"</item>
|
|
<item>"0,1"</item>
|
|
<item>"7,1"</item>
|
|
</string-array>
|
|
|
|
<!-- List of regexpressions describing the interface (if any) that represent tetherable
|
|
USB interfaces. If the device doesn't want to support tething over USB this should
|
|
be empty. An example would be "usb.*" -->
|
|
<string-array translatable="false" name="config_tether_usb_regexs">
|
|
<item>"rndis0"</item>
|
|
<item>"usb0"</item>
|
|
</string-array>
|
|
|
|
<!-- List of regexpressions describing the interface (if any) that represent tetherable
|
|
Wifi interfaces. If the device doesn't want to support tethering over Wifi this
|
|
should be empty. An example would be "softap.*" -->
|
|
<string-array translatable="false" name="config_tether_wifi_regexs">
|
|
<item>"wlan0"</item>
|
|
</string-array>
|
|
|
|
<!-- List of regexpressions describing the interface (if any) that represent tetherable
|
|
bluetooth interfaces. If the device doesn't want to support tethering over bluetooth this
|
|
should be empty. -->
|
|
<string-array translatable="false" name="config_tether_bluetooth_regexs">
|
|
<item>"bt-pan"</item>
|
|
</string-array>
|
|
|
|
<!-- Boolean indicating whether the wifi chipset has dual frequency band support -->
|
|
<bool translatable="false" name="config_wifi_dual_band_support">true</bool>
|
|
|
|
<!-- Boolean indicating whether the wifi chipset has background scan support -->
|
|
<bool translatable="false" name="config_wifi_background_scan_support">false</bool>
|
|
|
|
<!-- Enables or disables fading edges when marquee is enabled in TextView. -->
|
|
<bool name="config_ui_enableFadingMarquee">false</bool>
|
|
|
|
<!-- The VoiceMail default value is displayed to my own number if it is true -->
|
|
<bool name="config_telephony_use_own_number_for_voicemail">true</bool>
|
|
|
|
<!-- Boolean indicating if restoring network selection should be skipped -->
|
|
<!-- The restoring is handled by modem if it is true-->
|
|
<bool name="skip_restoring_network_selection">true</bool>
|
|
|
|
<!-- 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 a very short but reliable vibration for soft keyboard tap -->
|
|
<integer-array name="config_keyboardTapVibePattern">
|
|
<item>10</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>
|
|
|
|
<!-- Indicate whether the SD card is accessible without removing the battery. -->
|
|
<bool name="config_batterySdCardAccessibility">true</bool>
|
|
|
|
<!-- Control the behavior when the user long presses the home button
|
|
0 - Nothing
|
|
1 - Menu key
|
|
2 - Recent apps view in SystemUI
|
|
3 - Launch assist intent
|
|
4 - Voice Search
|
|
5 - In-app Search
|
|
This needs to match the constants in
|
|
policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
|
|
-->
|
|
<integer name="config_longPressOnHomeBehavior">3</integer>
|
|
|
|
<!-- 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,2097152,4194304,262144,524288,1048576</string>
|
|
|
|
<string-array name="config_mobile_tcp_buffers">
|
|
<item>lte:2097152,4194304,8388608,262144,524288,1048576</item>
|
|
<item>lte_ca:2097152,4194304,8388608,262144,524288,1048576</item>
|
|
<item>umts:4094,87380,110208,4096,16384,110208</item>
|
|
<item>hspa:4094,87380,1220608,4096,16384,1220608</item>
|
|
<item>hsupa:4094,87380,1220608,4096,16384,1220608</item>
|
|
<item>hsdpa:4094,87380,2441216,4096,16384,2441216</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,1048576,4096,16384,262144</item>
|
|
<item>ehrpd:4094,87380,1048576,4096,16384,262144</item>
|
|
</string-array>
|
|
|
|
<!-- Override the default detection behavior for the framework method
|
|
android.view.ViewConfiguration#hasPermanentMenuKey().
|
|
Valid settings are:
|
|
0 - No change. Use the default autodetection behavior.
|
|
1 - The device DOES have a permanent menu key; ignore autodetection.
|
|
2 - The device DOES NOT have a permanent menu key; ignore autodetection. -->
|
|
<integer name="config_overrideHasPermanentMenuKey">2</integer>
|
|
|
|
<!-- Indicate whether closing the lid causes the device to go to sleep and opening
|
|
it causes the device to wake up.
|
|
The default is false. -->
|
|
<bool name="config_lidControlsSleep">true</bool>
|
|
|
|
</resources>
|