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:
commit
942f55b63e
@ -910,6 +910,7 @@ void SurfaceTexture::abandon() {
|
||||
Mutex::Autolock lock(mMutex);
|
||||
freeAllBuffers();
|
||||
mAbandoned = true;
|
||||
mCurrentTextureBuf.clear();
|
||||
mDequeueCondition.signal();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user