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

Commit 6769f25c 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: Ia32a0b1177a5e7160680e1d4c9c40ff23075c431
parents de7087b5 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;
    }