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

Commit 6e1e6fd6 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Increase dequeueBuffer timeout"

parents 43425b6f fa06f3ba
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -148,7 +148,8 @@ void CanvasContext::setSurface(sp<Surface>&& surface) {

    if (surface) {
        mNativeSurface = new ReliableSurface{std::move(surface)};
        mNativeSurface->setDequeueTimeout(500_ms);
        // TODO: Fix error handling & re-shorten timeout
        mNativeSurface->setDequeueTimeout(4000_ms);
    } else {
        mNativeSurface = nullptr;
    }