From 2020d584cc0dcbc3aa38e38130a2ce7f58f17988 Mon Sep 17 00:00:00 2001 From: Hokwon Song Date: Mon, 16 Sep 2013 14:09:36 +0900 Subject: [PATCH] Fix set brightness defect. Change-Id: I34805e3f90a7fbb844466405153f85119567da5d Signed-off-by: Hokwon Song --- src/system-server/setting/providers/FSys_SettingScreenProvider.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/system-server/setting/providers/FSys_SettingScreenProvider.cpp b/src/system-server/setting/providers/FSys_SettingScreenProvider.cpp index e1c81a4..b64e1bf 100644 --- a/src/system-server/setting/providers/FSys_SettingScreenProvider.cpp +++ b/src/system-server/setting/providers/FSys_SettingScreenProvider.cpp @@ -271,7 +271,7 @@ _SettingScreenProvider::SetValue(const String& key, const int value) errorCode = vconf_set_int(VCONFKEY_SETAPPL_LCD_BRIGHTNESS, value); SysTryReturnResult(NID_SYS, errorCode == 0, E_SYSTEM, "It is failed to set on VCONFKEY_SETAPPL_LCD_BRIGHTNESS vconf"); - errorCode = device_set_brightness_from_settings(0); + errorCode = device_set_brightness_to_settings(0, value); if(errorCode != 0) { SysLog(NID_SYS, "It is failed to update screen brightness."); -- 2.7.4