Add a feature flag for timeout to user 0 when docked.

Bug: 213906356
Test: manual
Change-Id: I2df030ea9afe7a58717e432540b62486afd6719b
This commit is contained in:
Darrell Shi
2022-01-27 00:51:49 +00:00
parent 2bbbc9a2e8
commit 7c0a7b94d5
2 changed files with 5 additions and 0 deletions

View File

@@ -2612,6 +2612,10 @@
will be locked. -->
<bool name="config_multiuserDelayUserDataLocking">false</bool>
<!-- Whether to automatically switch a non-primary user back to the primary user after a
timeout when the device is docked. -->
<bool name="config_enableTimeoutToUserZeroWhenDocked">false</bool>
<!-- Whether to only install system packages on a user if they're allowlisted for that user
type. These are flags and can be freely combined.
0 - disable allowlist (install all system packages; no logging)

View File

@@ -465,6 +465,7 @@
<java-symbol type="integer" name="config_multiuserMaximumUsers" />
<java-symbol type="integer" name="config_multiuserMaxRunningUsers" />
<java-symbol type="bool" name="config_multiuserDelayUserDataLocking" />
<java-symbol type="bool" name="config_enableTimeoutToUserZeroWhenDocked" />
<java-symbol type="integer" name="config_userTypePackageWhitelistMode"/>
<java-symbol type="xml" name="config_user_types" />
<java-symbol type="integer" name="config_safe_media_volume_index" />