Merge "DPMS organisation API - Add a missing checkNotNull"
This commit is contained in:
@@ -7895,6 +7895,7 @@ public class DevicePolicyManagerService extends IDevicePolicyManager.Stub {
|
||||
if (!mHasFeature || !isManagedProfile(userHandle)) {
|
||||
return ActiveAdmin.DEF_ORGANIZATION_COLOR;
|
||||
}
|
||||
Preconditions.checkNotNull(who, "ComponentName is null");
|
||||
synchronized (this) {
|
||||
ActiveAdmin admin = getActiveAdminForCallerLocked(who,
|
||||
DeviceAdminInfo.USES_POLICY_PROFILE_OWNER);
|
||||
|
||||
Reference in New Issue
Block a user