added stub for getting buffer from surface texture
Change-Id: If61153cacdd8027848f40f8d9035f7c4aead0a98
diff --git a/include/gui/SurfaceTexture.h b/include/gui/SurfaceTexture.h
index ec62b96..140fbed 100644
--- a/include/gui/SurfaceTexture.h
+++ b/include/gui/SurfaceTexture.h
@@ -31,6 +31,7 @@
void setSynchronousMode(bool) {}
GLenum getCurrentTextureTarget() const { return 0; }
void setBufferCount(int bufferCount) {}
+ sp<GraphicBuffer> getCurrentBuffer() const { return NULL; }
};
static sp<SurfaceTexture> SurfaceTexture_getSurfaceTexture(JNIEnv* env, jobject thiz)