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
diff --git a/core/jni/android_view_Surface.cpp b/core/jni/android_view_Surface.cpp
index bba4b47..18bcea1 100644
--- a/core/jni/android_view_Surface.cpp
+++ b/core/jni/android_view_Surface.cpp
@@ -572,7 +572,7 @@
}
static jobject Surface_screenshot(JNIEnv* env, jobject clazz, jint width, jint height,
- jint minLayer, jint maxLayer, bool allLayers)
+ jint minLayer, jint maxLayer)
{
return doScreenshot(env, clazz, width, height, minLayer, maxLayer, false);
}