diff options
author | Kyeonghun Lee <kh9090.lee@samsung.com> | 2016-12-05 16:00:51 +0900 |
---|---|---|
committer | Kyeonghun Lee <kh9090.lee@samsung.com> | 2016-12-05 16:00:51 +0900 |
commit | d967d54ec9a0381e72a2a35f92fa0d3cdb65b6a6 (patch) | |
tree | fc677c057312e2624dc8090d0d10cd68050004df | |
parent | 94f7ebd2f3a9df4eb782e33ab537512f0fd7b23a (diff) | |
download | msg-service-d967d54ec9a0381e72a2a35f92fa0d3cdb65b6a6.tar.gz msg-service-d967d54ec9a0381e72a2a35f92fa0d3cdb65b6a6.tar.bz2 msg-service-d967d54ec9a0381e72a2a35f92fa0d3cdb65b6a6.zip |
DPM APIs modification: SIM ID supportsubmit/tizen_3.0/20161205.022357accepted/tizen/3.0/wearable/20161205.234414accepted/tizen/3.0/mobile/20161205.234300accepted/tizen/3.0/ivi/20161205.234442accepted/tizen/3.0/common/20161206.125337
Change-Id: I4d895319ce92b9658431aa8129371cd8f7902571
Signed-off-by: Kyeonghun Lee <kh9090.lee@samsung.com>
-rw-r--r-- | framework/MsgDPMUtils.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/MsgDPMUtils.cpp b/framework/MsgDPMUtils.cpp index 1d4d6ca..c9562c1 100644 --- a/framework/MsgDPMUtils.cpp +++ b/framework/MsgDPMUtils.cpp @@ -39,7 +39,7 @@ static void dpm_sms_policy_changed_callback(const char* name, const char* object 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; @@ -80,7 +80,7 @@ void __get_dpm_policy() 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; |