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

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

Clarify that config_defaultFirstUserRestrictions is for the SYSTEM user

Default user restrictions can be set by user type. For the SYSTEM user, i.e. user 0, this is done via setting config_defaultFirstUserRestrictions. The meaning of "FirstUser" is slightly ambiguous - on a headless-system-user it isn't totally clear what that means. So we update the documentation here to clarify that it is specifically for the SYSTEM user (user 0).

Bug: 251802540
Change-Id: Id0ec0153f9637aace192fd0e2c3e70fa1c206b92
Test: N/A
parent 14da54ef
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3980,7 +3980,7 @@
    <!-- Colon separated list of package names that should be granted DND access -->
    <string name="config_defaultDndAccessPackages" translatable="false">com.android.camera2</string>

    <!-- User restrictions set when the first user is created.
    <!-- User restrictions set on the SYSTEM user when it is first created.
         Note: Also update appropriate overlay files. -->
    <string-array translatable="false" name="config_defaultFirstUserRestrictions">
    </string-array>
+1 −1
Original line number Diff line number Diff line
@@ -3446,7 +3446,7 @@
  <java-symbol type="array" name="config_displayWhiteBalanceDisplayNominalWhite" />
  <java-symbol type="bool" name="config_displayWhiteBalanceLightModeAllowed" />

  <!-- Default first user restrictions -->
  <!-- Default user restrictions for the SYSTEM user -->
  <java-symbol type="array" name="config_defaultFirstUserRestrictions" />

  <java-symbol type="bool" name="config_permissionsIndividuallyControlled" />