Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8835f292 authored by Bhanu Chetlapalli's avatar Bhanu Chetlapalli
Browse files

Fix incorrect prototype for JNI call



This issue caused every Application launch to crash when using
portable JIT

Signed-Off-By: default avatarBhanu Chetlapalli <bhanu@mips.com>

Change-Id: Id7cfdeb4fc00ba4b1ca6fa24bc01c8f3432857ff
parent 97818704
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);
}