Allow all displays to present in GuestComposer
Crosvm and Cuttlefish's WebRTC UI can now support multiple
displays.
Bug: b/171305898
Test: launch Cuttlefish w/ multiple displays
Change-Id: Iefa0d46fb800d5bc7576720fee381e73dafad72e
diff --git a/system/hwc2/GuestComposer.cpp b/system/hwc2/GuestComposer.cpp
index b00d5be..287a2bf 100644
--- a/system/hwc2/GuestComposer.cpp
+++ b/system/hwc2/GuestComposer.cpp
@@ -689,11 +689,6 @@
const auto displayId = display->getId();
DEBUG_LOG("%s display:%" PRIu64, __FUNCTION__, displayId);
- if (displayId != 0) {
- // TODO(b/171305898): remove after multi-display fully supported.
- return HWC2::Error::None;
- }
-
if (mPresentDisabled) {
return HWC2::Error::None;
}