Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 78c2848f authored by Ethan Chen's avatar Ethan Chen
Browse files

healthd: Call common backlight function

Change-Id: I0cb5a3269cc47f1ddfd7e9e641fcc9405cb97872
parent 1705d1c2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -608,7 +608,7 @@ static void process_key(struct charger *charger, int code, int64_t now)
                   accordingly. */
                if (property_get_bool("ro.enable_boot_charger_mode", false)) {
                    LOGW("[%" PRId64 "] booting from charger mode\n", now);
                    set_backlight(false);
                    healthd_board_mode_set_backlight(false);
                    gr_fb_blank(true);
                    property_set("sys.boot_from_charger_mode", "1");
                } else {