diff options
author | Nicolas Prevot <nprevot@google.com> | 2016-11-10 12:57:54 +0000 |
---|---|---|
committer | Nicolas Prevot <nprevot@google.com> | 2016-11-16 12:12:41 +0000 |
commit | 56400a445fa29b0a90e92d15daf6246cfc3f310d (patch) | |
tree | 93b3a97e010a2f48714d3fecc1e82fd989fb4447 /tools/aapt2/java/JavaClassGenerator.cpp | |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions