summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2022-09-13 08:59:34 +0200
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2022-09-13 08:59:34 +0200
commit71a1763a226463db73d43c3ec12d1824476c55fa (patch)
treeb872510d0efa8945b891c196207646952b1de681
parentMerge "Remove py2 usages" am: a773d405d1 (diff)
parentMerge "minui: Support main fbdev connector in multi connector Blank function" (diff)
downloadandroid_bootable_recovery-71a1763a226463db73d43c3ec12d1824476c55fa.tar
android_bootable_recovery-71a1763a226463db73d43c3ec12d1824476c55fa.tar.gz
android_bootable_recovery-71a1763a226463db73d43c3ec12d1824476c55fa.tar.bz2
android_bootable_recovery-71a1763a226463db73d43c3ec12d1824476c55fa.tar.lz
android_bootable_recovery-71a1763a226463db73d43c3ec12d1824476c55fa.tar.xz
android_bootable_recovery-71a1763a226463db73d43c3ec12d1824476c55fa.tar.zst
android_bootable_recovery-71a1763a226463db73d43c3ec12d1824476c55fa.zip
-rw-r--r--minui/graphics_fbdev.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/minui/graphics_fbdev.cpp b/minui/graphics_fbdev.cpp
index 4a7d3252b..2711af74c 100644
--- a/minui/graphics_fbdev.cpp
+++ b/minui/graphics_fbdev.cpp
@@ -44,7 +44,11 @@ void MinuiBackendFbdev::Blank(bool blank) {
}
void MinuiBackendFbdev::Blank(bool blank, DrmConnector index) {
- fprintf(stderr, "Unsupported multiple connectors, blank = %d, index = %d\n", blank, index);
+ if (index == DRM_MAIN) {
+ MinuiBackendFbdev::Blank(blank);
+ } else {
+ fprintf(stderr, "Unsupported multiple connectors, blank = %d, index = %d\n", blank, index);
+ }
}
bool MinuiBackendFbdev::HasMultipleConnectors() {