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>
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);
}