Skip to content

Commit 1645ee2

Browse files
psanketiAndroid (Google) Code Review
authored andcommitted
Merge "Making the setSurface non-static"
2 parents c37ef79 + 497db8b commit 1645ee2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/jni/android_view_Surface.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ sp<Surface> Surface_getSurface(JNIEnv* env, jobject clazz) {
198198
return surface;
199199
}
200200

201-
static void setSurface(JNIEnv* env, jobject clazz, const sp<Surface>& surface)
201+
void setSurface(JNIEnv* env, jobject clazz, const sp<Surface>& surface)
202202
{
203203
Surface* const p = (Surface*)env->GetIntField(clazz, so.surface);
204204
if (surface.get()) {

0 commit comments

Comments
 (0)