Merge "minui: Support main fbdev connector in multi connector Blank function" am: 3f125fa897 am: 71a1763a22

Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/2205736

Change-Id: I1494af60d2db6b3d811a5f2bc59bdb5ea1169629
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Treehugger Robot 2022-09-13 07:59:40 +00:00 committed by Automerger Merge Worker
commit 581fd1501b

View file

@ -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() {