mirror of
https://repository.entgra.net/community/device-mgt-plugins.git
synced 2025-09-16 23:42:15 +00:00
removing unwanted values from notification
This commit is contained in:
parent
120283adf4
commit
84a6522cb8
@ -87,7 +87,7 @@ public class OperationHandler {
|
|||||||
Notification lockResetNotification = new Notification();
|
Notification lockResetNotification = new Notification();
|
||||||
lockResetNotification.setOperationId(status.getCommandReference());
|
lockResetNotification.setOperationId(status.getCommandReference());
|
||||||
lockResetNotification.setStatus(String.valueOf(Notification.Status.NEW));
|
lockResetNotification.setStatus(String.valueOf(Notification.Status.NEW));
|
||||||
// lockResetNotification.setDeviceIdentifier(deviceIdentifier);
|
|
||||||
lockResetNotification.setDescription(
|
lockResetNotification.setDescription(
|
||||||
Constants.SyncMLResponseCodes.LOCK_RESET_NOTIFICATION);
|
Constants.SyncMLResponseCodes.LOCK_RESET_NOTIFICATION);
|
||||||
nmService.addNotification(deviceIdentifier, lockResetNotification);
|
nmService.addNotification(deviceIdentifier, lockResetNotification);
|
||||||
@ -152,7 +152,6 @@ public class OperationHandler {
|
|||||||
Notification lockResetNotification = new Notification();
|
Notification lockResetNotification = new Notification();
|
||||||
lockResetNotification.setOperationId(status.getCommandReference());
|
lockResetNotification.setOperationId(status.getCommandReference());
|
||||||
lockResetNotification.setStatus(String.valueOf(Notification.Status.NEW));
|
lockResetNotification.setStatus(String.valueOf(Notification.Status.NEW));
|
||||||
// lockResetNotification.setDeviceIdentifier(deviceIdentifier);
|
|
||||||
lockResetNotification.setDescription(Constants.SyncMLResponseCodes.LOCK_RESET_NOTIFICATION);
|
lockResetNotification.setDescription(Constants.SyncMLResponseCodes.LOCK_RESET_NOTIFICATION);
|
||||||
|
|
||||||
nmService.addNotification(deviceIdentifier, lockResetNotification);
|
nmService.addNotification(deviceIdentifier, lockResetNotification);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user