commit | e43c5033cb5b82d9e46ee398524a8972dc87b896 | [log] [tgz] |
---|---|---|
author | Weizhung Ding <weizhungding@google.com> | Tue Jul 19 16:34:43 2022 +0800 |
committer | Fred Chiou <fredchiou@google.com> | Wed Aug 31 08:36:07 2022 +0000 |
tree | 2616683e7cd0fe88bf44f6f1d51ed4eb9b5f1da8 | |
parent | efa2100268a507ccc799aed2312d36b8c17bb6cb [diff] [blame] |
minui: Add API to support multiple connectors detection Add API to support multiple connectors detection Bug: 227468133 Test: check log in recovery mode Change-Id: I18c5e0f373a29b153aab038bd289eed18847f2af Merged-In: I18c5e0f373a29b153aab038bd289eed18847f2af
diff --git a/minui/graphics.cpp b/minui/graphics.cpp index b24c2b1..41a3661 100644 --- a/minui/graphics.cpp +++ b/minui/graphics.cpp
@@ -502,3 +502,7 @@ void gr_rotate(GRRotation rot) { rotation = rot; } + +bool gr_has_multiple_connectors() { + return gr_backend->HasMultipleConnectors(); +}