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

Commit 9b4a9312 authored by Dima Zavin's avatar Dima Zavin Committed by Android Git Automerger
Browse files

am 209c7b0f: charger: allow devices to skip the initial display blank

* commit '209c7b0f':
  charger: allow devices to skip the initial display blank
parents f1bb0a95 209c7b0f
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -8,6 +8,10 @@ include $(CLEAR_VARS)
LOCAL_SRC_FILES := \
	charger.c

ifeq ($(strip $(BOARD_CHARGER_DISABLE_INIT_BLANK)),true)
LOCAL_CFLAGS := -DCHARGER_DISABLE_INIT_BLANK
endif

LOCAL_MODULE := charger
LOCAL_MODULE_TAGS := optional
LOCAL_FORCE_STATIC_EXECUTABLE := true
+2 −0
Original line number Diff line number Diff line
@@ -975,7 +975,9 @@ int main(int argc, char **argv)

    ev_sync_key_state(set_key_callback, charger);

#ifndef CHARGER_DISABLE_INIT_BLANK
    gr_fb_blank(true);
#endif

    charger->next_screen_transition = now - 1;
    charger->next_key_check = -1;