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

Commit 594b9644 authored by Android Build Coastguard Worker's avatar Android Build Coastguard Worker
Browse files

Snap for 9459725 from bae7e457 to tm-qpr2-release

Change-Id: I1bdc0d7f930db1c339931355408215a68929b26e
parents 346a2e69 bae7e457
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -432,6 +432,10 @@ private:
        if (fence) {
            static constexpr int kFenceWaitTimeMs = 10;

            if (bufferNeedsReallocation) {
                mBuffers[slot].clear();
            }

            status_t status = fence->wait(kFenceWaitTimeMs);
            if (status == -ETIME) {
                // fence is not signalled yet.