commit | 4458ad7f23524d890cc6a2bc26500c5f19169d26 | [log] [tgz] |
---|---|---|
author | Kholoud Mohamed <kholoudm@google.com> | Tue Apr 23 16:44:06 2024 +0000 |
committer | Kholoud Mohamed <kholoudm@google.com> | Wed Apr 24 11:04:03 2024 +0000 |
tree | caf0f3b1ac58d9dd3b4c3fba6cbb34f237db51ce | |
parent | 81f6b5c690b5d5e1bf8c87523ab28ee5ad1d09ed [diff] |
Fix bug in createAndManageUser on non hsum devices The recent changes for blocking createAndManageUser accidentally blocked it even on non-hsum devices if the DPC had specified the single_user mode in its manifest. Bug: 336547982 Test: atest com.android.cts.devicepolicy.DeviceOwnerTest Change-Id: I937c68eb1a6eef6cc26e18d7f17f651e4dac072e