commit | 56400a445fa29b0a90e92d15daf6246cfc3f310d | [log] [tgz] |
---|---|---|
author | Nicolas Prevot <nprevot@google.com> | Thu Nov 10 12:57:54 2016 +0000 |
committer | Nicolas Prevot <nprevot@google.com> | Wed Nov 16 12:12:41 2016 +0000 |
tree | 93b3a97e010a2f48714d3fecc1e82fd989fb4447 | |
parent | 2cf7c483a8049e2c657d5f4c138132167fa71ae9 [diff] |
Check user restriction DISALLOW_REMOVE_USER in isProvisioningAllowed. If DISALLOW_REMOVE_USER is set and there is already a managed profile: isProvisioningAllowed() should return false BUG:32629873 Test: adb shell am instrument -e class com.android.server.devicepolicy.DevicePolicyManagerTest -w com.android.frameworks.servicestests/android.support.test.runner.AndroidJUnitRunner Change-Id: I093bed0a4a54f83decf11716ebfd50dd4f17c089