}
// get initial value from vconf
-#if DISABLED_CODE
+ int value = SETTING_BRIGHTNESS_LEVEL7;
int ret = setting_get_int_slp_key(INT_SLP_SETTING_LCD_BRIGHTNESS, &value, &err);
if (ret == SETTING_RETURN_FAIL) {
value = SETTING_BRIGHTNESS_LEVEL5;
SETTING_TRACE("******* value = %d ", value);
}
-#else
- int value = SETTING_BRIGHTNESS_LEVEL7;
- device_get_brightness(BRIGHTNESS_DISPLAY, &value);
- SETTING_TRACE("******* value = %d ", value);
-#endif
// [UI] Slider control for Bightness
ad->data_br_sli =
} else {
// TOGGLE OFF
int value = SETTING_BRIGHTNESS_LEVEL7;
- device_get_brightness(BRIGHTNESS_DISPLAY, &value);
+ //device_get_brightness(BRIGHTNESS_DISPLAY, &value);
+ value = elm_slider_value_get(ad->data_br_sli->eo_check);
SETTING_TRACE(" SENOSR :: %d ", value);