commit | da1aa8f74760cd04e0103945f37df7d9a095ae9d | [log] [tgz] |
---|---|---|
author | Eric Jeong <ericjeong@google.com> | Wed Jul 10 15:16:18 2019 -0700 |
committer | Eric Jeong <ericjeong@google.com> | Wed Jul 17 16:55:55 2019 +0000 |
tree | ebac2a4e764a6df1acff0be9b4cdf5d4293a9ab4 | |
parent | 52210e2834e774cebddae59a631f86897e3bdf2b [diff] |
Add condition to check if a user can have profile user - In Auto, headless system user is used, instead of split system user. - When a profile user is being created based on a normal user, the normal user should not be a system user if headless system user is enabled. - We could consider defining isHeadlessSystemUser in UserManager. Bug: 137195727 Test: Creating profile user in Android Auto should work in hawk_md environment. Change-Id: I47192d8f92320296d4220ded285a36b376e6d971