Merge changes I689cb0c0,I09603218

* changes:
  Add a 'release' method to the SurfaceTexture public Java API
  Mark Window-Manager-specific APIs on android.view.Surface as @hide
This commit is contained in:
Mathias Agopian 2011-08-03 18:12:36 -07:00 committed by Android (Google) Code Review
commit 942f55b63e

View File

@ -910,6 +910,7 @@ void SurfaceTexture::abandon() {
Mutex::Autolock lock(mMutex); Mutex::Autolock lock(mMutex);
freeAllBuffers(); freeAllBuffers();
mAbandoned = true; mAbandoned = true;
mCurrentTextureBuf.clear();
mDequeueCondition.signal(); mDequeueCondition.signal();
} }