Fix initial location insert issue upoun enrollment

revert-dabc3590
Charitha Goonetilleke 5 years ago
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…
Cancel
Save