Updated DeviceManager service to latest DMService

revert-dabc3590
harshanl 9 years ago
parent 68bbc810ac
commit 5a797d4de1

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

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

Loading…
Cancel
Save