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

Commit b8479e67 authored by John Reck's avatar John Reck Committed by android-build-merger
Browse files

Merge "Increase dequeueBuffer timeout" into qt-r1-dev

am: 5ab5cd7a

Change-Id: I8091875c25fb813b1b9382386710167dacf495d6
parents 1868eb08 5ab5cd7a
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;
    }