summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorBhanu Chetlapalli <bhanu@mips.com>2012-01-31 12:44:04 -0800
committerBhanu Chetlapalli <bhanu@mips.com>2012-01-31 12:44:04 -0800
commit8835f2928e56622955a05ec9f8aee043828575ca (patch)
treeffe020f30f8473d2cb80f884f7da1694ed55425f /core
parent9781870491f4f33403f8d518879a88c20180d7cb (diff)
downloadframeworks_base-8835f2928e56622955a05ec9f8aee043828575ca.zip
frameworks_base-8835f2928e56622955a05ec9f8aee043828575ca.tar.gz
frameworks_base-8835f2928e56622955a05ec9f8aee043828575ca.tar.bz2
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
Diffstat (limited to 'core')
-rw-r--r--core/jni/android_view_Surface.cpp2
1 files changed, 1 insertions, 1 deletions
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);
}