Now, callback and get_state fucntion of Device CAPI depend on vconf key.
So another process and app can not known using vconf immediately.
Deviced should be set pmstate vconf when display is changed.
Change-Id: I15f5b8b2ba355aa5be38ed2455794efe84a625a6
Signed-off-by: Jeong Donghwan <dh.jeong@samsung.com>
backlight_ops.update();
}
+ if (state == LCD_NORMAL)
+ set_setting_pmstate(S_NORMAL);
+ else if (state == LCD_DIM)
+ set_setting_pmstate(S_LCDDIM);
+
DD_LIST_FOREACH(lcdon_ops, l, ops)
ops->start(flags);
touch_blocked = true;
+ set_setting_pmstate(S_LCDOFF);
+
if (lcdon_broadcast) {
broadcast_lcd_off(SIGNAL_PRE, flags);
lcdon_broadcast = false;