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

Commit 1d046ca5 authored by Felipe Leme's avatar Felipe Leme
Browse files

Added createInitialUser config and flag.

Test: build
Flag: EXEMPT flag creation
Bug: 409650316

Change-Id: I384fdf0e80802dc9aff598697b0d9ba17140ea16
parent 75abf492
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -488,3 +488,10 @@ flag {
    bug: "374830726"
    is_fixed_read_only: true
}

flag {
     name: "create_initial_user"
     namespace: "multiuser"
     description: "Creates a non-main user on boot when device is HSUM and doesn't support main user"
     bug: "409650316"
}
+5 −0
Original line number Diff line number Diff line
@@ -3240,6 +3240,11 @@
         If false, only the MainUser is eligible to have profiles. -->
    <bool name="config_supportProfilesOnNonMainUser">false</bool>

    <!-- Whether the system should create the initial full user on boot.
         Notice that if config_isMainUserPermanentAdmin is true, this config is
         ignored (as the initial user is the main user). -->
    <bool name="config_createInitialUser">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
@@ -364,6 +364,7 @@
  <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_createInitialUser"/>
  <java-symbol type="bool" name="config_canSwitchToHeadlessSystemUser"/>
  <java-symbol type="bool" name="config_enableMultiUserUI"/>
  <java-symbol type="bool" name="config_enableMultipleAdmins"/>