summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Felipe Leme <felipeal@google.com> 2025-03-18 12:42:46 -0700
committer Android (Google) Code Review <android-gerrit@google.com> 2025-03-18 12:42:46 -0700
commit744ad4f003a8e3b4d0d693e0b69b45f926896b45 (patch)
tree9198069f5ce4c41465f6972365a02b58746418a2
parente816dcd70aa53b0ea64d8178bdeb36f6405eb80a (diff)
parentdc6c3038ec5afe271cd91badbfb8b9011d91fbcf (diff)
Merge "Config for supporting profiles on Non-MainUser" into main
-rw-r--r--core/res/res/values/config.xml4
-rw-r--r--core/res/res/values/symbols.xml1
2 files changed, 5 insertions, 0 deletions
diff --git a/core/res/res/values/config.xml b/core/res/res/values/config.xml
index 1a74fe6719e3..7bb799a24ef1 100644
--- a/core/res/res/values/config.xml
+++ b/core/res/res/values/config.xml
@@ -3209,6 +3209,10 @@
Note that HSUM devices without this enabled will not automatically have a main user. -->
<bool name="config_isMainUserPermanentAdmin">true</bool>
+ <!-- Whether all secondary users (and the system user) are eligible to have profiles.
+ If false, only the MainUser is eligible to have profiles. -->
+ <bool name="config_supportProfilesOnNonMainUser">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">false</bool>
diff --git a/core/res/res/values/symbols.xml b/core/res/res/values/symbols.xml
index a37ca2847638..2dc5687a1253 100644
--- a/core/res/res/values/symbols.xml
+++ b/core/res/res/values/symbols.xml
@@ -363,6 +363,7 @@
<java-symbol type="bool" name="config_speed_up_audio_on_mt_calls" />
<java-symbol type="bool" name="config_useFixedVolume" />
<java-symbol type="bool" name="config_isMainUserPermanentAdmin"/>
+ <java-symbol type="bool" name="config_supportProfilesOnNonMainUser"/>
<java-symbol type="bool" name="config_canSwitchToHeadlessSystemUser"/>
<java-symbol type="bool" name="config_enableMultiUserUI"/>
<java-symbol type="bool" name="config_enableMultipleAdmins"/>