summaryrefslogtreecommitdiffstats
path: root/minui/graphics.cpp
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2022-08-26 08:08:51 +0200
committerGerrit Code Review <noreply-gerritcodereview@google.com>2022-08-26 08:08:51 +0200
commitece44b945bb1f42309d8cd36e3c4ed79428940c3 (patch)
tree408cf3a478942d8a723393109402ba6549fcfc54 /minui/graphics.cpp
parentMerge "Make recovery/fastbootd USB VID/PID configurable." (diff)
parentminui: Add API to support multiple connectors detection (diff)
downloadandroid_bootable_recovery-ece44b945bb1f42309d8cd36e3c4ed79428940c3.tar
android_bootable_recovery-ece44b945bb1f42309d8cd36e3c4ed79428940c3.tar.gz
android_bootable_recovery-ece44b945bb1f42309d8cd36e3c4ed79428940c3.tar.bz2
android_bootable_recovery-ece44b945bb1f42309d8cd36e3c4ed79428940c3.tar.lz
android_bootable_recovery-ece44b945bb1f42309d8cd36e3c4ed79428940c3.tar.xz
android_bootable_recovery-ece44b945bb1f42309d8cd36e3c4ed79428940c3.tar.zst
android_bootable_recovery-ece44b945bb1f42309d8cd36e3c4ed79428940c3.zip
Diffstat (limited to 'minui/graphics.cpp')
-rw-r--r--minui/graphics.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/minui/graphics.cpp b/minui/graphics.cpp
index b24c2b114..41a366112 100644
--- a/minui/graphics.cpp
+++ b/minui/graphics.cpp
@@ -502,3 +502,7 @@ void gr_fb_blank(bool blank, int index) {
void gr_rotate(GRRotation rot) {
rotation = rot;
}
+
+bool gr_has_multiple_connectors() {
+ return gr_backend->HasMultipleConnectors();
+}