- cache should be updated in notify_cb to guarantee accurate value.
Change-Id: I47f35e481061462beee602580c449bf56d042063
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
(cherry picked from commit
49ad9fca0a58811426d4a96424794e577f94bb7d)
node->keyname = strdup(key);
to_vconf_t(val, node);
+ if (g_hash_table_contains(cache_tbl, key)) {
+ g_hash_table_replace(cache_tbl,
+ strdup(key), buxton_value_duplicate(val));
+ }
+
g_idle_add_full(G_PRIORITY_HIGH, call_noti_cb, node, NULL);
}