Updated DeviceManager service to latest DMService

This commit is contained in:
harshanl 2015-11-13 21:59:47 +05:30
parent 68bbc810ac
commit 5a797d4de1
2 changed files with 10 additions and 0 deletions

View File

@ -296,6 +296,11 @@ public class AndroidDeviceManager implements DeviceManager {
licenseManager.addLicense(AndroidDeviceManagementService.DEVICE_TYPE_ANDROID, license);
}
@Override
public boolean requireDeviceAuthorization() {
return true;
}
@Override
public boolean updateDeviceInfo(DeviceIdentifier deviceIdentifier, Device device)
throws DeviceManagementException {

View File

@ -263,6 +263,11 @@ public class WindowsDeviceManager implements DeviceManager {
licenseManager.addLicense(WindowsDeviceManagementService.DEVICE_TYPE_WINDOWS, license);
}
@Override
public boolean requireDeviceAuthorization() {
return false;
}
@Override
public boolean updateDeviceInfo(DeviceIdentifier deviceIdentifier,
Device device) throws DeviceManagementException {