Change-Id: I8def211b743851d0003b9c7ec35fe71e3ffea715
Signed-off-by: Kyeonghun Lee <kh9090.lee@samsung.com>
if (msg_check_dpm_policy(pMsgInfo->msgType.mainType) == false) {
MSG_DEBUG("Messaging is restricted by DPM policy.");
pMsgInfo->bRestricted = true;
- *pSendNoti = false;
}
err = MsgStoAddMessage(pMsgInfo, NULL);
MSG_BEGIN();
try {
- if (msg_check_dpm_policy(pReqInfo->msgInfo.msgType.mainType) == false) {
+ if (pReqInfo->msgInfo.msgType.subType != MSG_GET_MMS && msg_check_dpm_policy(pReqInfo->msgInfo.msgType.mainType) == false) {
MSG_DEBUG("Messaging is restricted by DPM policy.");
return MSG_ERR_DPM_RESTRICT;
}