mirror of
https://repository.entgra.net/community/device-mgt-plugins.git
synced 2025-09-16 23:42:15 +00:00
Fix initial location insert issue upoun enrollment
This commit is contained in:
parent
a8174574ab
commit
a733947c9e
@ -278,7 +278,7 @@ public class DeviceManagementServiceImpl implements DeviceManagementService {
|
|||||||
try {
|
try {
|
||||||
DeviceInformationManager informationManager = AndroidAPIUtils
|
DeviceInformationManager informationManager = AndroidAPIUtils
|
||||||
.getDeviceInformationManagerService();
|
.getDeviceInformationManagerService();
|
||||||
informationManager.addDeviceLocation(device, deviceLocation);
|
informationManager.addDeviceLocation(deviceLocation);
|
||||||
} catch (DeviceDetailsMgtException e) {
|
} catch (DeviceDetailsMgtException e) {
|
||||||
String msg = "Error occurred while updating the device location upon android " +
|
String msg = "Error occurred while updating the device location upon android " +
|
||||||
"', which carries the id '" + androidDevice.getDeviceIdentifier() + "'";
|
"', which carries the id '" + androidDevice.getDeviceIdentifier() + "'";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user