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

Commit 7b474b64 authored by Brahim Chikhaoui's avatar Brahim Chikhaoui
Browse files

Add a new config_HsumBootStrategy to control the boot strategy in Headless System User Mode (HSUM)

This config will be used to control the boot strategy in HSUM.
This CL adds the config. A follow-up CL will actually implement the logic.

Context: see DD in the bug

Bug: 374926694
Change-Id: I460e5151cf47d565bed30f2aa6eb1ed9df5e2336
Flag: EXEMPT adding new config only
Test: manually build and deploy in DUT
parent 42a799b2
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -3087,6 +3087,12 @@
    <!-- Whether UI for multi user should be shown -->
    <bool name="config_enableMultiUserUI">false</bool>

    <!-- Indicates the boot strategy in Headless System User Mode (HSUM)
         This config has no effect if the device is not in HSUM.
         0 (Default) : boot to the previous foreground user if there is one, otherwise the first switchable user.
         1 : boot to the first switchable full user for initial boot (unprovisioned device), else to the headless system user, i.e. user 0. -->
    <integer name="config_hsumBootStrategy">0</integer>

    <!-- 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). -->
+1 −0
Original line number Diff line number Diff line
@@ -312,6 +312,7 @@
  <java-symbol type="bool" name="config_disableLockscreenByDefault" />
  <java-symbol type="bool" name="config_enableBurnInProtection" />
  <java-symbol type="bool" name="config_hotswapCapable" />
  <java-symbol type="integer" name="config_hsumBootStrategy" />
  <java-symbol type="bool" name="config_mms_content_disposition_support" />
  <java-symbol type="bool" name="config_networkSamplingWakesDevice" />
  <java-symbol type="bool" name="config_showMenuShortcutsWhenKeyboardPresent" />