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

Commit 8ff361bd authored by Yao Li's avatar Yao Li
Browse files

Create config_bootToHeadlessSystemUser to allow to boot to headless system user

Create a new config to allow to boot with the headless system user, or user0.
This CL adds the config. A follow-up CL will actually use this config to
boot to system user.

Bug: 350058102
Flag: EXEMPT adding new config only
Test: "m" still builds
Change-Id: I8a01bb8dae4db3b92a08c69380ed1077c245edd7
parent a620f2a6
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -3081,6 +3081,11 @@
    <!-- Whether UI for multi user should be shown -->
    <bool name="config_enableMultiUserUI">false</bool>

    <!-- Whether to boot system with the headless system user, i.e. user 0. If set to true,
         system will be booted with the headless system user, or user 0. It has no effect if device
         is not in Headless System User Mode (HSUM). -->
    <bool name="config_bootToHeadlessSystemUser">false</bool>

    <!-- Whether multiple admins are allowed on the device. If set to true, new users can be created
         with admin privileges and admin privileges can be granted/revoked from existing users. -->
    <bool name="config_enableMultipleAdmins">false</bool>
+1 −0
Original line number Diff line number Diff line
@@ -363,6 +363,7 @@
  <java-symbol type="bool" name="config_canSwitchToHeadlessSystemUser"/>
  <java-symbol type="bool" name="config_enableMultiUserUI"/>
  <java-symbol type="bool" name="config_enableMultipleAdmins"/>
  <java-symbol type="bool" name="config_bootToHeadlessSystemUser"/>
  <java-symbol type="bool" name="config_omnipresentCommunalUser"/>
  <java-symbol type="bool" name="config_enableNewAutoSelectNetworkUI"/>
  <java-symbol type="bool" name="config_disableUsbPermissionDialogs"/>