|
|
@ -78,7 +78,6 @@ public class CurrentSensorManagerService {
|
|
|
|
enrolmentInfo.setDateOfEnrolment(new Date().getTime());
|
|
|
|
enrolmentInfo.setDateOfEnrolment(new Date().getTime());
|
|
|
|
enrolmentInfo.setDateOfLastUpdate(new Date().getTime());
|
|
|
|
enrolmentInfo.setDateOfLastUpdate(new Date().getTime());
|
|
|
|
enrolmentInfo.setStatus(EnrolmentInfo.Status.ACTIVE);
|
|
|
|
enrolmentInfo.setStatus(EnrolmentInfo.Status.ACTIVE);
|
|
|
|
enrolmentInfo.setOwnership(EnrolmentInfo.OwnerShip.BYOD);
|
|
|
|
|
|
|
|
device.setName(name);
|
|
|
|
device.setName(name);
|
|
|
|
device.setType(CurrentSensorConstants.DEVICE_TYPE);
|
|
|
|
device.setType(CurrentSensorConstants.DEVICE_TYPE);
|
|
|
|
enrolmentInfo.setOwner(owner);
|
|
|
|
enrolmentInfo.setOwner(owner);
|
|
|
|