summaryrefslogtreecommitdiff
path: root/test/CameraHal/camera_test_surfacetexture.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/CameraHal/camera_test_surfacetexture.h')
-rw-r--r--test/CameraHal/camera_test_surfacetexture.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CameraHal/camera_test_surfacetexture.h b/test/CameraHal/camera_test_surfacetexture.h
index bc51454..dbf6e31 100644
--- a/test/CameraHal/camera_test_surfacetexture.h
+++ b/test/CameraHal/camera_test_surfacetexture.h
@@ -103,7 +103,7 @@ public:
protected:
sp<GLConsumer> mST;
- sp<SurfaceTextureClient> mSTC;
+ sp<Surface> mSTC;
sp<ANativeWindow> mANW;
int mTexId;
};
@@ -206,7 +206,7 @@ public:
surface_texture = mSurfaceTexture->getST();
surface_texture->setSynchronousMode(true);
- mWindowTapIn = new SurfaceTextureClient(surface_texture);
+ mWindowTapIn = new Surface(surface_texture);
#ifndef ANDROID_API_JB_OR_LATER
mCamera->setBufferSource(mSurfaceTexture->getST(), NULL);
#else