Merge changes from topic "am-09249f80-e618-46fc-ac06-c7fdc73c36ae" into oc-dev

am: 07a485743a

Change-Id: I0ba4a71037e5bac19a540320665446b55b7aafb6
This commit is contained in:
Eran Messeri
2019-04-10 17:35:21 -07:00
committed by android-build-merger

View File

@@ -7798,6 +7798,7 @@ public class DevicePolicyManagerService extends IDevicePolicyManager.Stub {
if (!mHasFeature) { if (!mHasFeature) {
return null; return null;
} }
enforceManageUsers();
synchronized (this) { synchronized (this) {
List<String> result = null; List<String> result = null;
// If we have multiple profiles we return the intersection of the // If we have multiple profiles we return the intersection of the