Change-Id: I4d895319ce92b9658431aa8129371cd8f7902571
Signed-off-by: Kyeonghun Lee <kh9090.lee@samsung.com>
int ret = 0;
int state = 0;
int ret = 0;
int state = 0;
- ret = dpm_restriction_get_messaging_state(dpm_handle, &state);
+ ret = dpm_restriction_get_messaging_state(dpm_handle, "sim1", &state);
if (ret != DPM_ERROR_NONE) {
MSG_ERR("dpm_restriction_get_messaging_state failed [%d]", ret);
return;
if (ret != DPM_ERROR_NONE) {
MSG_ERR("dpm_restriction_get_messaging_state failed [%d]", ret);
return;
int ret = 0;
int state = 0;
int ret = 0;
int state = 0;
- ret = dpm_restriction_get_messaging_state(dpm_handle, &state);
+ ret = dpm_restriction_get_messaging_state(dpm_handle, "sim1", &state);
if (ret != DPM_ERROR_NONE) {
MSG_ERR("dpm_restriction_get_messaging_state failed [%d]", ret);
return;
if (ret != DPM_ERROR_NONE) {
MSG_ERR("dpm_restriction_get_messaging_state failed [%d]", ret);
return;