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 <!-- Flag indicating whether the AUDIO_BECOMING_NOISY notification should 24 be sent during a change to the audio output device. --> 25 <bool name="config_sendAudioBecomingNoisy">false</bool> 26 27 <!-- Set this to true to enable the platform's auto-power-save modes like doze and 28 app standby. These are not enabled by default because they require a standard 29 cloud-to-device messaging service for apps to interact correctly with the modes 30 (such as to be able to deliver an instant message to the device even when it is 31 dozing). This should be enabled if you have such services and expect apps to 32 correctly use them when installed on your device. Otherwise, keep this disabled 33 so that applications can still use their own mechanisms. --> 34 <bool name="config_enableAutoPowerModes">true</bool> 35 36 <!-- Whether (if true) this is a kind of device that can be moved around (eg. phone/laptop), 37 or (if false) something for which movement is either not measurable or should not count 38 toward power states (eg. tv/soundbar). --> 39 <bool name="config_autoPowerModeUseMotionSensor">false</bool> 40 41 <!-- Control the default UI mode type to use when there is no other type override 42 happening. One of the following values (See Configuration.java): 43 1 UI_MODE_TYPE_NORMAL 44 4 UI_MODE_TYPE_TELEVISION 45 5 UI_MODE_TYPE_APPLIANCE 46 6 UI_MODE_TYPE_WATCH 47 7 UI_MODE_TYPE_VR_HEADSET 48 Any other values will have surprising consequences. --> 49 <integer name="config_defaultUiModeType">4</integer> 50 51 <!-- Control whether to lock UI mode to what is selected from config_defaultUiModeType. 52 Once UI mode is locked, applications cannot change it anymore. --> 53 <bool name="config_lockUiMode">true</bool> 54 55 <!-- Control the default night mode to use when there is no other mode override set. 56 One of the following values (see UiModeManager.java): 57 0 - MODE_NIGHT_AUTO 58 1 - MODE_NIGHT_NO 59 2 - MODE_NIGHT_YES 60 --> 61 <integer name="config_defaultNightMode">2</integer> 62 63 <!-- Control the behavior when the user long presses the power button. 64 0 - Nothing 65 1 - Global actions menu 66 2 - Power off (with confirmation) 67 3 - Power off (without confirmation) 68 4 - Go to voice assist 69 5 - Go to assistant (Settings.Secure.ASSISTANT) 70 --> 71 <integer name="config_longPressOnPowerBehavior">3</integer> 72 73 <!-- If true, enables verification of the lockscreen credential in the factory reset protection 74 flow. This should be true if gatekeeper / weaver credentials can still be checked after a 75 factory reset. --> 76 <bool name="config_enableCredentialFactoryResetProtection">false</bool> 77 78 <!-- Control the behavior when the user long presses the home button. 79 0 - Nothing 80 1 - Launch all apps intent 81 2 - Launch assist intent 82 3 - Launch notification panel 83 This needs to match the constants in 84 policy/src/com/android/internal/policy/impl/PhoneWindowManager.java 85 --> 86 <integer name="config_longPressOnHomeBehavior">1</integer> 87 88 <!-- Control the behavior when the user double-taps the home button. 89 0 - Nothing 90 1 - Recent apps view in SystemUI 91 2 - Picture-in-picture menu 92 This needs to match the constants in 93 policy/src/com/android/internal/policy/impl/PhoneWindowManager.java 94 --> 95 <integer name="config_doubleTapOnHomeBehavior">2</integer> 96 97 <!-- Whether the geolocation time zone detection feature is enabled. Setting this to false means 98 the feature cannot be used. Setting this to true means system server components can be 99 tested and location time zone detection may be used if other configuration allows (see 100 location time zone provider configuration settings below). --> 101 <bool name="config_enableGeolocationTimeZoneDetection" translatable="false">false</bool> 102 103 <!-- Flag indicating whether the current device is "voice capable". 104 If true, this means that the device supports circuit-switched 105 (i.e. voice) phone calls over the telephony network, and is 106 allowed to display the in-call UI while a cellular voice call is 107 active. This can be overridden to false for "data only" devices 108 which can't make voice calls and don't support any in-call UI. 109 110 Note: this flag is subtly different from the 111 PackageManager.FEATURE_TELEPHONY system feature, which is 112 available on *any* device with a telephony radio, even if the 113 device is data-only. --> 114 <bool name="config_voice_capable">false</bool> 115 116 <!-- Flag indicating whether the current device allows sms service. 117 If true, this means that the device supports both sending and 118 receiving sms via the telephony network. 119 This can be overridden to false for "data only" devices 120 which can't send and receive sms message. 121 122 Note: Disable SMS also disable voicemail waiting sms, 123 cell broadcasting sms, and MMS. --> 124 <bool name="config_sms_capable">false</bool> 125 126 <!-- Flag indicating whether the current device allows data. 127 If true, this means that the device supports data connectivity through 128 the telephony network. 129 This can be overridden to false for devices that support voice and/or sms . --> 130 <bool name="config_mobile_data_capable">false</bool> 131 132 <!-- The name of the package that will hold the system contacts role. --> 133 <string name="config_systemContacts" translatable="false">com.android.tv.frameworkpackagestubs</string> 134 135 <!-- ComponentName of the default dream (Settings.Secure.DEFAULT_SCREENSAVER_COMPONENT) --> 136 <string name="config_dreamsDefaultComponent" translatable="false">com.android.dreams.basic/com.android.dreams.basic.Colors</string> 137 138 <!-- Override the DPad detection behavior for configuration purposes --> 139 <bool name="config_hasPermanentDpad">true</bool> 140 141 <!-- Determines whether recent tasks are provided to the user. Default device has recents 142 property. If this is false, then the following recents config flags are ignored. --> 143 <bool name="config_hasRecents">false</bool> 144 145 <!-- Whether to start in touch mode --> 146 <bool name="config_defaultInTouchMode">false</bool> 147 148 <!-- Allow the gesture to double tap the power button twice to start the camera while the device 149 is non-interactive. --> 150 <bool name="config_cameraDoubleTapPowerGestureEnabled">false</bool> 151 152 <!-- Inactivity threshold (in milliseconds) used in JobScheduler. JobScheduler will consider 153 the device to be "idle" after being inactive for this long. --> 154 <integer name="config_jobSchedulerInactivityIdleThreshold">300000</integer> 155 156 <!-- True if the device supports split screen as a form of multi-window. --> 157 <bool name="config_supportsSplitScreenMultiWindow">false</bool> 158 159 <!-- True if the device supports system decorations on secondary displays. --> 160 <bool name="config_supportsSystemDecorsOnSecondaryDisplays">false</bool> 161 162 <!-- True if the device requires AppWidgetService even if it does not have 163 the PackageManager.FEATURE_APP_WIDGETS feature. 164 TV launcher customization requires AppWidgetService, but otherwise 165 home screen widgets are not supported on TV --> 166 <bool name="config_enableAppWidgetService">true</bool> 167 168 <!-- Maximum size, specified in pixels, to restrain the display space width to. Height and 169 density will be scaled accordingly to maintain aspect ratio. A value of 0 indicates no 170 constraint will be enforced. 171 ATV limits the UI graphics width to 1920 because higher resolution is unnecessary and causes 172 too much overhead on the GPU for Android TV devices. --> 173 <integer name="config_maxUiWidth">1920</integer> 174 175 <!-- Whether the device supports quick settings and its associated APIs --> 176 <bool name="config_quickSettingsSupported">false</bool> 177 178 <!-- Whether to keep background restricted profiles running after exiting. If set to false, 179 restricted profiles may be put into stopped state as soon as the switch back to primary 180 happens. 181 Can be overridden with android.provider.Settings.Global.KEEP_PROFILE_IN_BACKGROUND. --> 182 <bool name="config_keepRestrictedProfilesInBackground">false</bool> 183 184 <!-- Set to true to make assistant show in front of the dream/screensaver. --> 185 <bool name="config_assistantOnTopOfDream">true</bool> 186 187 <!-- If true, Views will declare they prefer to be kept clear from overlays when focused. --> 188 <bool name="config_preferKeepClearForFocus">true</bool> 189 190 <!-- Whether this device is supporting the software microphone toggle --> 191 <bool name="config_supportsMicToggle">true</bool> 192 <!-- Whether this device is supporting the camera toggle --> 193 <bool name="config_supportsCamToggle">true</bool> 194 195 <!-- Determines whether SafetyCenter feature is enabled. 196 SafetyCenter is not yet supported on TV. --> 197 <bool name="config_enableSafetyCenter">false</bool> 198 199 <!-- Flag indicating whether seamless refresh rate switching is supported by a device. --> 200 <bool name="config_supportsSeamlessRefreshRateSwitching">false</bool> 201 202 <!-- If a location should be pre-fetched when going into device idle. --> 203 <bool name="config_autoPowerModePrefetchLocation">false</bool> 204 205 <!-- Whether Low Power Standby is supported and can be enabled. --> 206 <bool name="config_lowPowerStandbySupported">true</bool> 207 208 <!-- If supported, whether Low Power Standby is enabled by default. --> 209 <bool name="config_lowPowerStandbyEnabledByDefault">true</bool> 210</resources> 211