Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 942f55b6 authored by Mathias Agopian's avatar Mathias Agopian Committed by Android (Google) Code Review
Browse files

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
parents e02532bb 97a9884e
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -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();
}
}