commit | 5108f1efa6e4db4fac3b83047917f35192488d11 | [log] [tgz] |
---|---|---|
author | Lenka Trochtova <ltrochtova@google.com> | Tue Feb 14 12:02:26 2017 +0100 |
committer | Lenka Trochtova <ltrochtova@google.com> | Tue Feb 14 14:44:06 2017 +0100 |
tree | be9f4d0d002836001d4e20a13cbc9bd0ee5b085b | |
parent | 7183b6908b0af807491e90f37e9e05794bd0c3f1 [diff] |
Use DevicePolicyData#mUserSetupComplete for DPM's isDeviceProvisioned. DevicePolicyData#mUserSetupComplete on user 0 us a more accurate and reliable indicator of whether the device has been provisioned than the currently used 'ro.device_owner' property. Test: gts-tradefed run gts -m GtsGmscoreHostTestCases --test com.google.android.gts.devicepolicy.DevicePolicyManagerTest BUG: 29935702 Change-Id: Iec62f2aebe865ac0ee69c2cc7177333ce5450474