From 8835f2928e56622955a05ec9f8aee043828575ca Mon Sep 17 00:00:00 2001 From: Bhanu Chetlapalli Date: Tue, 31 Jan 2012 12:44:04 -0800 Subject: Fix incorrect prototype for JNI call This issue caused every Application launch to crash when using portable JIT Signed-Off-By: Bhanu Chetlapalli Change-Id: Id7cfdeb4fc00ba4b1ca6fa24bc01c8f3432857ff --- core/jni/android_view_Surface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core') 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_screenshotAll(JNIEnv* env, jobject clazz, jint width, jin } 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); } -- cgit v1.1