From: Youngjae Shin Date: Tue, 29 Oct 2019 10:03:33 +0000 (+0900) Subject: fix error of vconf changed callback X-Git-Tag: submit/tizen/20200406.072014~37 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ad2f65b44f7a518bc766cecc59704c7d1dce8e7d;p=platform%2Fcore%2Fsystem%2Fmodes-plugins.git fix error of vconf changed callback --- diff --git a/vconf/VconfPlugin.cpp b/vconf/VconfPlugin.cpp index 718eaae..6fa86ce 100644 --- a/vconf/VconfPlugin.cpp +++ b/vconf/VconfPlugin.cpp @@ -324,6 +324,8 @@ void VconfPlugin::vconfChangedCallback(keynode_t *node, void *userData) return; } + std::string newKey(node->keyname); + std::replace(newKey.begin(), newKey.end(), '/', '.'); cbData->callback(node->keyname, cbData->userData); DBG("Action(%s) is Changed", node->keyname);