OSDN Git Service

Fix building errors of nougat-x86
[android-x86/device-generic-common.git] / overlay / frameworks / base / core / res / res / values / config.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3 /*
4 ** Copyright 2012, 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. -->
22 <resources>
23     <!-- This string array should be overridden by the device to present a list of network
24                   attributes.  This is used by the connectivity manager to decide which networks can coexist
25          based on the hardware -->
26     <!-- An Array of "[Connection name],[ConnectivityManager.TYPE_xxxx],
27                   [associated radio-type],[priority],[restoral-timer(ms)],[dependencyMet]  -->
28     <!-- the 5th element "resore-time" indicates the number of milliseconds to delay
29                   before automatically restore the default connection.  Set -1 if the connection
30          does not require auto-restore. -->
31     <!-- the 6th element indicates boot-time dependency-met value. -->
32     <string-array translatable="false" name="networkAttributes">
33         <item>"wifi,1,1,1,-1,true"</item>
34         <item>"mobile,0,0,0,-1,true"</item>
35         <item>"mobile_mms,2,0,2,60000,true"</item>
36         <item>"mobile_supl,3,0,2,60000,true"</item>
37         <item>"mobile_hipri,5,0,3,60000,true"</item>
38         <item>"ethernet,9,9,1,-1,true"</item>
39         <item>"mobile_fota,10,0,2,60000,true"</item>
40         <item>"mobile_ims,11,0,2,60000,true"</item>
41         <item>"mobile_cbs,12,0,2,60000,true"</item>
42         <item>"wifi_p2p,13,1,0,-1,true"</item>
43     </string-array>
44
45     <!-- This string array should be overridden by the device to present a list of radio
46                   attributes.  This is used by the connectivity manager to decide which networks can coexist
47          based on the hardware -->
48     <!-- An Array of "[ConnectivityManager connectionType],
49                                [# simultaneous connection types]"  -->
50     <string-array translatable="false" name="radioAttributes">
51         <item>"1,1"</item>
52         <item>"0,1"</item>
53         <item>"9,1"</item>
54     </string-array>
55
56     <!-- Sets whether menu shortcuts should be displayed on panel menus when
57                   a keyboard is present. -->
58     <bool name="config_showMenuShortcutsWhenKeyboardPresent">true</bool>
59
60     <!-- Whether a software navigation bar should be shown. NOTE: in the future this may be
61          autodetected from the Configuration. -->
62     <bool name="config_showNavigationBar">true</bool>
63
64     <!--  Maximum number of supported users -->
65     <integer name="config_multiuserMaximumUsers">8</integer>
66     <!--  Whether UI for multi user should be shown -->
67     <bool name="config_enableMultiUserUI">true</bool>
68
69     <!-- When true use the linux /dev/input/event subsystem to detect the switch changes
70          on the headphone/microphone jack. When false use the older uevent framework. -->
71     <bool name="config_useDevInputEventForAudioJack">true</bool>
72 </resources>