j7elte: Add lid/cover support
[GitHub/LineageOS/android_device_samsung_j7elte.git] / overlay / frameworks / base / core / res / res / values / config.xml
CommitLineData
a58d6963
DT
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 NOTE: The naming convention is "config_camelCaseValue". Some legacy
23 entries do not follow the convention, but all new entries should. -->
24
25<resources>
26 <!-- If true, the doze component is not started until after the screen has been
27 turned off and the screen off animation has been performed. -->
28 <bool name="config_dozeAfterScreenOffByDefault">true</bool>
29
30 <!-- ComponentName of a dream to show whenever the system would otherwise have
31 gone to sleep. When the PowerManager is asked to go to sleep, it will instead
32 try to start this dream if possible. The dream should typically call startDozing()
33 to put the display into a low power state and allow the application processor
34 to be suspended. When the dream ends, the system will go to sleep as usual.
35 Specify the component name or an empty string if none.
36
37 Note that doze dreams are not subject to the same start conditions as ordinary dreams.
38 Doze dreams will run whenever the power manager is in a dozing state. -->
39 <string name="config_dozeComponent">com.android.systemui/com.android.systemui.doze.DozeService</string>
40
41 <!-- Boolean indicating if restoring network selection should be skipped -->
42 <!-- The restoring is handled by modem if it is true -->
43 <bool translatable="false" name="skip_restoring_network_selection">true</bool>
44
45 <!-- Configure mobile tcp buffer sizes in the form:
46 rat-name:rmem_min,rmem_def,rmem_max,wmem_min,wmem_def,wmem_max
47 If no value is found for the rat-name in use, the system default will be applied. -->
48 <string-array name="config_mobile_tcp_buffers">
49 <item>lte:524288,1048576,2097152,262144,524288,1048576</item>
50 </string-array>
51
52 <!-- Configure wifi tcp buffersizes in the form:
53 rmem_min,rmem_def,rmem_max,wmem_min,wmem_def,wmem_max -->
54 <string name="config_wifi_tcp_buffers">524288,1048576,4525824,524288,1048576,4525824</string>
55
56 <!-- Flag indicating which package name can access the persistent data partition -->
57 <string name="config_persistentDataPackageName" translatable="false">com.google.android.gms</string>
58
59 <!-- This string array should be overridden by the device to present a list of network
60 attributes. This is used by the connectivity manager to decide which networks can coexist
61 based on the hardware -->
62 <!-- An Array of "[Connection name],[ConnectivityManager.TYPE_xxxx],
63 [associated radio-type],[priority],[restoral-timer(ms)],[dependencyMet] -->
64 <!-- the 5th element "resore-time" indicates the number of milliseconds to delay
65 before automatically restore the default connection. Set -1 if the connection
66 does not require auto-restore. -->
67 <!-- the 6th element indicates boot-time dependency-met value. -->
68 <string-array translatable="false" name="networkAttributes">
69 <item>wifi,1,1,1,-1,true</item>
70 <item>mobile,0,0,0,-1,true</item>
71 <item>mobile_mms,2,0,2,240000,true</item>
72 <item>mobile_supl,3,0,2,60000,true</item>
73 <item>mobile_dun,4,0,2,60000,true</item>
74 <item>mobile_hipri,5,0,3,60000,true</item>
75 <item>bluetooth,7,7,0,-1,true</item>
76 <item>ethernet,9,9,2,-1,true</item>
77 <item>mobile_fota,10,0,2,60000,true</item>
78 <item>mobile_ims,11,0,1,-1,true</item>
79 <item>mobile_cbs,12,0,2,60000,true</item>
80 <item>wifi_p2p,13,1,0,-1,true</item>
81 <item>mobile_ia,14,0,2,-1,true</item>
82 <item>mobile_emergency,15,0,2,-1,true</item>
83 </string-array>
84
85 <!-- Minimum screen brightness setting allowed by the power manager.
86 The user is forbidden from setting the brightness below this level. -->
87 <integer name="config_screenBrightnessSettingMinimum">5</integer>
88
89 <!-- Default screen brightness setting.
90 Must be in the range specified by minimum and maximum. -->
91 <integer name="config_screenBrightnessSettingDefault">140</integer>
92
93 <!-- Screen brightness used to dim the screen when the user activity
94 timeout expires. May be less than the minimum allowed brightness setting
95 that can be set by the user. -->
96 <integer name="config_screenBrightnessDim">19</integer>
97
98 <!-- Control the behavior when the user long presses the home button.
99 0 - Nothing
100 1 - Launch all apps intent
101 2 - Launch assist intent
102 This needs to match the constants in
103 policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
104 -->
105 <integer name="config_longPressOnHomeBehavior">2</integer>
106
107 <!-- The RadioAccessFamilies supported by the device.
108 Empty is viewed as "all". Only used on devices which
109 don't support RIL_REQUEST_GET_RADIO_CAPABILITY
110 format is UMTS|LTE|... -->
111 <string name="config_radio_access_family">GSM|WCDMA|LTE</string>
112
113 <!-- Boolean indicating whether the wifi chipset supports background scanning mechanism.
114 This mechanism allows the host to remain in suspend state and the dongle to actively
115 scan and wake the host when a configured SSID is detected by the dongle. This chipset
116 capability can provide power savings when wifi needs to be always kept on. -->
117 <bool translatable="false" name="config_wifi_background_scan_support">true</bool>
118
119 <!-- Indicate whether the SD card is accessible without removing the battery. -->
120 <bool name="config_batterySdCardAccessibility">true</bool>
121
122 <!-- Boolean indicating if current platform supports BLE peripheral mode -->
123 <bool name="config_bluetooth_le_peripheral_mode_supported">true</bool>
124
125 <!-- Operating volatage for bluetooth controller. 0 by default -->
126 <integer name="config_bluetooth_operating_voltage_mv">4</integer>
b3564eb5 127
128 <!-- Indicate whether closing the lid causes the device to go to sleep and opening
129 it causes the device to wake up.
130 The default is false. -->
131 <bool name="config_lidControlsSleep">true</bool>
a58d6963 132</resources>