am d91ac98a: fix [2785833] valgrind error in android::Layer::requestBuffer

Merge commit 'd91ac98a8ead216b12af6df61d90229b74c7f0f6' into gingerbread-plus-aosp

* commit 'd91ac98a8ead216b12af6df61d90229b74c7f0f6':
  fix [2785833] valgrind error in android::Layer::requestBuffer
This commit is contained in:
Mathias Agopian
2010-06-21 15:24:02 -07:00
committed by Android Git Automerger

View File

@@ -160,6 +160,7 @@ status_t Layer::setBuffers( uint32_t w, uint32_t h,
const uint32_t hwFlags = hw.getFlags();
mFormat = format;
mReqFormat = format;
mWidth = w;
mHeight = h;
mSecure = (flags & ISurfaceComposer::eSecure) ? true : false;