commit | 849fd6f58e92476af3e3eeb802e71fddf372d6f2 | [log] [tgz] |
---|---|---|
author | Mahaver Chopra <mahaver@google.com> | Thu Nov 03 20:28:10 2016 +0000 |
committer | Mahaver <mahaver@google.com> | Mon Dec 05 17:48:42 2016 +0000 |
tree | c80299dc530dc39a7d4b49fba345b64d857269ef | |
parent | 6b92a910e159b4f2f0b364e6df8dc491f5ee317f [diff] |
Return error code from isProvisioningAllowed Added hidden pre condition codes for PO and DO provsioning. Added hidden api checkProvisioningPreCondition, which returns codes instead of boolean. Managed provisioning can use this to show useful debug information and user facing error dialogs. Test: All DevicePolicyManagerTest pass Bug: 27467633 Change-Id: I7d2a79921bc3ac2e12d506629a35563fc7ff62bf