From f4dfa1adbbb1f18e4cbb58635b5bca91a2a7fe16 Mon Sep 17 00:00:00 2001 From: Weizhung Ding Date: Mon, 27 Sep 2021 11:30:26 +0800 Subject: minui: Add support for multiple connectors Add support for multiple connectors. Bug: 194732653 Test: charging animation can be displayed on different connectors Change-Id: If9b9eac25ce6e4c582aeb7c52e94ca266f623438 --- minui/graphics.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'minui/graphics.cpp') diff --git a/minui/graphics.cpp b/minui/graphics.cpp index f25694ab5..597f2ceaf 100644 --- a/minui/graphics.cpp +++ b/minui/graphics.cpp @@ -450,6 +450,10 @@ void gr_fb_blank(bool blank) { gr_backend->Blank(blank); } +void gr_fb_blank(bool blank, int index) { + gr_backend->Blank(blank, static_cast(index)); +} + void gr_rotate(GRRotation rot) { rotation = rot; } -- cgit v1.2.3