| <?xml version="1.0" encoding="utf-8"?> |
| <!-- |
| /* |
| ** Copyright 2015, The Android Open Source Project |
| ** |
| ** Licensed under the Apache License, Version 2.0 (the "License"); |
| ** you may not use this file except in compliance with the License. |
| ** You may obtain a copy of the License at |
| ** |
| ** http://www.apache.org/licenses/LICENSE-2.0 |
| ** |
| ** Unless required by applicable law or agreed to in writing, software |
| ** distributed under the License is distributed on an "AS IS" BASIS, |
| ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| ** See the License for the specific language governing permissions and |
| ** limitations under the License. |
| */ |
| --> |
| |
| <!-- These resources are around just to allow their values to be customized |
| for different hardware and product builds. Do not translate. --> |
| <resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> |
| <!-- Disable local-display-mirror-content --> |
| <bool name="config_localDisplaysMirrorContent">false</bool> |
| <!-- Enable multi-user. --> |
| <bool name="config_enableMultiUserUI">true</bool> |
| <!-- Maximum number of supported users --> |
| <integer name="config_multiuserMaximumUsers">4</integer> |
| <!-- Maximum number of users we allow to be running at a time. |
| For automotive, background user will be immediately stopped upon user switching but |
| up to this many users can be running in garage mode. |
| 3 = headless user 0 + two primary users or 1 primary + 1 guest --> |
| <integer name="config_multiuserMaxRunningUsers">3</integer> |
| <!-- Show multiuser switcher by default, unless the user specifically disables it. --> |
| <bool name="config_showUserSwitcherByDefault">true</bool> |
| <!-- Flag specifying whether user-switch operations have custom UI. When false, user-switch |
| UI is handled by ActivityManagerService. On AAOS, this value should be true since the |
| UserSwitchUi is implemented by Car SystemUI.--> |
| <bool name="config_customUserSwitchUi">true</bool> |
| <!-- Use delay locking mode always for automotive --> |
| <bool name="config_multiuserDelayUserDataLocking">true</bool> |
| <!-- If true, all guest users created on the device will be ephemeral. --> |
| <bool name="config_guestUserEphemeral">true</bool> |
| <!-- Car Mode --> |
| <integer name="config_defaultUiModeType">3</integer> |
| <!-- Can't leave car mode --> |
| <bool name="config_lockUiMode">true</bool> |
| <!-- Control whether to launch Car dock home app when user presses home button or when |
| car dock intent is fired. |
| In mobile device, usually separate home app is expected in car mode, and this should be |
| enabled. But in environments like real car, default home app may be enough, and in that |
| case, this can be disabled (set to false). --> |
| <bool name="config_enableCarDockHomeLaunch">false</bool> |
| <!-- Control whether to lock day/night mode change from normal application. When it is |
| true, day / night mode change is only allowed to apps with MODIFY_DAY_NIGHT_MODE |
| permission. --> |
| <bool name="config_lockDayNightMode">true</bool> |
| <!-- Allow smart unlock immediately after boot because the user shouldn't have to enter a pin |
| code to unlock their car head unit. --> |
| <bool name="config_strongAuthRequiredOnBoot">false</bool> |
| <!-- Show Navigation Bar --> |
| <bool name="config_showNavigationBar">true</bool> |
| |
| <integer name="config_jobSchedulerInactivityIdleThreshold">0</integer> |
| <integer name="config_jobSchedulerIdleWindowSlop">0</integer> |
| |
| <!-- Set the default number of allowed connected Bluetooth AVRCP/A2DP devices --> |
| <integer name="config_bluetooth_max_connected_audio_devices">5</integer> |
| |
| <!-- Automotive Bluetooth pairing option --> |
| <bool name="enable_pbap_pce_profile">true</bool> |
| |
| <!-- Whether the device supports quick settings and its associated APIs --> |
| <bool name="config_quickSettingsSupported">false</bool> |
| |
| <!-- Flag indicating that the entire notification header can be clicked to expand the |
| notification. If false, then the expand icon has to be clicked in order for the expand |
| to occur. --> |
| <bool name="config_notificationHeaderClickableForExpand">true</bool> |
| |
| <!-- Night mode should be enabled. --> |
| <bool name="config_enableNightMode">true</bool> |
| |
| <!-- The action buttons should always take the default color. --> |
| <bool name="config_tintNotificationActionButtons">false</bool> |
| |
| <!-- Corner radius of system dialogs --> |
| <dimen name="config_dialogCornerRadius">16dp</dimen> |
| |
| <!-- Set CarUsbHandler as the USB handling component by default --> |
| <string name="config_UsbDeviceConnectionHandling_component">android.car.usb.handler/android.car.usb.handler.UsbHostManagementActivity</string> |
| |
| <string name="config_headlineFontFamilyMedium">sans-serif-medium</string> |
| |
| <!-- Whether the system enables per-display focus. If the system has the input method for each |
| display, this value should be true. --> |
| <bool name="config_perDisplayFocusEnabled">true</bool> |
| |
| <!-- True if the device supports split screen as a form of multi-window. --> |
| <bool name="config_supportsSplitScreenMultiWindow">false</bool> |
| |
| <!-- True if the device supports system decorations on secondary displays. --> |
| <bool name="config_supportsSystemDecorsOnSecondaryDisplays">false</bool> |
| |
| <!-- Whether the main user is a permanent admin user. If the main user is a permanent admin user |
| it can't be deleted or downgraded to non-admin status. |
| This is generally only relevant on headless system user mode devices; on other devices, the |
| main user is the system user which is always a permanent admin anyway. --> |
| <bool name="config_isMainUserPermanentAdmin">false</bool> |
| |
| <!-- Whether switch to headless system user is allowed. If allowed, |
| headless system user can run in the foreground even though it is not a full user. --> |
| <bool name="config_canSwitchToHeadlessSystemUser">true</bool> |
| |
| <string name="config_dataUsageSummaryComponent">com.android.car.settings/com.android.car.settings.datausage.DataWarningAndLimitActivity</string> |
| |
| <!-- Controls whether system buttons use all caps for text --> |
| <bool name="config_buttonTextAllCaps">false</bool> |
| |
| <bool name="config_hideNavBarForKeyboard">true</bool> |
| |
| <!-- Turn off Wallpaper service --> |
| <bool name="config_enableWallpaperService">false</bool> |
| |
| <!-- Whether to only install system packages on a user if they're allowlisted for that user |
| type. Override the default value in framework config file. |
| 0 - disable allowlist (install all system packages; no logging) |
| 1 - enforce (only install system packages if they are allowlisted) |
| 2 - log (log when a non-allowlisted package is run) |
| 4 - any package not mentioned in the allowlist file is implicitly allowlisted on all users |
| 8 - same as 4, but just for the SYSTEM user |
| 16 - ignore OTAs (don't install system packages during OTAs) |
| |
| Common scenarios for auto: |
| - to enable feature (fully enforced) for a complete allowlist: 1 |
| - to enable feature for an incomplete allowlist (so use implicit allowlist mode): 5 --> |
| <integer name="config_userTypePackageWhitelistMode">5</integer> <!-- 1+4 --> |
| |
| <!-- Default user restrictions for system user 0. --> |
| <string-array translatable="false" name="config_defaultFirstUserRestrictions"> |
| <item>"no_modify_accounts"</item> |
| </string-array> |
| |
| <!-- Specifies priority of automatic time sources. Suggestions from higher entries in the list |
| take precedence over lower ones. |
| See com.android.server.timedetector.TimeDetectorStrategy for available sources. --> |
| <string-array name="config_autoTimeSourcesPriority"> |
| <item>telephony</item> |
| <item>network</item> |
| <item>gnss</item> |
| </string-array> |
| <!-- Enables the GnssTimeUpdate service. This is a switch for enabling Gnss time based |
| suggestions to TimeDetector service. --> |
| <bool name="config_enableGnssTimeUpdateService">true</bool> |
| |
| <!-- Use a car-specific activity resolver that supports rotary. --> |
| <string name="config_customResolverActivity" translatable="false" |
| >com.android.car.activityresolver/.CarResolverActivity</string> |
| |
| <!-- The name of the package that will hold the system cluster service role. --> |
| <!-- Removed. As config_systemAutomotiveCluster will be overridden in device or product |
| overlay. --> |
| <!-- |
| <string name="config_systemAutomotiveCluster" translatable="false"> |
| android.car.cluster |
| </string> |
| --> |
| |
| <!-- Whether this device is supporting the microphone toggle --> |
| <bool name="config_supportsMicToggle">true</bool> |
| <!-- Whether this device is supporting the camera toggle --> |
| <bool name="config_supportsCamToggle">true</bool> |
| |
| <!-- Whether the airplane mode should be reset when device boots in non-safemode after exiting |
| from safemode. |
| This flag should be enabled only when the product does not have any UI to toggle airplane |
| mode like automotive devices.--> |
| <bool name="config_autoResetAirplaneMode">true</bool> |
| |
| <!-- The component name of the activity for the companion-device-manager notification access |
| confirmation. --> |
| <string name="config_notificationAccessConfirmationActivity" translatable="false"> |
| com.android.car.settings/com.android.car.settings.notifications.NotificationAccessConfirmationActivity |
| </string> |
| |
| <!-- Determines whether SafetyCenter feature is enabled. |
| SafetyCenter is not yet supported on cars. --> |
| <bool name="config_enableSafetyCenter">false</bool> |
| |
| <!-- Use round icon if it is provided by the package --> |
| <bool name="config_useRoundIcon">true</bool> |
| |
| <!-- Setting the icon mask to circular path data --> |
| <string name="config_icon_mask" translatable="false"> |
| "M50 0A50 50,0,1,1,50 100A50 50,0,1,1,50 0"</string> |
| |
| <bool name="config_matchSecondaryInternalDisplaysOrientationToReverseDefaultDisplay"> |
| false |
| </bool> |
| |
| <!-- Component name for the activity that will be presenting the Recents UI, which will receive |
| special permissions for API related to fetching and presenting recent tasks. The default |
| configuration uses CarLauncher as default launcher and points to the corresponding |
| recents component. --> |
| <string name="config_recentsComponentName" translatable="false"> |
| com.android.car.carlauncher/.recents.CarRecentsActivity |
| </string> |
| |
| <!-- Disable the "Share" action item shown in the context menu that appears upon long-pressing |
| on selected text. --> |
| <bool name="config_textShareSupported">false</bool> |
| </resources> |