Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dc6c3038 authored by Adam Bookatz's avatar Adam Bookatz
Browse files

Config for supporting profiles on Non-MainUser

Introduces a configuration to indicate that a device allows users other than the MainUser to have a profile.

Flag: EXEMPT xml
Bug: 374832167
Test: N/A (just xml; hooking up to code will be done separately)
Change-Id: Icabd97c4570345cc377bbbfcc9dd32537acac673
parent 4121f58b
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -3203,6 +3203,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>
+1 −0
Original line number Diff line number Diff line
@@ -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"/>