1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3/* 4** Copyright 2019, 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 <!-- Whether to only install system packages on a user if they're whitelisted for that user 32 type. These are flags and can be freely combined. 33 0 - disable whitelist (install all system packages; no logging) 34 1 - enforce (only install system packages if they are whitelisted) 35 2 - log (log non-whitelisted packages) 36 4 - any package not mentioned in the whitelist file is implicitly whitelisted on all users 37 8 - same as 4, but just for the SYSTEM user 38 16 - ignore OTAs (don't install system packages during OTAs) 39 Common scenarios: 40 - to enable feature (fully enforced) for a complete whitelist: 1 41 - to enable feature for an incomplete whitelist (so use implicit whitelist mode): 5 42 - to enable feature but implicitly whitelist for SYSTEM user to ease local development: 9 43 - to disable feature completely if it had never been enabled: 16 44 - to henceforth disable feature and try to undo its previous effects: 0 45 Note: This list must be kept current with PACKAGE_WHITELIST_MODE_PROP in 46 frameworks/base/services/core/java/com/android/server/pm/UserSystemPackageInstaller.java 47 Package whitelist disabled for testing profile user as default whitelist does not 48 support PROFILE user. --> 49 <integer name="config_userTypePackageWhitelistMode">2</integer> 50 51 <!-- Whether the device allows users to start in background visible on displays. 52 Should be false for most devices, except automotive vehicle with passenger displays. --> 53 <bool name="config_multiuserVisibleBackgroundUsers">true</bool> 54 55 <!-- Disable hidding the NavBars (CarSystemBars), as a workaround for b/259604616 --> 56 <bool name="config_hideNavBarForKeyboard">false</bool> 57 58</resources> 59