Updated JBQ's original SurfaceTexture stubs to make webkit MR1 buildable
Change-Id: If1c1610efcc0e0bc6de88c75712baed91624b1a7
diff --git a/include/gui/SurfaceTexture.h b/include/gui/SurfaceTexture.h
index 54ce789..255afdd 100644
--- a/include/gui/SurfaceTexture.h
+++ b/include/gui/SurfaceTexture.h
@@ -30,6 +30,12 @@
void setFrameAvailableListener(const sp<FrameAvailableListener>&) {}
};
+static sp<SurfaceTexture> SurfaceTexture_getSurfaceTexture(JNIEnv* env, jobject thiz)
+{
+ sp<SurfaceTexture> s;
+ return s;
+}
+
}
#endif