Merge "Fix a SurfaceFlinger bug."

This commit is contained in:
Jamie Gennis
2010-09-17 14:07:13 -07:00
committed by Android (Google) Code Review

View File

@@ -380,6 +380,7 @@ sp<GraphicBuffer> Layer::requestBuffer(int index,
mReqWidth = reqWidth;
mReqHeight = reqHeight;
mReqFormat = reqFormat;
mFixedSize = reqWidth && reqHeight;
lcblk->reallocateAllExcept(index);
}