summaryrefslogtreecommitdiffstats
path: root/minui/graphics_fbdev.cpp
diff options
context:
space:
mode:
authorTim Zimmermann <tim@linux4.de>2022-09-03 12:06:48 +0200
committerTim Zimmermann <tim@linux4.de>2022-09-03 12:10:33 +0200
commit997277d694739a8c8832dc4d040626d988263913 (patch)
tree425f3c7e28aeab26c9fa8b8a1312a9ebf6aaef1b /minui/graphics_fbdev.cpp
parentMerge "Make libbootloader_message available in recovery" (diff)
downloadandroid_bootable_recovery-997277d694739a8c8832dc4d040626d988263913.tar
android_bootable_recovery-997277d694739a8c8832dc4d040626d988263913.tar.gz
android_bootable_recovery-997277d694739a8c8832dc4d040626d988263913.tar.bz2
android_bootable_recovery-997277d694739a8c8832dc4d040626d988263913.tar.lz
android_bootable_recovery-997277d694739a8c8832dc4d040626d988263913.tar.xz
android_bootable_recovery-997277d694739a8c8832dc4d040626d988263913.tar.zst
android_bootable_recovery-997277d694739a8c8832dc4d040626d988263913.zip
Diffstat (limited to 'minui/graphics_fbdev.cpp')
-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() {