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

Commit 296c5ef2 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

am: 6769f25c

Change-Id: I13931cd14fead1141acbea5cef8deb61a6c9119e
parents 57e1e73b 6769f25c
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -145,7 +145,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;
    }