• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2014 The Android Open Source Project
3
4     Licensed under the Apache License, Version 2.0 (the "License");
5     you may not use this file except in compliance with the License.
6     You may obtain a copy of the License at
7
8         http://www.apache.org/licenses/LICENSE-2.0
9
10     Unless required by applicable law or agreed to in writing, software
11     distributed under the License is distributed on an "AS IS" BASIS,
12     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13     See the License for the specific language governing permissions and
14     limitations under the License.
15-->
16
17<resources>
18    <!-- Flag indicating that the media framework should support playing of sounds on volume
19         key usage.  This adds noticeable additional overhead to volume key processing, so
20         is disableable for products for which it is irrelevant. -->
21    <bool name="config_useVolumeKeySounds">false</bool>
22
23    <!-- Disable AUDIO_BECOMING_NOISY notifications. -->
24    <bool name="config_sendAudioBecomingNoisy">false</bool>
25
26    <!-- This device is data-only. -->
27    <bool name="config_voice_capable">false</bool>
28
29    <!-- This device does not allow sms service. -->
30    <bool name="config_sms_capable">false</bool>
31
32    <!-- This device does not support mobile data. -->
33    <bool name="config_mobile_data_capable">false</bool>
34
35    <!-- Control the default UI mode type to use when there is no other type override
36         happening.  One of the following values (See Configuration.java):
37             1  UI_MODE_TYPE_NORMAL
38             4  UI_MODE_TYPE_TELEVISION
39             5  UI_MODE_TYPE_APPLIANCE
40         Any other values will have surprising consequences. -->
41    <integer name="config_defaultUiModeType">4</integer>
42
43    <!--  Control whether to lock UI mode to what is selected from config_defaultUiModeType.
44          Once UI mode is locked, applications cannot change it anymore. -->
45    <bool name="config_lockUiMode">true</bool>
46
47    <!-- Control the default night mode to use when there is no other mode override set.
48         One of the following values (see UiModeManager.java):
49             0 - MODE_NIGHT_AUTO
50             1 - MODE_NIGHT_NO
51             2 - MODE_NIGHT_YES
52    -->
53    <integer name="config_defaultNightMode">2</integer>
54
55    <!-- default device has recents property -->
56    <bool name="config_hasRecents">false</bool>
57
58    <!-- Control the behavior when the user long presses the home button.
59            0 - Nothing
60            1 - Launch all apps intent
61            2 - Launch assist intent
62            3 - Launch notification panel
63         This needs to match the constants in
64         policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
65    -->
66    <integer name="config_longPressOnHomeBehavior">1</integer>
67
68    <!-- Override configuration check for dpad so that we always appear to have one -->
69    <bool name="config_hasPermanentDpad">true</bool>
70
71    <bool name="config_defaultInTouchMode">false</bool>
72
73    <!-- Launcher customization requires AppWidgetService, but otherwise
74         home screen widgets are not supported on TV -->
75    <bool name="config_enableAppWidgetService">true</bool>
76
77    <!-- Whether to keep background restricted profiles running after exiting. If set to false,
78         restricted profiles may be put into stopped state as soon as the switch back to primary
79         happens.
80         Can be overridden with android.provider.Settings.Global.KEEP_PROFILE_IN_BACKGROUND. -->
81    <bool name="config_keepRestrictedProfilesInBackground">false</bool>
82
83    <!-- Enable doze mode -->
84    <bool name="config_enableAutoPowerModes">true</bool>
85    <bool name="config_autoPowerModeUseMotionSensor">false</bool>
86
87    <!-- True if the device supports split screen as a form of multi-window. -->
88    <bool name="config_supportsSplitScreenMultiWindow">false</bool>
89
90    <!-- Whether the device supports quick settings and its associated APIs -->
91    <bool name="config_quickSettingsSupported">false</bool>
92
93    <!-- True if the device supports system decorations on secondary displays. -->
94    <bool name="config_supportsSystemDecorsOnSecondaryDisplays">false</bool>
95
96    <!-- Enable assistant to show in front of the dream/screensaver. -->
97    <bool name="config_assistantOnTopOfDream">true</bool>
98
99    <!-- Maximum size, specified in pixels, to restrain the display space width to. Height and
100         density will be scaled accordingly to maintain aspect ratio. A value of 0 indicates no
101         constraint will be enforced.
102         We limit the UI graphics width to 1920 because higher resolution is unnecessary and causes
103         too much overhead on the GPU for Android TV devices. -->
104    <integer name="config_maxUiWidth">1920</integer>
105
106    <!-- If true, enables verification of the lockscreen credential in the factory reset protection
107        flow. This should be true if gatekeeper / weaver credentials can still be checked after a
108        factory reset. -->
109    <bool name="config_enableCredentialFactoryResetProtection">false</bool>
110
111    <!-- Control the behavior when the user long presses the power button.
112        0 - Nothing
113        1 - Global actions menu
114        2 - Power off (with confirmation)
115        3 - Power off (without confirmation)
116        4 - Go to voice assist
117        5 - Go to assistant (Settings.Secure.ASSISTANT -->
118    <integer name="config_longPressOnPowerBehavior">3</integer>
119
120    <!-- Whether the time zone detection feature is enabled. Disabled for ATV devices. -->
121    <bool name="config_enableGeolocationTimeZoneDetection" translatable="false">false</bool>
122
123    <!-- Whether this device is supporting the microphone toggle -->
124    <bool name="config_supportsMicToggle">true</bool>
125    <!-- Whether this device is supporting the camera toggle -->
126    <bool name="config_supportsCamToggle">true</bool>
127</resources>
128