#endif
}
+ if (msg_check_dpm_policy(pMsgInfo->msgType.mainType) == false) {
+ MSG_DEBUG("Messaging is restricted by DPM policy.");
+ pMsgInfo->bRestricted = true;
+ *pSendNoti = false;
+ *bOnlyNoti = false;
+ }
+
if (pMsgInfo->msgType.subType == MSG_NORMAL_SMS) {
MSG_DEBUG("Add Normal Message");
err = MsgStoAddMessage(pMsgInfo, &send_opt);
}
}
+ 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);
if (err != MSG_SUCCESS) {