1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3/* 4** Copyright 2022, 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 <!-- Whether the system enables per-display focus. If the system has the input method for each 22 display, this value should be true. --> 23 <bool name="config_perDisplayFocusEnabled">true</bool> 24 25 <!-- Maximum number of supported users --> 26 <integer name="config_multiuserMaximumUsers">10</integer> 27 28 <!-- Maximum number of users we allow to be running at a time --> 29 <integer name="config_multiuserMaxRunningUsers">5</integer> 30 31 <!-- True if the device supports system decorations on secondary displays. --> 32 <bool name="config_supportsSystemDecorsOnSecondaryDisplays">true</bool> 33 <!-- This is the default launcher package with an activity to use on secondary displays that 34 support system decorations. 35 This launcher package must have an activity that supports multiple instances and has 36 corresponding launch mode set in AndroidManifest. 37 {@see android.view.Display#FLAG_SHOULD_SHOW_SYSTEM_DECORATIONS} --> 38 <string name="config_secondaryHomePackage" translatable="false">com.android.car.multidisplay</string> 39 <!-- Whether to only install system packages on a user if they're whitelisted for that user 40 type. These are flags and can be freely combined. 41 0 - disable whitelist (install all system packages; no logging) 42 1 - enforce (only install system packages if they are whitelisted) 43 2 - log (log non-whitelisted packages) 44 4 - any package not mentioned in the whitelist file is implicitly whitelisted on all users 45 8 - same as 4, but just for the SYSTEM user 46 16 - ignore OTAs (don't install system packages during OTAs) 47 Common scenarios: 48 - to enable feature (fully enforced) for a complete whitelist: 1 49 - to enable feature for an incomplete whitelist (so use implicit whitelist mode): 5 50 - to enable feature but implicitly whitelist for SYSTEM user to ease local development: 9 51 - to disable feature completely if it had never been enabled: 16 52 - to henceforth disable feature and try to undo its previous effects: 0 53 Note: This list must be kept current with PACKAGE_WHITELIST_MODE_PROP in 54 frameworks/base/services/core/java/com/android/server/pm/UserSystemPackageInstaller.java 55 Package whitelist disabled for testing profile user as default whitelist does not 56 support PROFILE user. --> 57 <integer name="config_userTypePackageWhitelistMode">2</integer> 58 59 <!-- Whether the device allows users to start in background visible on displays. 60 Should be false for most devices, except automotive vehicle with passenger displays. --> 61 <!-- The config is enabled for the development purpose only. --> 62 <bool name="config_multiuserVisibleBackgroundUsers">true</bool> 63</resources> 64