From 3fcee50ffaeb745819356e395408b4d7e3239c13 Mon Sep 17 00:00:00 2001 From: Daniel Lam Date: Fri, 2 Mar 2012 10:17:34 -0800 Subject: [PATCH] BufferQueue: fixed acquire operation Bug: 6082872 Change-Id: I897dc61eb84fed953e51f97871cd3ae6321505d4 --- libs/gui/BufferQueue.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/gui/BufferQueue.cpp b/libs/gui/BufferQueue.cpp index d76168023..f0641e08b 100644 --- a/libs/gui/BufferQueue.cpp +++ b/libs/gui/BufferQueue.cpp @@ -828,6 +828,7 @@ status_t BufferQueue::acquire(BufferItem *buffer) { buffer->mTransform = mSlots[buf].mTransform; buffer->mScalingMode = mSlots[buf].mScalingMode; buffer->mFrameNumber = mSlots[buf].mFrameNumber; + buffer->mTimestamp = mSlots[buf].mTimestamp; buffer->mBuf = buf; mSlots[buf].mAcquireCalled = true;