Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b345a2c1 authored by Joen Chen's avatar Joen Chen Committed by Leon Scroggins III
Browse files

Revert "Remove references to MULTI_THREADED_PRESENT"

Revert I5dc03b2a7b48f16a326eab6676ae2114d9f70c01 to restore checks for
multithreaded present support.

Bug: 259132483
Bug: 284156408
Test: make, boot
Change-Id: I28169352933dcc76ab9778a5a14a191867ea42f7
parent 6ec52260
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -1575,8 +1575,6 @@ void AidlComposer::onHotplugDisconnect(Display display) {
}

bool AidlComposer::hasMultiThreadedPresentSupport(Display display) {
#if 0
    // TODO (b/259132483): Reenable
    const auto displayId = translate<int64_t>(display);
    std::vector<AidlDisplayCapability> capabilities;
    const auto status = mAidlComposerClient->getDisplayCapabilities(displayId, &capabilities);
@@ -1586,10 +1584,6 @@ bool AidlComposer::hasMultiThreadedPresentSupport(Display display) {
    }
    return std::find(capabilities.begin(), capabilities.end(),
                     AidlDisplayCapability::MULTI_THREADED_PRESENT) != capabilities.end();
#else
    (void) display;
    return false;
#endif
}

void AidlComposer::addReader(Display display) {