summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2022-09-13 11:11:29 +0200
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2022-09-13 11:11:29 +0200
commitb9754fd79fb4d71ba937f3ed26fe484b25957b55 (patch)
tree1fcd099b300c924c35b89b64046cac2d436b5093
parentMerge "Remove py2 usages" am: a773d405d1 am: a0ef72ec5f am: cf6787a035 (diff)
parentMerge "minui: Support main fbdev connector in multi connector Blank function" am: 3f125fa897 am: 71a1763a22 (diff)
downloadandroid_bootable_recovery-b9754fd79fb4d71ba937f3ed26fe484b25957b55.tar
android_bootable_recovery-b9754fd79fb4d71ba937f3ed26fe484b25957b55.tar.gz
android_bootable_recovery-b9754fd79fb4d71ba937f3ed26fe484b25957b55.tar.bz2
android_bootable_recovery-b9754fd79fb4d71ba937f3ed26fe484b25957b55.tar.lz
android_bootable_recovery-b9754fd79fb4d71ba937f3ed26fe484b25957b55.tar.xz
android_bootable_recovery-b9754fd79fb4d71ba937f3ed26fe484b25957b55.tar.zst
android_bootable_recovery-b9754fd79fb4d71ba937f3ed26fe484b25957b55.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() {