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

Commit c1cf458c authored by Leon Scroggins III's avatar Leon Scroggins III
Browse files

Remove references to MULTI_THREADED_PRESENT

We never take advantage of this, so remove it until we do.

Bug: 274954820
Test: bouncy ball on DCD
Change-Id: I5dc03b2a7b48f16a326eab6676ae2114d9f70c01
parent 3b8613e5
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -1547,6 +1547,8 @@ 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);
@@ -1556,6 +1558,10 @@ 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) {