xref: /aosp_15_r20/frameworks/base/packages/overlays/HsumDefaultConfigOverlay/res/values/config.xml (revision d57664e9bc4670b3ecf6748a746a57c557b6bc9e)
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3  ~ Copyright (C) 2024 The Android Open Source Project
4  ~
5  ~ Licensed under the Apache License, Version 2.0 (the "License");
6  ~ you may not use this file except in compliance with the License.
7  ~ You may obtain a copy of the License at
8  ~
9  ~      http://www.apache.org/licenses/LICENSE-2.0
10  ~
11  ~ Unless required by applicable law or agreed to in writing, software
12  ~ distributed under the License is distributed on an "AS IS" BASIS,
13  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  ~ See the License for the specific language governing permissions and
15  ~ limitations under the License.
16  -->
17
18<!-- Default configuration for Headless System User Mode (HSUM) builds. -->
19<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
20
21  <!-- Whether multiple admins are allowed on the device. If set to true, new users can be created
22       with admin privileges and admin privileges can be granted/revoked from existing users. -->
23  <bool name="config_enableMultipleAdmins">true</bool>
24
25  <!-- Whether the device will automatically (at first boot) have a designated main user and treat
26       it as a permanent admin.
27       Since the main user is a permanent admin user it can't be deleted or downgraded to
28       non-admin status.
29       This is generally only relevant on headless system user mode (HSUM) devices; on other
30       devices, the main user is the system user which is always a permanent admin anyway.
31       Note that HSUM devices without this enabled will not automatically have a main user. -->
32  <bool name="config_isMainUserPermanentAdmin">true</bool>
33
34  <!-- Maximum number of users we allow to be running at a time.
35       Note that this includes the headless system user. -->
36  <integer name="config_multiuserMaxRunningUsers">4</integer>
37
38</resources>
39