commit | 295f8382c2354bdd2fad18de653aac9696df6f9e | [log] [tgz] |
---|---|---|
author | Oli Lan <olilan@google.com> | Tue Jan 24 14:40:10 2023 +0000 |
committer | Oli Lan <olilan@google.com> | Fri Feb 10 18:34:11 2023 +0000 |
tree | 3ff4a162bfd044bac0ccd308e6b90f66ae1e6cda | |
parent | aef03412f4c002097833ed2a5b5bb328b0d671d4 [diff] |
Allow primary user only restrictions to be set on main user. This updates the check applied to primary user only restrictions, to check for the main user instead of the system user. This will allow these restrictions to function as intended on devices in headless system user mode. Bug: 266091654 Test: atest UserRestrictionsUtilsTest Change-Id: I94c63d0492034af39608c3d81700f71e89e37d0e