1<?xml version="1.0" encoding="utf-8"?>
2<!--
3/*
4** Copyright 2017, 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<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
21    <!-- Make this 'true' to allow the Emulator to control
22         the state of the headphone/microphone jack -->
23    <bool name="config_useDevInputEventForAudioJack">true</bool>
24
25    <!--  Maximum number of supported users -->
26    <integer name="config_multiuserMaximumUsers">4</integer>
27    <!--  Whether Multiuser UI should be shown -->
28    <bool name="config_enableMultiUserUI">true</bool>
29
30        <!-- Map of System DeviceState supplied by DeviceStateManager to WM Jetpack posture. -->
31    <string-array name="config_device_state_postures" translatable="false">
32        <item>0:1</item> <!-- CLOSED -->
33        <item>1:2</item> <!-- HALF_OPENED -->
34        <item>2:3</item> <!-- OPENED -->
35        <item>3:1</item> <!-- FLIPPED -->
36    </string-array>
37
38    <!-- The device states (supplied by DeviceStateManager) that should be treated as open by the
39         display fold controller. -->
40    <integer-array name="config_openDeviceStates" translatable="false">
41        <item>2</item> <!-- OPEN -->
42    </integer-array>
43
44    <!-- The device states (supplied by DeviceStateManager) that should be treated as folded by the
45         display fold controller. This also controls the folded bit in CameraServiceProxy. -->
46    <integer-array name="config_foldedDeviceStates" translatable="false">
47        <item>0</item> <!-- CLOSED -->
48    </integer-array>
49
50    <!-- The device states (supplied by DeviceStateManager) that should be treated as half folded by
51         the display fold controller. This also controls the folded bit in CameraServiceProxy. -->
52    <integer-array name="config_halfFoldedDeviceStates" translatable="false">
53        <item>1</item> <!-- HALF_OPENED -->
54    </integer-array>
55
56    <!-- The device states (supplied by DeviceStateManager) that should be treated as a rear display
57         state. Default is empty. -->
58    <integer-array name="config_rearDisplayDeviceStates" translatable="false">
59        <item>3</item> <!-- REAR_DISPLAY_STATE -->
60    </integer-array>
61
62
63    <!-- Set to true to add links to Cell Broadcast app from Settings and MMS app. -->
64    <bool name="config_cellBroadcastAppLinks">true</bool>
65
66    <!-- MMS user agent string -->
67    <string name="config_mms_user_agent" translatable="false">GoldfishNexus</string>
68
69    <!-- MMS user agent prolfile url -->
70    <string name="config_mms_user_agent_profile_url" translatable="false">http://gsm.lge.com/html/gsm/Nexus5-M3.xml</string>
71
72    <!-- Indicate whether closing the lid causes the device to enter the folded state which means
73         to get a smaller screen and opening the lid causes the device to enter the unfolded state
74         which means to get a larger screen. -->
75    <bool name="config_lidControlsDisplayFold">true</bool>
76
77    <!-- Allow testing SoftAP using the simulated interfaces on the emulator. -->
78    <string-array name="config_tether_wifi_regexs">
79      <item>"wlan\\d"</item>
80    </string-array>
81
82
83
84    <!-- This device is able to support the microphone and camera global toggles. -->
85    <bool name="config_supportsMicToggle">true</bool>
86    <bool name="config_supportsCamToggle">true</bool>
87    <!-- Specifies priority of automatic time sources. Suggestions from higher entries in the list
88         take precedence over lower ones.
89         See com.android.server.timedetector.TimeDetectorStrategy for available sources. -->
90    <string-array name="config_autoTimeSourcesPriority">
91        <item>telephony</item>
92        <item>network</item>
93    </string-array>
94
95    <string-array name="config_perDeviceStateRotationLockDefaults" translatable="false">
96        <item>0:1</item> <!-- CLOSED -> LOCKED -->
97        <item>2:0:1</item> <!-- HALF_OPENED -> IGNORED and fallback to device state OPENED -->
98        <item>1:2</item> <!-- OPENED -> UNLOCKED -->
99    </string-array>
100
101    <bool name="config_supportMicNearUltrasound">true</bool>
102    <bool name="config_supportSpeakerNearUltrasound">true</bool>
103
104</resources>
105