Skip to content

Commit 8835f29

Browse files
author
Bhanu Chetlapalli
committed
Fix incorrect prototype for JNI call
This issue caused every Application launch to crash when using portable JIT Signed-Off-By: Bhanu Chetlapalli <bhanu@mips.com> Change-Id: Id7cfdeb4fc00ba4b1ca6fa24bc01c8f3432857ff
1 parent 9781870 commit 8835f29

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
@@ -572,7 +572,7 @@ static jobject Surface_screenshotAll(JNIEnv* env, jobject clazz, jint width, jin
572572
}
573573

574574
static jobject Surface_screenshot(JNIEnv* env, jobject clazz, jint width, jint height,
575-
jint minLayer, jint maxLayer, bool allLayers)
575+
jint minLayer, jint maxLayer)
576576
{
577577
return doScreenshot(env, clazz, width, height, minLayer, maxLayer, false);
578578
}

0 commit comments

Comments
 (0)