SurfaceTextureClient: remove a deprecated ctor

Change-Id: Ibf2746fdca26851677cd90199c60eab80f6d0c73
This commit is contained in:
Jamie Gennis 2012-12-11 17:53:36 -08:00
parent 3325fe16e6
commit 4def860030
2 changed files with 0 additions and 14 deletions

View File

@ -41,12 +41,6 @@ public:
SurfaceTextureClient(const sp<ISurfaceTexture>& surfaceTexture); SurfaceTextureClient(const sp<ISurfaceTexture>& surfaceTexture);
// SurfaceTextureClient is overloaded to assist in refactoring ST and BQ.
// SurfaceTexture is no longer an ISurfaceTexture, so client code
// calling the original constructor will fail. Thus this convenience method
// passes in the surfaceTexture's bufferQueue to the init method.
SurfaceTextureClient(const sp<SurfaceTexture>& surfaceTexture);
sp<ISurfaceTexture> getISurfaceTexture() const; sp<ISurfaceTexture> getISurfaceTexture() const;
protected: protected:

View File

@ -41,14 +41,6 @@ SurfaceTextureClient::SurfaceTextureClient(
SurfaceTextureClient::setISurfaceTexture(surfaceTexture); SurfaceTextureClient::setISurfaceTexture(surfaceTexture);
} }
// see SurfaceTextureClient.h
SurfaceTextureClient::SurfaceTextureClient(const
sp<SurfaceTexture>& surfaceTexture)
{
SurfaceTextureClient::init();
SurfaceTextureClient::setISurfaceTexture(surfaceTexture->getBufferQueue());
}
SurfaceTextureClient::SurfaceTextureClient() { SurfaceTextureClient::SurfaceTextureClient() {
SurfaceTextureClient::init(); SurfaceTextureClient::init();
} }