Skip to content

Commit c6b22e2

Browse files
author
Russell Brenner
committed
Updated JBQ's original SurfaceTexture stubs to make webkit MR1 buildable
Change-Id: If1c1610efcc0e0bc6de88c75712baed91624b1a7
1 parent 49b49f8 commit c6b22e2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

include/gui/SurfaceTexture.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@ struct SurfaceTexture {
3030
void setFrameAvailableListener(const sp<FrameAvailableListener>&) {}
3131
};
3232

33+
static sp<SurfaceTexture> SurfaceTexture_getSurfaceTexture(JNIEnv* env, jobject thiz)
34+
{
35+
sp<SurfaceTexture> s;
36+
return s;
37+
}
38+
3339
}
3440

3541
#endif

0 commit comments

Comments
 (0)