Fix initial location insert issue upoun enrollment

This commit is contained in:
charitha 2020-03-13 09:58:21 +05:30
parent a8174574ab
commit a733947c9e

View File

@ -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() + "'";