Change-Id: I209c6506660505b5255779024d83e8e4fd15e8a4
Signed-off-by: Oleksander Kostenko <o.kostenko@samsung.com>
MainType, //Type from home screen
ReplyType, //Type for reply message button clicked
ViewType, //Type for view message button clicked
- NotificationType //Type from notification panel
+ NotificationType, //Type from notification panel
+ SendFailedType //Send failed message type
};
public:
free(key);
if(type == valueReply)
m_DefaultType = ReplyType;
- else if(type == valueNewMsg || type == valueSendFailed)
+ else if(type == valueNewMsg)
viewMessage(handle);
+ else if(type == valueSendFailed)
+ m_DefaultType = SendFailedType;
else
MSG_LOG("Unknown type!");
saveDraftMsg();
}
+ if(cmd->getDefaultType() == AppControlDefault::SendFailedType)
+ {
+ pop();
+ return;
+ }
+
if(cmd->getDefaultType() == AppControlDefault::NotificationType && getMsgEngine().getStorage().getUnreadThreadCount() > 1)
{
pop();