summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiyoung Yun <jy910.yun@samsung.com>2015-07-28 14:22:26 +0900
committerJiyoung Yun <jy910.yun@samsung.com>2015-07-28 14:22:26 +0900
commite36e9d60753ba0b9248f461dcd6604b8a8bffd4b (patch)
tree0c6085ef44e1946673ee663821f2714e12403ca3
parent583a43f8cb19023f953a61466839475af3f09120 (diff)
downloaddeviced-e36e9d60753ba0b9248f461dcd6604b8a8bffd4b.tar.gz
deviced-e36e9d60753ba0b9248f461dcd6604b8a8bffd4b.tar.bz2
deviced-e36e9d60753ba0b9248f461dcd6604b8a8bffd4b.zip
The display api in capi-system-device depends on display state vconf key. So it should be updated whenever display state is changed to notify others changing events. Change-Id: I52084fbd51da92af2313c2aa130c98bff777a004 Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
-rw-r--r--src/display/core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/display/core.c b/src/display/core.c
index a6ce682e..cce5d642 100644
--- a/src/display/core.c
+++ b/src/display/core.c
@@ -1604,6 +1604,7 @@ static int default_action(int timeout)
if (pm_cur_state != pm_old_state && pm_cur_state != S_SLEEP) {
if (power_ops.get_power_lock_support())
power_ops.power_lock();
+ set_setting_pmstate(pm_cur_state);
device_notify(DEVICE_NOTIFIER_LCD, &pm_cur_state);
}