Loading libs/gui/SurfaceTexture.cpp +3 −2 Original line number Original line Diff line number Diff line Loading @@ -646,8 +646,9 @@ status_t SurfaceTexture::disconnect(int api) { Mutex::Autolock lock(mMutex); Mutex::Autolock lock(mMutex); if (mAbandoned) { if (mAbandoned) { ST_LOGE("disconnect: SurfaceTexture has been abandoned!"); // it is not really an error to disconnect after the surface return NO_INIT; // has been abandoned, it should just be a no-op. return NO_ERROR; } } int err = NO_ERROR; int err = NO_ERROR; Loading Loading
libs/gui/SurfaceTexture.cpp +3 −2 Original line number Original line Diff line number Diff line Loading @@ -646,8 +646,9 @@ status_t SurfaceTexture::disconnect(int api) { Mutex::Autolock lock(mMutex); Mutex::Autolock lock(mMutex); if (mAbandoned) { if (mAbandoned) { ST_LOGE("disconnect: SurfaceTexture has been abandoned!"); // it is not really an error to disconnect after the surface return NO_INIT; // has been abandoned, it should just be a no-op. return NO_ERROR; } } int err = NO_ERROR; int err = NO_ERROR; Loading