display: set vconf key only if the value is changed 64/108964/2
authortaeyoung <ty317.kim@samsung.com>
Fri, 6 Jan 2017 09:36:02 +0000 (18:36 +0900)
committerTaeyoung Kim <ty317.kim@samsung.com>
Fri, 20 Jan 2017 02:43:12 +0000 (18:43 -0800)
commitadbd810625c06f556ef7902e85e60672d9b7a043
tree05385128c5cf2393b957e0530d2bee420b756d90
parent7a2ee8c44d78b4c78a046f5ce984012a84b15544
display: set vconf key only if the value is changed

Previously, the vconf key could be set with same value.
Thus the display state callback of the capi-system-device
could be called several times with same state.

Now, the vconf key is updated only if the value is changed.
Thus the callback of the api will be called once
for a certain display state.

Change-Id: I35a89dc6a882b58fb86c21a2b8a8b570231db97c
Signed-off-by: taeyoung <ty317.kim@samsung.com>
src/display/setting.c