commit | d9758e7479a3d398bc8fcf80846153cf72d61fb6 | [log] [tgz] |
---|---|---|
author | Victor Chang <vichang@google.com> | Wed Dec 07 17:50:02 2016 +0000 |
committer | Victor Chang <vichang@google.com> | Wed Dec 07 20:26:43 2016 +0000 |
tree | 2dc4ceaca8dcd8f845f1502a9749b0be20940269 | |
parent | 84f285c7e0472173e4e252f6937865a0a9b9bb2d [diff] |
Clear DISALLOW_ADD_USER user restriction when dpm remove-active-admin is called from shell - Make the CTS hermetic and not adding new restriction after CTS test - DeviceOwner can't clear this user restriction in CTS, as it's set by ManagedProvisioning - It can be only clear when testOnly DPC becomes deviceOwner, and being removed by remove-active-admin in shell Bug:31856203 Test: build successfully Change-Id: I75b91629ef09c54e9dbe7253df6a52894a938e83