Merge pull request #678 from Kamidu/master

Changing the device notification msg
revert-dabc3590
Milan Perera 8 years ago committed by GitHub
commit 3e122e96ea

@ -193,8 +193,8 @@ public class DeviceManagementServiceImpl implements DeviceManagementService {
notification.setOperationId(operation.getId()); notification.setOperationId(operation.getId());
notification.setStatus(org.wso2.carbon.device.mgt.common.notification.mgt.Notification. notification.setStatus(org.wso2.carbon.device.mgt.common.notification.mgt.Notification.
Status.NEW.toString()); Status.NEW.toString());
notification.setDescription(operation.getCode() + " operation did fail to execute on device " + notification.setDescription(operation.getCode() + " operation failed to execute on device " +
deviceName + " with identifier " + deviceId); deviceName + " (ID: " + deviceId + ")");
AndroidAPIUtils.getNotificationManagementService().addNotification(id, notification); AndroidAPIUtils.getNotificationManagementService().addNotification(id, notification);
} }
if (log.isDebugEnabled()) { if (log.isDebugEnabled()) {

Loading…
Cancel
Save