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

Commit 7340afce authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "SF: fix SurfaceFlinger freeze"

parents 44da2976 6a3e6717
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -441,6 +441,7 @@ void BufferQueueLayer::onFrameAvailable(const BufferItem& item) {
            status_t result = mQueueItemCondition.waitRelative(mQueueItemLock, ms2ns(500));
            if (result != NO_ERROR) {
                ALOGE("[%s] Timed out waiting on callback", getDebugName());
                break;
            }
        }

@@ -469,6 +470,7 @@ void BufferQueueLayer::onFrameReplaced(const BufferItem& item) {
            status_t result = mQueueItemCondition.waitRelative(mQueueItemLock, ms2ns(500));
            if (result != NO_ERROR) {
                ALOGE("[%s] Timed out waiting on callback", getDebugName());
                break;
            }
        }