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 {
DeviceInformationManager informationManager = AndroidAPIUtils
.getDeviceInformationManagerService();
informationManager.addDeviceLocation(device, deviceLocation);
informationManager.addDeviceLocation(deviceLocation);
} catch (DeviceDetailsMgtException e) {
String msg = "Error occurred while updating the device location upon android " +
"', which carries the id '" + androidDevice.getDeviceIdentifier() + "'";

Loading…
Cancel
Save