Add Android and Windows mobile devices to super tenant

charithag 9 years ago
parent 7cf3dfbf37
commit a61433d35a

@ -36,6 +36,7 @@ public class AndroidDeviceManagementService implements DeviceManagementService {
private DeviceManager deviceManager; private DeviceManager deviceManager;
public static final String DEVICE_TYPE_ANDROID = "android"; public static final String DEVICE_TYPE_ANDROID = "android";
public static final String DEVICE_TYPE_TENANT = "carbon.super";
@Override @Override
public String getType() { public String getType() {
@ -44,12 +45,12 @@ public class AndroidDeviceManagementService implements DeviceManagementService {
@Override @Override
public String getProviderTenantDomain() { public String getProviderTenantDomain() {
return null; return DEVICE_TYPE_TENANT;
} }
@Override @Override
public boolean isSharedWithAllTenants() { public boolean isSharedWithAllTenants() {
return false; return true;
} }
@Override @Override

@ -36,6 +36,7 @@ public class WindowsDeviceManagementService implements DeviceManagementService {
private DeviceManager deviceManager; private DeviceManager deviceManager;
public static final String DEVICE_TYPE_WINDOWS = "windows"; public static final String DEVICE_TYPE_WINDOWS = "windows";
public static final String DEVICE_TYPE_TENANT = "carbon.super";
@Override @Override
public String getType() { public String getType() {
@ -44,12 +45,12 @@ public class WindowsDeviceManagementService implements DeviceManagementService {
@Override @Override
public String getProviderTenantDomain() { public String getProviderTenantDomain() {
return null; return DEVICE_TYPE_TENANT;
} }
@Override @Override
public boolean isSharedWithAllTenants() { public boolean isSharedWithAllTenants() {
return false; return true;
} }
@Override @Override

Loading…
Cancel
Save