Fixed an issue in policy based on ownership type

revert-70aa11f8
mharindu 9 years ago
parent 1ed6eec02f
commit 29b58576f8

@ -72,6 +72,7 @@ public class PolicyInformationPointImpl implements PolicyInformationPoint {
pipDevice.setDeviceType(deviceType); pipDevice.setDeviceType(deviceType);
pipDevice.setDeviceIdentifier(deviceIdentifier); pipDevice.setDeviceIdentifier(deviceIdentifier);
pipDevice.setUserId(device.getOwner()); pipDevice.setUserId(device.getOwner());
pipDevice.setOwnershipType(device.getOwnership());
// TODO : Find a way to retrieve the timestamp and location (lat, long) of the device // TODO : Find a way to retrieve the timestamp and location (lat, long) of the device
// pipDevice.setLongitude(); // pipDevice.setLongitude();

Loading…
Cancel
Save