mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Fixed an issue in policy based on ownership type
This commit is contained in:
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…
Reference in New Issue
Block a user