summaryrefslogtreecommitdiffstats
path: root/core/jni/android
diff options
context:
space:
mode:
authorJamie Gennis <jgennis@google.com>2012-12-11 17:00:29 -0800
committerJamie Gennis <jgennis@google.com>2012-12-11 17:02:31 -0800
commit82bb813f112d9565faa990e32dbe833f96461892 (patch)
tree9defa364354f0d9135a8b0b9b2b1b18f0c645afe /core/jni/android
parentbbb970386026ec16b3cff1be280d0b9160cacad4 (diff)
downloadframeworks_base-82bb813f112d9565faa990e32dbe833f96461892.zip
frameworks_base-82bb813f112d9565faa990e32dbe833f96461892.tar.gz
frameworks_base-82bb813f112d9565faa990e32dbe833f96461892.tar.bz2
stop using a deprecated SurfaceTextureClient ctor
Change-Id: Ie6196ba4896c0ab37b9aed3d1a4ffd04c99c5f80
Diffstat (limited to 'core/jni/android')
-rw-r--r--core/jni/android/graphics/SurfaceTexture.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/jni/android/graphics/SurfaceTexture.cpp b/core/jni/android/graphics/SurfaceTexture.cpp
index 842c557..3315045 100644
--- a/core/jni/android/graphics/SurfaceTexture.cpp
+++ b/core/jni/android/graphics/SurfaceTexture.cpp
@@ -87,7 +87,7 @@ sp<ANativeWindow> android_SurfaceTexture_getNativeWindow(
{
sp<SurfaceTexture> surfaceTexture(SurfaceTexture_getSurfaceTexture(env, thiz));
sp<SurfaceTextureClient> surfaceTextureClient(surfaceTexture != NULL ?
- new SurfaceTextureClient(surfaceTexture) : NULL);
+ new SurfaceTextureClient(surfaceTexture->getBufferQueue()) : NULL);
return surfaceTextureClient;
}