Merge pull request #678 from Kamidu/master

Changing the device notification msg
This commit is contained in:
Milan Perera 2017-05-12 07:57:09 +05:30 committed by GitHub
commit 3e122e96ea

View File

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