Add new API function createAndManageUser
This is a reduced version of the (deprecated) function createAndInitializeUser, that allows the device owner to create a new user and pass a bundle with information for initialization. The new version of the function has the same functionality, but the profile owner of the new user is always the device owner. A flag can be specified to skip the setup wizard for the new user. The new user is not started in the background, as opposed to how createAndInitializeUser did it. Instead, the bundle with initialization information is stored and will be broadcast when the user is started for the first time. Bug: 25288732, 25860170 Change-Id: I4e1aea6d2b7821b412c131e88454dff5934192aa
Loading
Please register or sign in to comment