Remove unused code regarding /usr/bin/save_blenv 59/215459/1 accepted/tizen_5.5_unified_mobile_hotfix tizen_5.5_mobile_hotfix accepted/tizen/5.5/unified/20191031.023311 accepted/tizen/5.5/unified/mobile/hotfix/20201027.090849 accepted/tizen/unified/20191011.023405 submit/tizen/20191010.021317 submit/tizen_5.5/20191031.000004 submit/tizen_5.5_mobile_hotfix/20201026.185104 tizen_5.5.m2_release
authorHyotaek Shim <hyotaek.shim@samsung.com>
Tue, 8 Oct 2019 10:05:49 +0000 (19:05 +0900)
committerHyotaek Shim <hyotaek.shim@samsung.com>
Tue, 8 Oct 2019 10:05:49 +0000 (19:05 +0900)
Change-Id: If4418c367927abe2edef46afedb4831797eef154
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
plugins/iot/display/core.c
plugins/mobile/display/core.c
plugins/tv/display/core.c
plugins/wearable/display/core.c

index 50e45f6..ad7e29c 100644 (file)
@@ -66,7 +66,6 @@
  * @{
  */
 
-#define SET_BRIGHTNESS_IN_BOOTLOADER   "/usr/bin/save_blenv SLP_LCD_BRIGHT"
 #define LOCK_SCREEN_INPUT_TIMEOUT      10000
 #define LOCK_SCREEN_CONTROL_TIMEOUT    5000
 #define ALWAYS_ON_TIMEOUT              360000000
@@ -2189,7 +2188,6 @@ static int poll_callback(int condition, PMMsg *data)
 
 static int update_setting(int key_idx, int val)
 {
-       char buf[PATH_MAX];
        int ret;
 
        switch (key_idx) {
@@ -2252,9 +2250,6 @@ static int update_setting(int key_idx, int val)
                                "escape dim state.");
                }
                backlight_ops.set_default_brt(val);
-               snprintf(buf, sizeof(buf), "%d", val);
-               _D("Brightness set in bl(%d).", val);
-               launch_evenif_exist(SET_BRIGHTNESS_IN_BOOTLOADER, buf);
                break;
        case SETTING_LOCK_SCREEN:
                set_lock_screen_state(val);
index 7726cb5..6eaa984 100644 (file)
@@ -68,7 +68,6 @@
  * @{
  */
 
-#define SET_BRIGHTNESS_IN_BOOTLOADER   "/usr/bin/save_blenv SLP_LCD_BRIGHT"
 #define LOCK_SCREEN_INPUT_TIMEOUT      10000
 #define LOCK_SCREEN_CONTROL_TIMEOUT    5000
 #define ALWAYS_ON_TIMEOUT              360000000
@@ -2201,7 +2200,6 @@ static int poll_callback(int condition, PMMsg *data)
 
 static int update_setting(int key_idx, int val)
 {
-       char buf[PATH_MAX];
        int ret;
 
        switch (key_idx) {
@@ -2264,9 +2262,6 @@ static int update_setting(int key_idx, int val)
                                "escape dim state.");
                }
                backlight_ops.set_default_brt(val);
-               snprintf(buf, sizeof(buf), "%d", val);
-               _D("Brightness set in bl(%d).", val);
-               launch_evenif_exist(SET_BRIGHTNESS_IN_BOOTLOADER, buf);
                break;
        case SETTING_LOCK_SCREEN:
                set_lock_screen_state(val);
index 35fb9e2..2d94505 100644 (file)
@@ -66,7 +66,6 @@
  * @{
  */
 
-#define SET_BRIGHTNESS_IN_BOOTLOADER   "/usr/bin/save_blenv SLP_LCD_BRIGHT"
 #define LOCK_SCREEN_INPUT_TIMEOUT      10000
 #define LOCK_SCREEN_CONTROL_TIMEOUT    5000
 #define ALWAYS_ON_TIMEOUT              360000000
@@ -2189,7 +2188,6 @@ static int poll_callback(int condition, PMMsg *data)
 
 static int update_setting(int key_idx, int val)
 {
-       char buf[PATH_MAX];
        int ret;
 
        switch (key_idx) {
@@ -2252,9 +2250,6 @@ static int update_setting(int key_idx, int val)
                                "escape dim state.");
                }
                backlight_ops.set_default_brt(val);
-               snprintf(buf, sizeof(buf), "%d", val);
-               _D("Brightness set in bl(%d).", val);
-               launch_evenif_exist(SET_BRIGHTNESS_IN_BOOTLOADER, buf);
                break;
        case SETTING_LOCK_SCREEN:
                set_lock_screen_state(val);
index 0b984da..1e5998c 100644 (file)
@@ -67,7 +67,6 @@
  * @{
  */
 
-#define SET_BRIGHTNESS_IN_BOOTLOADER   "/usr/bin/save_blenv SLP_LCD_BRIGHT"
 #define LOCK_SCREEN_INPUT_TIMEOUT      10000
 #define LOCK_SCREEN_CONTROL_TIMEOUT    5000
 #define ALWAYS_ON_TIMEOUT              360000000
@@ -2211,7 +2210,6 @@ static int poll_callback(int condition, PMMsg *data)
 
 static int update_setting(int key_idx, int val)
 {
-       char buf[PATH_MAX];
        int ret;
 
        switch (key_idx) {
@@ -2274,9 +2272,6 @@ static int update_setting(int key_idx, int val)
                                "escape dim state.");
                }
                backlight_ops.set_default_brt(val);
-               snprintf(buf, sizeof(buf), "%d", val);
-               _D("Brightness set in bl(%d).", val);
-               launch_evenif_exist(SET_BRIGHTNESS_IN_BOOTLOADER, buf);
                break;
        case SETTING_LOCK_SCREEN:
                set_lock_screen_state(val);