chaning the notification msg

revert-dabc3590
kamidu 8 years ago
parent 564c188b83
commit 0c1ff01697

@ -186,8 +186,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