Loading libs/gui/Surface.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -2735,7 +2735,7 @@ status_t Surface::unlockAndPost() bool Surface::waitForNextFrame(uint64_t lastFrame, nsecs_t timeout) { Mutex::Autolock lock(mMutex); if (mNextFrameNumber > lastFrame) { if (mLastFrameNumber > lastFrame) { return true; } return mQueueBufferCondition.waitRelative(mMutex, timeout) == OK; Loading Loading
libs/gui/Surface.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -2735,7 +2735,7 @@ status_t Surface::unlockAndPost() bool Surface::waitForNextFrame(uint64_t lastFrame, nsecs_t timeout) { Mutex::Autolock lock(mMutex); if (mNextFrameNumber > lastFrame) { if (mLastFrameNumber > lastFrame) { return true; } return mQueueBufferCondition.waitRelative(mMutex, timeout) == OK; Loading