diff options
-rw-r--r-- | packaging/device-manager-plugin-maru.spec | 2 | ||||
-rw-r--r-- | src/device_manager_plugin_maru.c | 7 |
2 files changed, 7 insertions, 2 deletions
diff --git a/packaging/device-manager-plugin-maru.spec b/packaging/device-manager-plugin-maru.spec index 4a07503..657e36a 100644 --- a/packaging/device-manager-plugin-maru.spec +++ b/packaging/device-manager-plugin-maru.spec @@ -1,6 +1,6 @@ Name: device-manager-plugin-maru Summary: device-manager-plugin-maru -Version: 0.0.7 +Version: 0.0.8 Release: 1 Group: TO_BE/FILLED_IN License: TO_BE/FILLED_IN diff --git a/src/device_manager_plugin_maru.c b/src/device_manager_plugin_maru.c index 210582b..044e00f 100644 --- a/src/device_manager_plugin_maru.c +++ b/src/device_manager_plugin_maru.c @@ -369,6 +369,7 @@ int OEM_sys_get_backlight_min_brightness(int index, int *value) int OEM_sys_set_backlight_dimming(int index, int value) { + /* int ret = -1; char path[MAX_NAME+1]; @@ -380,8 +381,12 @@ int OEM_sys_set_backlight_dimming(int index, int value) snprintf(path, MAX_NAME, BACKLIGHT_DIMMING_PATH, disp_info[index].lcd_name); devmgr_log("path[%s]value[%d]", path, value); ret = sys_set_int(path, value); - return ret; + */ + + // TODO : value is only 1 + return OEM_sys_set_backlight_brightness(index, 1, 0/*power_saving*/); + } /* image_enhance */ |