diff options
author | Benjamin Franz <bfranz@google.com> | 2017-08-09 14:16:03 +0100 |
---|---|---|
committer | Benjamin Franz <bfranz@google.com> | 2017-08-31 16:11:47 +0100 |
commit | 77c94a9c03cf92a2325b442c863a19e5fd58f255 (patch) | |
tree | ea80c815fefb56b8bb314b8f7913268044a18cdf /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | b1671e0e1affc085e0e196e79ee1185d03a5ae91 (diff) |
Create a flag to allow starting managed user in background
Currently DPM.createAndManageUser does not start the user in the
background, leading to a potential race between user having access to
the secondary user and admin having time to push policies. To mitigate
this we're adding a flag that allows secondary users to be started in
background as part of the API. The admin can then apply policies before
switching to that user.
Bug: 64382185
Test: cts-tradefed run singleCommand cts -m DevicePolicyManager --test
com.android.cts.devicepolicy.DeviceOwnerTest#testCreateAndManageUser_StartUserInBackground
--abi arm64-v8a
Change-Id: Id6f6ab7584a249680c8554c21977cbb69a220332
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions