Merge pull request #14 from milanperera/master

Fixed an issue in policy based on ownership type
This commit is contained in:
Geeth 2015-06-12 13:10:53 +05:30
commit 89262ef1d4

View File

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