From a76a0d0f4cb1ae748b9ad0ed0396ef9ce434ff46 Mon Sep 17 00:00:00 2001 From: "jy910.yun" Date: Fri, 28 Jun 2013 17:24:07 +0900 Subject: [PATCH] when OSP or WEB api change the brightness, CUSTOM_BRIGHTNESS_STATUS turns on. Change-Id: If73a92c2af22bf0cbaad02c50d43f81d3c153968 Signed-off-by: jy910.yun --- src/display/display-dbus.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/display/display-dbus.c b/src/display/display-dbus.c index 726fbfd..fad28d3 100644 --- a/src/display/display-dbus.c +++ b/src/display/display-dbus.c @@ -338,6 +338,8 @@ static DBusMessage *e_dbus_holdbrightness(E_DBus_Object *obj, DBusMessage *msg) autobrt = SETTING_BRIGHTNESS_AUTOMATIC_OFF; } + vconf_set_int(VCONFKEY_PM_CUSTOM_BRIGHTNESS_STATUS, VCONFKEY_PM_CUSTOM_BRIGHTNESS_ON); + cmd = DISP_CMD(PROP_DISPLAY_BRIGHTNESS, DEFAULT_DISPLAY); ret = device_set_property(DEVICE_TYPE_DISPLAY, cmd, brt); if (ret < 0) -- 2.7.4