modify msg-service to support dpm feature
[platform/core/messaging/msg-service.git] / proxy / MsgHandleControl.cpp
index 1357ceb..e4a9f5c 100755 (executable)
@@ -323,6 +323,7 @@ void MsgHandle::convertMsgStruct(const MSG_MESSAGE_HIDDEN_S *pSrc, MSG_MESSAGE_I
        }
 
        pDest->sim_idx = pSrc->simIndex;
+       pDest->bRestricted = pSrc->bRestricted;
 
        MSG_END();
 }
@@ -351,6 +352,7 @@ void MsgHandle::convertMsgStruct(const MSG_MESSAGE_INFO_S *pSrc, MSG_MESSAGE_HID
        pDest->priority = pSrc->priority;
        pDest->direction = pSrc->direction;
        pDest->simIndex = pSrc->sim_idx;
+       pDest->bRestricted = pSrc->bRestricted;
 
        /* Set Port Info. */
        pDest->bPortValid = pSrc->msgPort.valid;