commit | ec902a9694969e1ea9f9298e11a193a30aade797 | [log] [tgz] |
---|---|---|
author | Felipe Leme <felipeal@google.com> | Wed Oct 06 16:43:55 2021 -0700 |
committer | Felipe Leme <felipeal@google.com> | Wed Oct 06 16:47:24 2021 -0700 |
tree | 071127943348d0e59fc83450c1d574f32aec7b24 | |
parent | ef4d26ab45c9709ff0bf0cb53909da34d8ac879b [diff] |
Do not set profile owner on guest users on headless system user. The guest user cannot have extra apps, hence the DPC app is not installed. We could try to bypass that restriction, but it could cause other issues down the road; besides, on phones the guest user is not managed neither and DPM doesn't provide an API to created managed guests. Test: manual verification using TestDpc Fixes: 202327386 Change-Id: I02f963bc84325dd73a18abb7103fc34d4960005d