fix error of vconf changed callback
authorYoungjae Shin <yj99.shin@samsung.com>
Tue, 29 Oct 2019 10:03:33 +0000 (19:03 +0900)
committerYoungjae Shin <yj99.shin@samsung.com>
Thu, 19 Mar 2020 04:30:37 +0000 (13:30 +0900)
vconf/VconfPlugin.cpp

index 718eaae197a54fb905a6bde5c918a1da7c9c3c1f..6fa86ceec6e3088d9b1984399d44bff846449392 100644 (file)
@@ -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);